-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #380 from catenax-ng/chore/TRACEFOSS-1959-helm-upg…
…rade-workflow chore(trg):[TRACEFOSS-1959] added helm upgrade workflow
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Upgrade Charts | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'charts/traceability-foss/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
upgrade: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Kubernetes KinD Cluster | ||
uses: container-tools/kind-action@v2 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.9.3 | ||
|
||
- name: Add repos | ||
run: | | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add irs-helm https://eclipse-tractusx.github.io/item-relationship-service | ||
helm repo add postgresql https://charts.bitnami.com/bitnami | ||
helm repo add tractusx-connector https://eclipse-tractusx.github.io/charts/dev | ||
helm repo add runix https://helm.runix.net | ||
- name: Run helm install | ||
# Install latest released traceability-foss version | ||
run: | | ||
helm install traceability-foss traceability-foss | ||
- name: Run helm upgrade | ||
# Upgrade the installed traceability-foss version with the locally available charts | ||
run: | | ||
helm dependency update traceability-foss charts/traceability-foss | ||
helm upgrade traceability-foss charts/traceability-foss |