Skip to content

bump upload-action@v3 to upload-action@v4 #63

bump upload-action@v3 to upload-action@v4

bump upload-action@v3 to upload-action@v4 #63

Workflow file for this run

name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.8.1
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
# yamllint (https://github.com/adrienverge/yamllint) which require Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.14
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
with:
version: v3.8.0
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml --chart-dirs . --charts .
- name: Create kind cluster
uses: helm/kind-action@v1.5.0
- name: Run chart-testing (install)
id: install
run: ct install --config ct.yaml --chart-dirs . --charts . --skip-clean-up
- name: install troubleshoot
run: curl -L https://github.com/replicatedhq/troubleshoot/releases/latest/download/support-bundle_linux_amd64.tar.gz | tar xzvf -
if: success() || failure()
- name: collect bundle
run: ./support-bundle --interactive=false -o ci-bundle https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/main/host/default.yaml https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/main/in-cluster/default.yaml
if: success() || failure()
- name: Upload support bundle artifact
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: support-bundle
path: 'ci-bundle.tar.gz'