diff --git a/.github/workflows/helm-test.yml b/.github/workflows/helm-test.yml index 6b196f90..4708c355 100644 --- a/.github/workflows/helm-test.yml +++ b/.github/workflows/helm-test.yml @@ -29,6 +29,11 @@ on: default: 'kindest/node:v1.24.6' required: false type: string + upgrade_from: + description: 'chart version to upgrade from' + default: '0.1.32' + required: false + type: string jobs: lint-test: @@ -68,3 +73,12 @@ jobs: - name: Run chart-testing (install) run: ct install --charts charts/semantic-hub --config charts/chart-testing-config.yaml if: 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 semantic-hub tractusx-dev/semantic-hub --version ${{ github.event.inputs.upgrade_from || '0.1.32' }} + helm dependency update charts/semantic-hub + helm upgrade semantic-hub charts/semantic-hub + if: steps.list-changed.outputs.changed == 'true' diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bb4d2f7..82a0a338 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 0.2.15 ### Added +- Added helm upgrade feature into helm test ### Fixed - Handled UrnSyntaxException.