From 8e66fb1182ef348e394f1e788e5e45069f03e1d7 Mon Sep 17 00:00:00 2001 From: Jaro Hartmann Date: Wed, 19 Jul 2023 14:39:13 +0200 Subject: [PATCH] chore(workflows): Remove edc charts form helm workflows --- .github/workflows/helm-chart-release.yaml | 30 ++--------------------- .github/workflows/helm-test.yaml | 2 +- 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/.github/workflows/helm-chart-release.yaml b/.github/workflows/helm-chart-release.yaml index dc395d8955..f55d79cfc6 100644 --- a/.github/workflows/helm-chart-release.yaml +++ b/.github/workflows/helm-chart-release.yaml @@ -35,35 +35,9 @@ jobs: echo "::set-output name=current_version::$chartVersion" echo "Exported $chartVersion helm charts version" - get-helm-charts-versions-edc: - outputs: - latest_version: ${{ steps.step1.outputs.latest_version }} - current_version: ${{ steps.step2.outputs.current_version }} - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Get helm charts latest tag version - id: step1 - run: | - latestVersion=$(git tag | grep "irs-edc-consumer-[1-9]" | tail -1) - echo "::set-output name=latest_version::$latestVersion" - echo "Exported $latestVersion latest helm charts version" - - name: Get helm charts current version - id: step2 - run: | - chartVersion=irs-edc-consumer-$(cat ./charts/edc-consumer/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2) - echo "::set-output name=current_version::$chartVersion" - echo "Exported $chartVersion helm charts version" - release: - needs: ["get-helm-charts-versions-irs", "get-helm-charts-versions-edc"] - if: needs.get-helm-charts-versions-irs.outputs.latest_version != needs.get-helm-charts-versions-irs.outputs.current_version || needs.get-helm-charts-versions-edc.outputs.latest_version != needs.get-helm-charts-versions-edc.outputs.current_version + needs: "get-helm-charts-versions-irs" + if: needs.get-helm-charts-versions-irs.outputs.latest_version != needs.get-helm-charts-versions-irs.outputs.current_version # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token permissions: diff --git a/.github/workflows/helm-test.yaml b/.github/workflows/helm-test.yaml index 59986ce60c..74e71b1924 100644 --- a/.github/workflows/helm-test.yaml +++ b/.github/workflows/helm-test.yaml @@ -64,7 +64,7 @@ jobs: - name: Run chart-testing (lint) run: | - ct lint --excluded-charts=edc-consumer --validate-maintainers=false --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }} + ct lint --validate-maintainers=false --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }} - name: Run chart-testing (install) run: |