-
Notifications
You must be signed in to change notification settings - Fork 22
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 #285 from catenax-ng/feature/TRI-1143-TRG5.11-helm…
…-upgradability Feature/TRI-1143 TRG 5.11 helm upgradeability
- Loading branch information
Showing
1 changed file
with
42 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,42 @@ | ||
name: Upgrade Charts | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'charts/irs-helm/**' | ||
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 minio https://charts.min.io/ | ||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | ||
helm repo add grafana https://grafana.github.io/helm-charts | ||
helm repo add irs https://eclipse-tractusx.github.io/item-relationship-service | ||
- name: Run helm install | ||
# Install latest released irs-helm version | ||
run: | | ||
helm install irs irs/irs-helm | ||
- name: Run helm upgrade | ||
# Upgrade the installed irs-helm version with the locally available charts | ||
run: | | ||
helm upgrade irs charts/irs-helm |