-
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.
* refactor: CI testing * chore: python version * test: chart test * chore: ready for review
- Loading branch information
1 parent
c0a7068
commit 421859c
Showing
3 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
- name: Install Helm | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.10.0 | ||
version: v3.12.1 | ||
|
||
- name: Testing add greptime helm repo | ||
run: | | ||
|
@@ -27,18 +27,29 @@ jobs: | |
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.7 | ||
python-version: '3.9' | ||
|
||
- name: Set up chart testing | ||
uses: helm/[email protected] | ||
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --chart-dirs charts --target-branch ${{ github.event.repository.default_branch }}) | ||
if [[ -n "$changed" ]]; then | ||
echo "changed=true" >> "$GITHUB_OUTPUT" | ||
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config .github/chart-test.yaml --validate-maintainers=false | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: ct lint --target-branch ${{ github.event.repository.default_branch }} | ||
|
||
- name: Create Kubernetes | ||
uses: helm/[email protected] | ||
- name: Create kind cluster | ||
if: steps.list-changed.outputs.changed == 'true' | ||
uses: helm/[email protected] | ||
with: | ||
wait: 120s | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --config .github/chart-test.yaml | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: ct install --chart-dirs charts --target-branch ${{ github.event.repository.default_branch }} |
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