diff --git a/.github/workflows/helm-chart-publish.yaml b/.github/workflows/helm-chart-publish.yaml deleted file mode 100644 index 481ed1a7..00000000 --- a/.github/workflows/helm-chart-publish.yaml +++ /dev/null @@ -1,58 +0,0 @@ -name: Release Charts - -on: - push: - branches: - - main - paths: - - "deploy/charts/**" - - -jobs: - release: - runs-on: ubuntu-latest - - permissions: - contents: write - packages: write - id-token: write - - steps: - - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - fetch-depth: 0 - - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - - name: Run chart-releaser - uses: helm/chart-releaser-action@3e001cb8c68933439c7e721650f20a07a1a5c61e # pin@v1.6.0 - with: - config: cr.yaml - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - - name: Login to GitHub Container Registry - uses: docker/login-action@327cd5a69de6c009b9ce71bce8395f28e651bf99 #pin@v3.3.0 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Install Cosign - uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a #pin@v3.7.0 - - - name: Publish and Sign OCI Charts - run: | - for chart in `find .cr-release-packages -name '*.tgz' -print`; do - helm push ${chart} oci://ghcr.io/${GITHUB_REPOSITORY} |& tee helm-push-output.log - file_name=${chart##*/} - chart_name=${file_name%-*} - digest=$(awk -F "[, ]+" '/Digest/{print $NF}' < helm-push-output.log) - cosign sign -y "ghcr.io/${GITHUB_REPOSITORY}/${chart_name}@${digest}" - done - env: - COSIGN_EXPERIMENTAL: 1 diff --git a/.github/workflows/helm-chart-test.yaml b/.github/workflows/helm-chart-test.yaml deleted file mode 100644 index 83f1f06c..00000000 --- a/.github/workflows/helm-chart-test.yaml +++ /dev/null @@ -1,50 +0,0 @@ -name: Test Charts - -on: - pull_request: - paths: - - deploy/charts/** - -jobs: - check-readme: - runs-on: ubuntu-latest - env: - GO111MODULE: on - steps: - - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 - with: - python-version: '3.x' - - - uses: actions/setup-go@5a083d0e9a84784eb32078397cf5459adecb4c40 # pin@v3 - with: - go-version: ^1 - - test: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - fetch-depth: 0 - - - name: Set up Helm - uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # pin@v4.3.0 - - - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 - with: - python-version: '3.x' - - - name: Set up chart-testing - uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0 - - - name: Run chart-testing (lint) - run: ct lint --config ct.yaml - - - name: Create KIND Cluster - uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # pin@v1.12.0 - - - name: Run chart-testing (install) - run: ct install --config ct.yaml