Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.5.3...v3.6.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
76 lines
1.6 KiB
YAML
76 lines
1.6 KiB
YAML
name: Helm Chart CI
|
|
|
|
on:
|
|
pull_request:
|
|
types: [synchronize, opened, reopened]
|
|
paths-ignore:
|
|
- 'charts/**'
|
|
- '.github/workflows/helm-chart-ci.yaml'
|
|
- '.github/kind/conf/kind-config.yaml'
|
|
- '.github/tests/**/*.yaml'
|
|
- '.github/tests/**/*.sh'
|
|
- '.github/tests/**/*.json'
|
|
- 'examples/**/*.yaml'
|
|
- 'helm-docs.sh'
|
|
|
|
jobs:
|
|
lint-chart:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- run: 'echo "Skipping linter"'
|
|
|
|
checks:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- run: 'echo "Skipping checks"'
|
|
|
|
test:
|
|
runs-on: ubuntu-22.04
|
|
|
|
strategy:
|
|
matrix:
|
|
k8s:
|
|
- v1.27.2
|
|
- v1.26.4
|
|
- v1.25.9
|
|
|
|
steps:
|
|
- run: 'echo "Skipping tests"'
|
|
|
|
build-matrix:
|
|
name: Build matrix
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/[email protected]
|
|
|
|
- id: set-matrix
|
|
name: Collect all examples
|
|
run: |
|
|
examples="$(find examples -maxdepth 2 -type f -name run-tests.sh | xargs -I % dirname %)"
|
|
examples_json="$(echo "$examples" | jq -c --slurp --raw-input 'split("\n") | map(select(. != ""))')"
|
|
echo "${examples_json}"
|
|
echo "examples=$examples_json" >>"$GITHUB_OUTPUT"
|
|
|
|
outputs:
|
|
examples: ${{ steps.set-matrix.outputs.examples }}
|
|
|
|
example-test:
|
|
runs-on: ubuntu-22.04
|
|
|
|
needs:
|
|
- build-matrix
|
|
|
|
strategy:
|
|
matrix:
|
|
k8s:
|
|
- v1.27.2
|
|
- v1.26.4
|
|
- v1.25.9
|
|
example:
|
|
- ${{ fromJson(needs.build-matrix.outputs.examples) }}
|
|
|
|
steps:
|
|
- run: 'echo "Skipping example-test"'
|