This is an automated email from the ASF dual-hosted git repository. willholley pushed a commit to branch fix-releaser in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git
commit 8bb7344510a4a675352f11c1fe60db46749c899a Author: Will Holley <[email protected]> AuthorDate: Mon Oct 24 20:46:59 2022 +0100 Update GH action versions Why: Chart releasing is failing due to out of date dependencies. How: - Update chart releaser, chart testing and kind action submodules to the current version. - Update external GH actions to the current versions. - Update the PR template to remove references to updating the chart binaries/index. - Update the README to reference the GH actions on merge. --- .github/PULL_REQUEST_TEMPLATE.md | 1 - .github/actions/chart-releaser-action | 2 +- .github/actions/chart-testing-action | 2 +- .github/actions/kind-action | 2 +- .github/workflows/chart-rebuild.yaml | 8 ++++---- .github/workflows/chart-releaser.yaml | 6 +++--- .github/workflows/chart-test.yaml | 10 +++++----- README.md | 5 +++-- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a1db437..fd7bedc 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -33,4 +33,3 @@ Please make sure you test your changes before you push them. - [ ] Chart Version bumped - [ ] e2e tests pass - [ ] Variables are documented in the README.md -- [ ] Chart tgz added to /docs and index updated diff --git a/.github/actions/chart-releaser-action b/.github/actions/chart-releaser-action index a3454e4..98bccfd 160000 --- a/.github/actions/chart-releaser-action +++ b/.github/actions/chart-releaser-action @@ -1 +1 @@ -Subproject commit a3454e46a6f5ac4811069a381e646961dda2e1bf +Subproject commit 98bccfd32b0f76149d188912ac8e45ddd3f8695f diff --git a/.github/actions/chart-testing-action b/.github/actions/chart-testing-action index dae259e..afea100 160000 --- a/.github/actions/chart-testing-action +++ b/.github/actions/chart-testing-action @@ -1 +1 @@ -Subproject commit dae259e86a35ff09145c0805e2d7dd3f7207064a +Subproject commit afea100a513515fbd68b0e72a7bb0ae34cb62aec diff --git a/.github/actions/kind-action b/.github/actions/kind-action index d08cf6f..9e8295d 160000 --- a/.github/actions/kind-action +++ b/.github/actions/kind-action @@ -1 +1 @@ -Subproject commit d08cf6ff1575077dee99962540d77ce91c62387d +Subproject commit 9e8295d178de23cbfbd8fa16cf844eec1d773a07 diff --git a/.github/workflows/chart-rebuild.yaml b/.github/workflows/chart-rebuild.yaml index 37971b5..935fb2d 100644 --- a/.github/workflows/chart-rebuild.yaml +++ b/.github/workflows/chart-rebuild.yaml @@ -12,16 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false ref: 'gh-pages' fetch-depth: 0 - name: Set up Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 with: - version: v3.6.3 + version: v3.3 - name: Rebuild index.yaml env: @@ -52,7 +52,7 @@ jobs: - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: commit-message: Rebuild index.yaml title: Rebuild index.yaml diff --git a/.github/workflows/chart-releaser.yaml b/.github/workflows/chart-releaser.yaml index 7d152f8..e74b706 100644 --- a/.github/workflows/chart-releaser.yaml +++ b/.github/workflows/chart-releaser.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 persist-credentials: false @@ -26,9 +26,9 @@ jobs: git config user.email "[email protected]" - name: Install Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 with: - version: v3.6.3 + version: v3.3 - name: Run chart-releaser uses: ./.github/actions/chart-releaser-action diff --git a/.github/workflows/chart-test.yaml b/.github/workflows/chart-test.yaml index 9329966..c0d3b7b 100644 --- a/.github/workflows/chart-test.yaml +++ b/.github/workflows/chart-test.yaml @@ -20,16 +20,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 persist-credentials: false submodules: recursive - name: Set up Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 with: - version: v3.6.3 + version: v3.3 - name: Set up chart-testing uses: ./.github/actions/chart-testing-action @@ -48,9 +48,9 @@ jobs: submodules: recursive - name: Set up Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 with: - version: v3.6.3 + version: v3.3 - name: Set up chart-testing uses: ./.github/actions/chart-testing-action diff --git a/README.md b/README.md index 3bfca11..cc84b23 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,11 @@ This repository contains assets related to the CouchDB Helm chart. `make test` will run an integration test using [Kind][5]. This stands up a Kubernetes cluster locally and ensures the chart will deploy using the default options and Helm. +On GitHub, there is a GitHub Action to Lint and Test charts. + ## Releasing -Chart versions are immutable. On every version change, `make publish` should be -run to create a new chart bundle and update the repostory metadata. +On merge to `main`, a new release is generated by the [Chart Releaser](https://github.com/helm/chart-releaser-action) GitHub action. ## Feedback / Issues / Contributing
