chart(build): Push chart to Docker Hub OCI-based registry #2319
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
chart(build): Push chart to Docker Hub OCI-based registry
Motivation and Context
Besides, the chart repository is hosted by the GH page in the repository.
Now, the chart is also pushed to the Docker Hub OCI-based registry. Refer to how to interact with OCI-based registry via Helm CLI - https://helm.sh/docs/topics/registries/#using-an-oci-based-registry
Repo on Docker Hub: https://hub.docker.com/r/selenium/selenium-grid
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
chart_build.sh
script to include version control and debugging.chart_release.sh
to push Helm charts to Docker Hub OCI-based registry.deploy.yml
andnightly.yml
) to include steps for building and pushing Helm charts.chart_release
for releasing Helm charts.Changes walkthrough 📝
chart_build.sh
Enhance chart build script with version control and debugging
tests/charts/make/chart_build.sh
set -x
for debugging.SET_VERSION
variable to conditionally set Helm chartversion.
ADD_VERSION
based onSET_VERSION
.chart_release.sh
Add script to release Helm chart to Docker Hub
tests/charts/make/chart_release.sh
registry.
deploy.yml
Update deployment workflow to include Helm chart release
.github/workflows/deploy.yml
nightly.yml
Update nightly workflow to include Helm chart release
.github/workflows/nightly.yml
Makefile
Add chart release target to Makefile
Makefile
chart_release
target to Makefile for releasing Helm charts.