Skip to content

Commit

Permalink
build: fix chart release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 committed Aug 20, 2024
1 parent f48c7c2 commit ea5e1a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/helm-chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
git config user.email "[email protected]"
- 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"
Expand All @@ -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
Expand All @@ -102,7 +105,7 @@ jobs:
run: |
git config --local user.email "[email protected]"
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'
Expand Down
12 changes: 0 additions & 12 deletions charts/selenium-grid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions generate_chart_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ generate_changelog() {
generate_changelog

echo "Changelog generated successfully at $CHANGELOG_FILE"

echo -e "true" > /tmp/selenium_chart_release

0 comments on commit ea5e1a7

Please sign in to comment.