[ci] fix action #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Tests - Helm Upgrade | |
on: | |
push: | |
paths: | |
- .github/workflows/pr-tests-helm-upgrade.yml | |
- tox.ini | |
- packages/grid/helm/syft/** | |
pull_request: | |
branches: | |
- dev | |
paths: | |
- packages/grid/helm/syft/** | |
workflow_dispatch: | |
inputs: | |
none: | |
description: "Run helm upgrade" | |
required: false | |
jobs: | |
pr-tests-helm-upgrade: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
brew update | |
# Install python deps | |
pip install --upgrade pip | |
pip install tox | |
K3D_VERSION=5.6.0 | |
DEVSPACE_VERSION=6.3.11 | |
brew install helm k3d@$K3D_VERSION devspace@$DEVSPACE_VERSION | |
- name: Setup cluster | |
run: | | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
tox -e dev.k8s.start | |
- name: Upgrade helm chart | |
run: | | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
UPGRADE_TYPE=BetaToDev tox -e syft.test.helm.upgrade | |
- name: Destroy cluster | |
if: always() | |
run: | | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
tox -e dev.k8s.destroyall |