From 209c4544cccd1d77426f7caab204971229ef5c27 Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Thu, 1 Feb 2024 13:02:32 -0600 Subject: [PATCH 1/3] Setup helm chart releases site --- .github/workflows/release_charts.yaml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/release_charts.yaml diff --git a/.github/workflows/release_charts.yaml b/.github/workflows/release_charts.yaml new file mode 100644 index 0000000..ab885c5 --- /dev/null +++ b/.github/workflows/release_charts.yaml @@ -0,0 +1,29 @@ +name: Release Charts + +on: + push: + branches: + - rockcraft + +jobs: + release: + 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: Run chart-releaser + uses: helm/chart-releaser-action@v1.6.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: + charts_dir: deploy/charts \ No newline at end of file From c91f79d5aafc561c7a6d84a572fd93a5e5ce7def Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Tue, 6 Feb 2024 09:13:28 -0600 Subject: [PATCH 2/3] Update .github/workflows/release_charts.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Berkay Tekin Öz --- .github/workflows/release_charts.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_charts.yaml b/.github/workflows/release_charts.yaml index ab885c5..9db1159 100644 --- a/.github/workflows/release_charts.yaml +++ b/.github/workflows/release_charts.yaml @@ -4,7 +4,8 @@ on: push: branches: - rockcraft - + paths: + - "deploy/charts/**" jobs: release: permissions: From 5d24849029a0a8fd69fdafa880b084d47e7be112 Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Tue, 6 Feb 2024 10:26:53 -0600 Subject: [PATCH 3/3] Remove permissions settings --- .github/workflows/release_charts.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release_charts.yaml b/.github/workflows/release_charts.yaml index 9db1159..bad752b 100644 --- a/.github/workflows/release_charts.yaml +++ b/.github/workflows/release_charts.yaml @@ -8,9 +8,7 @@ on: - "deploy/charts/**" jobs: release: - permissions: - contents: write - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v3