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

Update the document of release process #1919

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,27 @@ Notes: the change may take about 20 minutes to be promoted to Zeva development e

The "Build PR on Dev" pipeline will be triggered when it identified pull request's title ends with "build-on-dev"

# Post production release
# Production release

## Merge the tracking pull request and create the new release branch
## Pre-production release

* Update the description of the tracking pull request
* Verify the changes made during the previous post production release

## Production release

* Manually trigger the pipeline release-build.yaml (Release Build 1.49.0)

## Post production release

### Merge the tracking pull request and create the new release branch

* Squash merge the tracking pull request to master
* Create the release on GitHub from master branch
* Create the new release branch from master branch (this is done automatically by pipeline create-release.yaml)
* Change the new release branch as the default branch in the repo and update the branch protection rules https://github.com/bcgov/zeva/settings/branches

## Updates for the new release branch
### Updates for the new release branch

* dev-build.yaml
* on -> push -> branches
Expand All @@ -43,9 +54,9 @@ The "Build PR on Dev" pipeline will be triggered when it identified pull request
## Primary Pipelines

* build-on-dev.yaml (Build PR on Dev): Build pull request if the string build-on-dev is appended at the end of pull request title
* dev-build.yaml (Dev Build 1.48.0): Every commit on the current release branch is automatically released to Dev.
* release-build.yaml (Release Build 1.48.0): This is a manually managed pipeline. It needs to be triggered manually to build the current release branch and deploy on Test and further on Prod.
* create-release.yaml (Create Release after merging to master): Tag and create the release after merging release branch to master. The description of the tracking pull request becomes release notes.
* dev-build.yaml (Dev Build 1.49.0): Every commit on the current release branch is automatically released to Dev.
* release-build.yaml (Release Build 1.49.0): This is a manually managed pipeline. It needs to be triggered manually to build the current release branch and deploy on Test and further on Prod.
* create-release.yaml (Create Release after merging to master): Automatically tag and create the release after merging release branch to master. The description of the tracking pull request becomes release notes.

## Other Pipelines

Expand All @@ -55,5 +66,5 @@ The "Build PR on Dev" pipeline will be triggered when it identified pull request
* pr-build-template.yaml (PR Build Template): a pipeline template for pull request build
* pr-lable.yaml (Label PR): ignore this one for now, it is automatically triggered after the pull request is merged or closed
* pr-teardown.yaml (Teardown PR on Dev): remove the deployed pull request on Dev
* release-build.yaml (Release Build 1.48.0): a pipeline to build release branch
* release-build.yaml (Release Build 1.49.0): a pipeline to build release branch
* unit-test-template.yaml (Unit Test Template): a pipeline template for unit test