Skip to content

Commit

Permalink
Merge pull request #188 from bci-oss/feature/helm_upgrade
Browse files Browse the repository at this point in the history
feat:helm upgrade
  • Loading branch information
SebastianBezold authored Nov 21, 2023
2 parents fe5ba2f + c7adac7 commit 0b134aa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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'
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0b134aa

Please sign in to comment.