Skip to content

Commit

Permalink
[ci] fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgorana committed Feb 26, 2024
1 parent 4ca1f6c commit ffd6235
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/pr-tests-helm-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,22 @@ jobs:
run: |
pip install --upgrade tox
- name: Upgrade helm on latest beta
K3D_VERSION=v5.6.0
wget https://github.com/k3d-io/k3d/releases/download/${K3D_VERSION}/k3d-linux-amd64
mv k3d-linux-amd64 k3d
chmod +x k3d
export PATH=`pwd`:$PATH
- name: Setup Cluster
run: |
tox -e dev.k8s.registry
tox -e dev.k8s.start
- name: Upgrade helm on latest beta
run: |
UPGRADE_TYPE=BetaToDev tox -e syft.test.helm.upgrade
- name: Upgrade helm on latest beta
if: always()
run: |
tox -e dev.k8s.destroy
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,9 @@ allowlist_externals =
bash
sudo
commands =
; check k3d version
bash -c 'k3d --version'

; create registry
bash -c 'k3d registry create registry.localhost --port 5800 -v $HOME/.k3d-registry:/var/lib/registry || true'

Expand Down

0 comments on commit ffd6235

Please sign in to comment.