chore: xxx update irs version #156
Workflow file for this run
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
# Copyright (c) 2023 Contributors to the Eclipse Foundation | |
# | |
# See the NOTICE file(s) distributed with this work for additional | |
# information regarding copyright ownership. | |
# | |
# This program and the accompanying materials are made available under the | |
# terms of the Apache License, Version 2.0 which is available at | |
# https://www.apache.org/licenses/LICENSE-2.0. | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | |
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | |
# License for the specific language governing permissions and limitations | |
# under the License. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: "[BE][FE][HELM] Upgrade Charts" | |
on: | |
pull_request: | |
paths: | |
- 'charts/traceability-foss/**' | |
workflow_dispatch: | |
jobs: | |
upgrade: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Kubernetes KinD Cluster | |
uses: container-tools/kind-action@v2 | |
- name: Set up Helm | |
uses: azure/setup-helm@v4 | |
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/tractusx-edc | |
helm repo add runix https://helm.runix.net | |
helm repo add tracex https://eclipse-tractusx.github.io/traceability-foss | |
- name: Run helm install | |
# Install latest released traceability-foss version | |
run: | | |
helm install tracex tracex/traceability-foss | |
- name: Run helm upgrade | |
# Upgrade the installed traceability-foss version with the locally available charts | |
run: | | |
helm dependency update charts/traceability-foss | |
helm upgrade tracex charts/traceability-foss |