-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from dirsigler/dev
Add proper Chart linting and installing
- Loading branch information
Showing
3 changed files
with
14 additions
and
4 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,7 @@ | ||
# See https://github.com/helm/chart-testing#configuration | ||
remote: origin | ||
chart-dirs: | ||
- charts | ||
chart-repos: | ||
- uptime-kuma=https://dirsigler.github.io/uptime-kuma-helm | ||
debug: true |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
name: Lint and Test Charts | ||
|
||
on: pull_request | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
|
||
jobs: | ||
lint-test: | ||
|
@@ -32,11 +35,11 @@ jobs: | |
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint --target-branch main | ||
run: ct lint --config .github/ct.yaml --target-branch main | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
if: steps.list-changed.outputs.changed == 'true' | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --target-branch main | ||
run: ct install --config .github/ct.yaml --target-branch main |
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