-
Notifications
You must be signed in to change notification settings - Fork 5
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 #28 from chgl/add-ct-install-job
Add ct install job
- Loading branch information
Showing
6 changed files
with
49 additions
and
39 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 @@ | ||
chart-dirs: | ||
- charts | ||
chart-repos: | ||
- bitnami=https://charts.bitnami.com/bitnami | ||
- chgl=https://chgl.github.io/charts | ||
debug: true | ||
remote: origin |
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 |
---|---|---|
|
@@ -5,8 +5,38 @@ on: | |
branches: [master] | ||
|
||
jobs: | ||
ct-lint: | ||
pre-commit: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: pre-commit/[email protected] | ||
|
||
lint: | ||
needs: | ||
- pre-commit | ||
runs-on: ubuntu-20.04 | ||
container: quay.io/chgl/kube-powertools:latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check if documentation is up-to-date | ||
run: bash scripts/generate-docs.sh && git diff --exit-code HEAD | ||
- name: Update dependencies | ||
run: find charts/ ! -path charts/ -maxdepth 1 -type d -exec helm dependency update {} \; | ||
- name: Run YAML lint | ||
run: yamllint . | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config .github/ct/ct.yaml | ||
- name: Run Powerlint | ||
run: bash scripts/chart-powerlint.sh | ||
|
||
test: | ||
runs-on: ubuntu-20.04 | ||
needs: | ||
- lint | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -16,7 +46,7 @@ jobs: | |
- name: Set up Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
version: v3.5.2 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
|
@@ -33,22 +63,9 @@ jobs: | |
echo "::set-output name=changed::true" | ||
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config .github/ct/ct.yaml | ||
- name: Create k8s Kind Cluster | ||
uses: helm/[email protected] | ||
if: steps.list-changed.outputs.changed == 'true' | ||
|
||
power-lint: | ||
runs-on: ubuntu-20.04 | ||
container: quay.io/chgl/kube-powertools:latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check if documentation is up-to-date | ||
run: bash scripts/generate-docs.sh && git diff --exit-code HEAD | ||
- name: Update dependencies | ||
run: find charts/ ! -path charts/ -maxdepth 1 -type d -exec helm dependency update {} \; | ||
- name: Run YAML lint | ||
run: yamllint . | ||
- name: Run Powerlint | ||
run: bash scripts/chart-powerlint.sh | ||
- name: Run chart-testing (install) | ||
run: ct install --config .github/ct/install.yaml |
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
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
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