-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use shared helm flows * include changes to workflow in triggers * update docs with latest helmdocs binary * bump chart for doc change * update docs for vesion bump...
Showing
8 changed files
with
18 additions
and
191 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,91 +1,14 @@ | ||
name: Lint and Test Charts | ||
name: Lint and Test Chart | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'charts/**' | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
lint-chart: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Helm | ||
uses: azure/[email protected] | ||
with: | ||
version: v3.7.1 | ||
- uses: actions/setup-python@b4fe97ecda6b7a5fcd2448cdbf6a8fc76b3bedb0 | ||
with: | ||
python-version: 3.7 | ||
- name: Install chart-testing | ||
uses: helm/chart-testing-action@09ed88797198755e5031f25be13da255e7e33aad | ||
with: | ||
version: v3.4.0 | ||
- name: Run lint | ||
run: ct lint --config .github/ct.yaml | ||
lint-docs: | ||
runs-on: ubuntu-latest | ||
needs: lint-chart | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
- name: Run helm-docs | ||
run: .github/helm-docs.sh | ||
kubeval-chart: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- lint-chart | ||
- lint-docs | ||
strategy: | ||
matrix: | ||
k8s: | ||
- v1.18.20 | ||
- v1.19.12 | ||
- v1.20.8 | ||
- v1.21.2 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
with: | ||
fetch-depth: 0 | ||
- name: Run kubeval | ||
env: | ||
KUBERNETES_VERSION: ${{ matrix.k8s }} | ||
run: .github/kubeval.sh | ||
install-chart: | ||
name: install-chart | ||
runs-on: ubuntu-latest | ||
needs: | ||
- lint-chart | ||
- lint-docs | ||
- kubeval-chart | ||
strategy: | ||
matrix: | ||
k8s: | ||
- v1.18.19 | ||
- v1.19.11 | ||
- v1.20.7 | ||
- v1.21.2 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Create kind ${{ matrix.k8s }} cluster | ||
uses: helm/kind-action@d08cf6ff1575077dee99962540d77ce91c62387d | ||
with: | ||
node_image: kindest/node:${{ matrix.k8s }} | ||
version: v0.11.1 | ||
- '.github/workflows/chart-qa.yml' | ||
|
||
- name: Install chart-testing | ||
uses: helm/chart-testing-action@09ed88797198755e5031f25be13da255e7e33aad | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Run chart install | ||
run: ct install --config .github/ct.yaml | ||
jobs: | ||
test: | ||
name: 'Helm' | ||
uses: curium-rocks/flows/.github/workflows/helm-qa.yml@main | ||
with: | ||
charts_dir: 'charts' |
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,4 +1,5 @@ | ||
name: Release Charts | ||
name: Release Chart | ||
|
||
on: | ||
push: | ||
branches: | ||
|
@@ -8,17 +9,7 @@ on: | |
- ".github/workflows/chart-release.yml" | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@main | ||
env: | ||
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | ||
with: | ||
charts_dir: charts | ||
name: 'Helm' | ||
uses: curium-rocks/flows/.github/workflows/helm-release.yml@main | ||
with: | ||
charts_dir: charts |
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