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.
CI/CD Workflow Enhancement for Helm Charts 🚀
We've recently updated our CI/CD workflow to optimize how we build and publish our Helm charts for
sentry
,clickhouse
, andsentry-kubernetes
. Here are the key changes and their benefits:Selective Triggering: The workflow now initiates only upon the creation of tags by Release Please, ensuring the build and publish process runs only when necessary, avoiding unnecessary executions and redundant deployments. 🛠️
Separate Chart Builds: Each chart is built independently, allowing for more granular version management and changes specific to each chart. This helps isolate the build processes, making debugging and testing easier and more focused. 🔍
Efficient Indexing: Post-build, an index file is generated for the charts, improving discoverability and installation by users. Automatic indexing ensures the Helm repository is always up-to-date with the latest versions available. 📊
No Manual Version Editing: With Release Please handling versioning, there's no longer a need to manually edit chart versions. This reduces the risk of human error and streamlines the release process. 📝
Benefits:
Next Steps:
We will closely monitor the workflow's behavior to ensure it doesn't trigger unnecessary builds, particularly avoiding re-building and re-pushing charts that haven't changed. Additionally, we'll likely need to write a contributor guide, as commits must adhere to the Conventional Commits specification to ensure the Release Please can correctly version the charts. 📝🔧
In summary, this update marks a significant step forward in automating and enhancing our CI/CD process for Helm charts, aligning our operations with best practices in release management and deployment.