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 release process documentation #7818

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

ironage
Copy link
Contributor

@ironage ironage commented Jun 17, 2024

A few updates to the docs after running through the process today.

@ironage ironage added no-changelog no-jira-ticket Skip checking the PR title for Jira reference labels Jun 17, 2024
@ironage ironage self-assigned this Jun 17, 2024
@cla-bot cla-bot bot added the cla: yes label Jun 17, 2024

3. When ready, merge the PR. You can squash if there are only "prepare release" changes, but use a "merge-commit" strategy if there are functional changes added manually to the PR (note that if using a merge strategy, the last commit after merge will be the one tagged, so you may want to reorder the commits so that the 'prepare' commit comes last). On merge, the "make-release" action will run. This will:
3. When ready, merge the PR. You can squash if there are only "prepare release" changes, but use a "merge-commit" strategy if there are functional changes added manually to the PR. On merge, the "make-release" action will run which triggers a Github deployment. Someone from the `@realm/realm-core-team` must approve the deployment for this step to run. Find the Github [deployment](https://github.com/realm/realm-core/actions/workflows/make-release.yml) and approve it. This will:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this be approved by the person who submitted the deployment, or does it have to be someone else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it can be approved by the person who initiated the deployment. The security layer is there so that only approved contributors (@realm/realm-core-team) can make a deployment and not anyone outside the organization. This is because the deployment action gets access to environment variable "secrets", which right now only consists of the URL of the slack integration that posts to our release announcement channel. I think this layer isn't strictly necessary because our branch is protected to only allow members of our org to merge pull requests, (and that is how the GHA is triggered) but it is a good security practice to put in place now, so that we can build on it as the process evolves over time.

Copy link
Contributor

@michael-wb michael-wb left a comment

Choose a reason for hiding this comment

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

LGTM - one question about the deployment

Copy link

coveralls-official bot commented Jun 17, 2024

Pull Request Test Coverage Report for Build james.stone_559

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall first build on js/update-release-docs at 90.97%

Totals Coverage Status
Change from base Build 2425: 91.0%
Covered Lines: 214770
Relevant Lines: 236090

💛 - Coveralls

@ironage ironage merged commit 3e0473f into master Jun 17, 2024
47 of 49 checks passed
@ironage ironage deleted the js/update-release-docs branch June 17, 2024 20:56
@github-actions github-actions bot mentioned this pull request Jun 28, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes no-changelog no-jira-ticket Skip checking the PR title for Jira reference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants