Skip to content

Commit

Permalink
chore(chart-testing): re-enable helm upgrade step
Browse files Browse the repository at this point in the history
was disabled due to major postgres upgrade in subchart
  • Loading branch information
evegufy committed Jan 16, 2024
1 parent a0ab677 commit 1ee2387
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/portal-chart-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ on:
type: string
upgrade_from:
description: 'portal chart version to upgrade from'
# portal version from 23.09 release
default: '1.6.0'
# portal version from 23.12 release
default: '1.7.0'
required: false
type: string

Expand Down Expand Up @@ -95,11 +95,11 @@ jobs:
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'

# Upgrade the released portal chart version with the locally available chart
# - name: Run helm upgrade
# run: |
# helm repo add bitnami https://charts.bitnami.com/bitnami
# helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
# helm install portal tractusx-dev/portal --version ${{ github.event.inputs.upgrade_from || '1.6.0' }} --namespace upgrade --create-namespace
# helm dependency update charts/portal
# helm upgrade portal charts/portal --namespace upgrade
# if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'
- name: Run helm upgrade
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install portal tractusx-dev/portal --version ${{ github.event.inputs.upgrade_from || '1.7.0' }} --namespace upgrade --create-namespace
helm dependency update charts/portal
helm upgrade portal charts/portal --namespace upgrade
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'

0 comments on commit 1ee2387

Please sign in to comment.