-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tom Hayward <[email protected]> improve CI rules Signed-off-by: ShuzZzle <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
7 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 |
---|---|---|
|
@@ -2,9 +2,14 @@ name: Lint and Test Charts | |
|
||
on: | ||
push: | ||
branches: | ||
branches-ignore: | ||
- master | ||
- main | ||
pull_request: | ||
paths-ignore: | ||
- '*.md' | ||
- 'docs/**' | ||
- 'tools/**' | ||
|
||
jobs: | ||
lint-test: | ||
|
@@ -35,15 +40,10 @@ jobs: | |
- name: Run chart-testing (lint) | ||
run: ct lint --config ct.yaml | ||
|
||
- name: Updated README.md | ||
run: | | ||
make README.md | ||
git diff --exit-code -- README.md | ||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (install) | ||
run: | | ||
kubectl create namespace cortex | ||
ct install --config ct.yaml --namespace cortex | ||
ct install --config ct.yaml --namespace cortex |
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,30 @@ | ||
name: Generate README.md | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- main | ||
- master | ||
paths: | ||
- values.yaml | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Generate README.md | ||
run: | | ||
make README.md | ||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v7 | ||
with: | ||
add: README.md | ||
default_author: github_actions | ||
message: "[skip ci] generate README.md" | ||
signoff: true |