Skip to content

Commit

Permalink
Merge pull request #380 from catenax-ng/chore/TRACEFOSS-1959-helm-upg…
Browse files Browse the repository at this point in the history
…rade-workflow

chore(trg):[TRACEFOSS-1959] added helm upgrade workflow
  • Loading branch information
ds-mwesener authored Jul 10, 2023
2 parents f21e75e + bfaed17 commit 5d9222f
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/helm-upgrade.yaml
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

0 comments on commit 5d9222f

Please sign in to comment.