Skip to content

Commit

Permalink
chore(helm-test): update version to upgrade from (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy authored Jun 19, 2024
1 parent 79559ef commit 57601b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/chart-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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'

0 comments on commit 57601b2

Please sign in to comment.