Skip to content

Commit

Permalink
chore(ci/cd): unpin helm-unittest image and pull from dsbacr
Browse files Browse the repository at this point in the history
  • Loading branch information
Laffs2k5 committed Aug 29, 2024
1 parent f65a568 commit 53d8fc8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,16 @@ jobs:
- name: Run linting (helm)
run: helm lint charts/*

- name: Run Helm Unittests
# TODO: version is pinned to '3.14.3-0.4.4' workaround
# bug https://github.com/helm-unittest/helm-unittest/issues/329
# was fixed in 'v0.5.1' but docker image is missing ref. https://github.com/helm-unittest/helm-unittest/issues/348
run: docker run --rm --name unittest --volume "$(pwd)":/apps helmunittest/helm-unittest:3.14.3-0.4.4 charts/*

- name: log into azure container registry (ACR)
uses: azure/docker-login@v2
with:
login-server: dsbacr.azurecr.io
username: ${{ vars.ORG_AZURE_CONTAINER_REGISTRY_USER }}
password: ${{ secrets.ORG_AZURE_CONTAINER_REGISTRY_PASSWORD }}

- name: Run Helm Unittests
run: docker run --rm --name unittest --volume "$(pwd)":/apps dsbacr.azurecr.io/cache/docker-io/helmunittest/helm-unittest charts/*

- uses: actions/setup-python@v5
with:
python-version: "3.9"
Expand Down

0 comments on commit 53d8fc8

Please sign in to comment.