Skip to content

PHPLIB-583: Automate release process #1288

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

Merged
merged 3 commits into from
May 22, 2024

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented May 7, 2024

PHPLIB-583 (Release process automation)
PHPLIB-584 (Signing releases)
PHPLIB-1435 (Running static analysis for tags)

This PR builds on the work done for the MongoDB extension. It uses the same flow to trigger a release, but there is no packaging step involved. Since we don't have a file to track the version, this workflow runs different consistency checks: it ensures that the version being released doesn't exist yet, and that it is created from the correct branch (i.e. version X.Y.Z has to be released from the vX.Y branch). The tag created for the release is signed with the same key that we use for the PHP extension.

The static analysis workflow has been changed to also run for tags. The resulting SARIF report is uploaded to GitHub's Code Scanning feature where we can then handle it further.

Todo list:

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@alcaeus alcaeus force-pushed the phplib-583-automate-releases branch from 910243d to 2bde121 Compare May 10, 2024 11:33
@alcaeus alcaeus marked this pull request as ready for review May 10, 2024 11:33
@alcaeus alcaeus requested a review from a team as a code owner May 10, 2024 11:33
@alcaeus alcaeus requested a review from jmikola May 10, 2024 11:33
@alcaeus alcaeus self-assigned this May 10, 2024
@alcaeus alcaeus force-pushed the phplib-583-automate-releases branch from 2bde121 to f2a0893 Compare May 21, 2024 11:26
@alcaeus alcaeus requested a review from jmikola May 21, 2024 11:30
@alcaeus alcaeus merged commit afbc160 into mongodb:v1.18 May 22, 2024
26 checks passed
@alcaeus alcaeus deleted the phplib-583-automate-releases branch May 22, 2024 06:48
This was referenced May 22, 2024
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.

2 participants