Try k3d cluster

This commit is contained in:
Dmytro Bondar 2024-09-18 12:10:08 +02:00
parent a47a0e73d6
commit 69f072f513
No known key found for this signature in database
GPG Key ID: C123CD37BBED8BB7

View File

@ -24,6 +24,14 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Check docs
run: |
make helm-docs
if ! git diff --exit-code; then
echo "error::Documentation is not up to date. Please run helm-docs and commit changes."
exit 1
fi
# ct lint requires Python 3.x to run following packages: # ct lint requires Python 3.x to run following packages:
# - yamale (https://github.com/23andMe/Yamale) # - yamale (https://github.com/23andMe/Yamale)
# - yamllint (https://github.com/adrienverge/yamllint) # - yamllint (https://github.com/adrienverge/yamllint)
@ -36,18 +44,12 @@ jobs:
- name: Run chart-testing (lint) - name: Run chart-testing (lint)
run: ct lint --config ct.yaml run: ct lint --config ct.yaml
- name: Check docs - uses: nolar/setup-k3d-k3s@v1
run: | with:
make helm-docs github-token: ${{ secrets.GITHUB_TOKEN }}
if ! git diff --exit-code; then
echo "error::Documentation is not up to date. Please run helm-docs and commit changes."
exit 1
fi
- uses: helm/kind-action@v1
- name: Run chart-testing (install) - name: Run chart-testing (install)
run: ct install --config ct.yaml --skip-clean-up run: ct install --config ct.yaml
- name: Run helm package charts - name: Run helm package charts
run: | run: |