-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the first attempt at adding helm github actions. The primary goal is to focus first on tests, then in a later PR we can add releases. The following tests are run - checking for doc changes
- Loading branch information
Showing
2 changed files
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Helm Tests | ||
on: | ||
push: | ||
paths: | ||
- 'deploy/helm/**' | ||
pull_request: | ||
paths: | ||
- 'deploy/helm/**' | ||
# Allows you to run this workflow manually | ||
workflow_dispatch: | ||
jobs: | ||
check-for-doc-changes: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2 | ||
- name: Install make | ||
run: sudo apt-get update && sudo apt-get install -y make | ||
shell: bash | ||
- name: Regenerate Helm Docs | ||
run: | | ||
make helm > /dev/null # we don't actually need to output, just the results | ||
if ! git diff --exit-code; then | ||
echo "Helm docs are out of date. Please run 'make -C deploy/helm docs' and commit the changes." | ||
exit 1 | ||
fi | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters