diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f81cab474..1db32fbff 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -102,8 +102,6 @@ jobs: run: echo ${LATEST_TAG} - name: Update tag in docs and files run: ./update_tag_in_docs_and_files.sh ${LATEST_TAG} ${NEXT_TAG} - - name: Update chart CHANGELOG - run: ./generate_chart_changelog.sh - name: Build Helm chart uses: nick-invision/retry@master with: diff --git a/.github/workflows/helm-chart-release.yml b/.github/workflows/helm-chart-release.yml index 0fe6263b0..a988a908a 100644 --- a/.github/workflows/helm-chart-release.yml +++ b/.github/workflows/helm-chart-release.yml @@ -72,7 +72,9 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Get chart release notes (chart_release_notes.md) - run: ./generate_chart_changelog.sh + run: | + ./generate_chart_changelog.sh + echo "IS_RELEASE=$(cat /tmp/selenium_chart_release)" >> $GITHUB_ENV - name: Login Docker Hub run: helm registry login registry-1.docker.io -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" @@ -89,10 +91,11 @@ jobs: command: make chart_release - name: Run chart-releaser + if: env.IS_RELEASE == 'true' uses: helm/chart-releaser-action@main with: mark_as_latest: false - skip_existing: true + skip_existing: false env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" CR_RELEASE_NOTES_FILE: RELEASE_NOTES.md @@ -102,7 +105,7 @@ jobs: run: | git config --local user.email "selenium-ci@users.noreply.github.com" git config --local user.name "Selenium CI Bot" - git commit -m "Update tag in docs and files" -a || true + git commit -m "Update chart changelog [skip ci]" -a || true - name: Push changes if: github.event.inputs.skip-commit != 'true' diff --git a/charts/selenium-grid/CHANGELOG.md b/charts/selenium-grid/CHANGELOG.md index f6ce7db58..fb1a5787e 100644 --- a/charts/selenium-grid/CHANGELOG.md +++ b/charts/selenium-grid/CHANGELOG.md @@ -1,15 +1,3 @@ -## :heavy_check_mark: selenium-grid-0.34.2 - -- Chart is using image tag 4.23.1-20240820 -- Chart is tested on Kubernetes versions: v1.25.16, v1.26.15, v1.27.16, v1.28.13, v1.29.8, v1.30.4, -- Chart is tested on Helm versions: v3.10.3, v3.11.3, v3.12.3, v3.13.3, v3.14.4, v3.15.4, - -### Changed -- [`5624122d`](http://github.com/seleniumhq/docker-selenium/commit/5624122d1ea16a1703d77ec3ece8c28c6c5e9c83) - chore(deps): update helm release kube-prometheus-stack to v62 (#2363) :: renovate[bot] -- [`ccb39d52`](http://github.com/seleniumhq/docker-selenium/commit/ccb39d52c124f4c0851dfeea6115247e12401654) - chore(deps): update helm release ingress-nginx to v4.11.2 (#2357) :: renovate[bot] -- [`9106ba14`](http://github.com/seleniumhq/docker-selenium/commit/9106ba146d243e4cf8f26751dbe167fa823ef19c) - chart(fix): Remove alias from sub-chart to prevent render issue in other CD tools :: Viet Nguyen Duc -- [`3bdcb0d4`](http://github.com/seleniumhq/docker-selenium/commit/3bdcb0d4ffc7754e91b6af49739d85db8d14b5d1) - chart(fix): [regression] Able to disable tracing via config key tracing.enabled :: Viet Nguyen Duc - ## :heavy_check_mark: selenium-grid-0.34.1 - Chart is using image tag 4.23.1-20240813 diff --git a/generate_chart_changelog.sh b/generate_chart_changelog.sh index 774f108a9..cc3c2af2a 100755 --- a/generate_chart_changelog.sh +++ b/generate_chart_changelog.sh @@ -106,3 +106,5 @@ generate_changelog() { generate_changelog echo "Changelog generated successfully at $CHANGELOG_FILE" + +echo -e "true" > /tmp/selenium_chart_release