Skip to content

Commit

Permalink
Merge pull request #285 from catenax-ng/feature/TRI-1143-TRG5.11-helm…
Browse files Browse the repository at this point in the history
…-upgradability

Feature/TRI-1143 TRG 5.11 helm upgradeability
  • Loading branch information
ds-jhartmann authored Apr 26, 2023
2 parents 6eec5b8 + 629d3eb commit 13d0f37
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/helm-upgrade.yaml
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

0 comments on commit 13d0f37

Please sign in to comment.