Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add branch preparation and release CI changes #340

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

dsharma-dc
Copy link
Contributor

Detailed Workflow

We create the release/x.y branch on the repo from develop.
This concerned GitHub workflow kicks in.
The workflow extracts the x.y from the branch name i.e. release/x.y.
The workflow updates the chart version to x.y.0-prerelease and creates a PR against the release/x.y branch.
We are supposed to merge the PRs manually. Once the above PR is merged the PR merge workflow for the release/x.y kicks in.
This also adds the script that is capable of updating release and develop branches after tag is cut.

@dsharma-dc
Copy link
Contributor Author

This PR is built on top of #338 , so please review only commit 034929d

Copy link
Member

@Abhinandan-Purkait Abhinandan-Purkait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please test the flows once. You can try this on your fork.

  1. Merge the PR to your fork develop.
  2. Create a release/X.Y branch from your fork develop.
  3. Wait for the Branch Prep CI, you should see 2 PRs get raised. Merge them.
  4. Create a tag vX.Y.Z from release/X.Y, all the workflows should pass and you should be able to see a new PR on release/X.Y to bump the prerelease. Merge the PR.

After the above workflows, you should be able to see 2 develop charts and images, 2 prerelease. 1 actual release.

scripts/test-update-chart-version.sh Outdated Show resolved Hide resolved
@dsharma-dc dsharma-dc force-pushed the branch_prep branch 3 times, most recently from 2c21367 to 5685d43 Compare October 1, 2024 11:23
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
scripts/update-chart-version.sh Show resolved Hide resolved
@dsharma-dc dsharma-dc force-pushed the branch_prep branch 2 times, most recently from c404caa to 0814c62 Compare October 7, 2024 05:45
@dsharma-dc dsharma-dc merged commit c3e5c2d into develop Oct 7, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants