From 57601b271e300dcfe11bb4d8e997326ba7d25953 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Wed, 19 Jun 2024 14:53:07 +0200 Subject: [PATCH] chore(helm-test): update version to upgrade from (#155) --- .github/workflows/chart-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/chart-test.yml b/.github/workflows/chart-test.yml index d67e1e5..bc07a7d 100644 --- a/.github/workflows/chart-test.yml +++ b/.github/workflows/chart-test.yml @@ -37,8 +37,8 @@ on: type: string upgrade_from: description: 'policyhub chart version to upgrade from' - # tbd - default: '0.1.0' + # latest released version + default: '1.0.0' required: false type: string @@ -112,7 +112,7 @@ jobs: run: | helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev - helm install policy-hub tractusx-dev/policy-hub --version ${{ github.event.inputs.upgrade_from || '0.1.0' }} --namespace upgrade --create-namespace + helm install policy-hub tractusx-dev/policy-hub --version ${{ github.event.inputs.upgrade_from || '1.0.0' }} --namespace upgrade --create-namespace helm dependency update charts/policy-hub helm upgrade policy-hub charts/policy-hub --set service.image.name=kind-registry:5000/policy-hub-service --set service.image.tag=testing --set migrations.image.name=kind-registry:5000/policy-hub-migrations --set migrations.image.tag=testing --namespace upgrade if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'