From a48876da1e2cb5fe718491edeb7bb7b5dc7b5b9d Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 20 Oct 2023 14:13:16 +0200 Subject: [PATCH] Remove misplaced script --- .../.github/workflows/build-and-publish.yml | 89 ------------------- 1 file changed, 89 deletions(-) delete mode 100644 charts/.github/workflows/build-and-publish.yml diff --git a/charts/.github/workflows/build-and-publish.yml b/charts/.github/workflows/build-and-publish.yml deleted file mode 100644 index eed9857..0000000 --- a/charts/.github/workflows/build-and-publish.yml +++ /dev/null @@ -1,89 +0,0 @@ -name: Release Charts - -on: - push: - branches: - - master - -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 - # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - 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: Install Helm - uses: azure/setup-helm@v3 - - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.5.0 - with: - charts_dir: charts - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - -name: Build and Publish Helm Chart - -on: - push: - tags: - - "v*.*.*" - -jobs: - build-and-publish: - # 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: - contents: write - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - 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: Set up Helm - uses: azure/setup-helm@v3 - - - name: Package Helm Chart - run: | - helm package . -d charts - helm repo index charts --url https://github.com/tommy-skaug/bgpalerter-chart/raw/main/charts - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_OPTIONS: --unhandled-rejections=strict - - - name: Publish Helm Chart - uses: actions/upload-artifact@v2 - with: - name: bgpalerter-chart - path: charts - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_OPTIONS: --unhandled-rejections=strict - - - name: Deploy Helm Chart to GitHub Releases - uses: softprops/action-gh-release@v1 - with: - files: charts/* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_OPTIONS: --unhandled-rejections=strict \ No newline at end of file