From 10ef896f2b2dec50e29e0adf10ed22b8b219ea8c Mon Sep 17 00:00:00 2001 From: adkumar1 <96519861+adkumar1@users.noreply.github.com> Date: Tue, 13 Dec 2022 18:21:04 +0530 Subject: [PATCH 1/2] Update Chart.yaml --- charts/orchestrator/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/orchestrator/Chart.yaml b/charts/orchestrator/Chart.yaml index 61819ef1..725bcd09 100644 --- a/charts/orchestrator/Chart.yaml +++ b/charts/orchestrator/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.2 +version: 1.0.1 # This is the version number of the application being deployed. This version number should be From 5f2be7505bfd913c69ce03b7d39ce226c9fc5c1f Mon Sep 17 00:00:00 2001 From: adkumar1 <96519861+adkumar1@users.noreply.github.com> Date: Tue, 13 Dec 2022 18:25:53 +0530 Subject: [PATCH 2/2] Update chart-release.yml --- .github/workflows/chart-release.yml | 43 +++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/.github/workflows/chart-release.yml b/.github/workflows/chart-release.yml index c729933e..403498b1 100644 --- a/.github/workflows/chart-release.yml +++ b/.github/workflows/chart-release.yml @@ -1,11 +1,32 @@ -name: Release Chart +################################################################################# +# Copyright (c) 2021,2022 Catena-X +# Copyright (c) 2021,2022 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: Release - Helm Charts on: workflow_dispatch: push: - tags: - - 'v*' - + paths: + - 'charts/**' + branches: + - main jobs: release: # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions @@ -13,9 +34,11 @@ jobs: permissions: contents: write runs-on: ubuntu-latest + steps: + # fetch-depth: 0 is required to determine differences in chart(s) - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -23,18 +46,16 @@ jobs: run: | git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - + - name: Install Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 with: - version: v3.9.1 - + token: ${{ secrets.GITHUB_TOKEN }} - name: Add Helm repos run: | helm repo add bitnami https://charts.bitnami.com/bitnami - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.4.0 + uses: helm/chart-releaser-action@v1.4.1 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"