1313 options : --user 1001
1414 steps :
1515 - name : Checkout
16- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
16+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717 - name : Run ah lint
1818 working-directory : ./charts
1919 run : ah lint
2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : Checkout
25- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
25+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626 with :
2727 fetch-depth : 0
2828
3232 version : v3.10.1 # Also update in publish.yaml
3333
3434 - name : Set up python
35- uses : actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
35+ uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
3636 with :
3737 python-version : 3.9
3838
4141 uses : helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
4242 with :
4343 # Note: Also update in scripts/lint.sh
44- version : v3.10 .0
44+ version : v3.11 .0
4545
4646 - name : List changed charts
4747 id : list-changed
7272 if : steps.list-changed.outputs.changed == 'true'
7373 with :
7474 config : .github/configs/kind-config.yaml
75+ - name : Deploy latest ArgoCD CRDs when testing ArgoCD extensions
76+ if : |
77+ contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') ||
78+ contains(steps.list-changed.outputs.changed_charts, 'argocd-apps')
79+ run : |
80+ helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
81+ helm dependency build charts/argo-cd/
82+ helm template charts/argo-cd/ --set server.extensions.enabled=true -s templates/crds/* | kubectl apply -f -
7583
7684 - name : Skip HPA tests of ArgoCD
7785 if : contains(steps.list-changed.outputs.changed_charts, 'argo-cd')
8694 helm install redis bitnami/redis --wait --namespace redis --set auth.password=argocd --set architecture=standalone
8795 - name : Run chart-testing (install)
8896 run : ct install --config ./.github/configs/ct-install.yaml --target-branch ${{ github.base_ref }}
89- if : steps.list-changed.outputs.changed == 'true'
97+ if : steps.list-changed.outputs.changed == 'true'
0 commit comments