-
Notifications
You must be signed in to change notification settings - Fork 112
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
[Tooling] Use bot for release management git operations #14207
Conversation
📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.
|
104e10e
to
e47032a
Compare
92fe0db
to
0986713
Compare
2ccb778
to
746167d
Compare
echo '--- :git: Checkout Release Branch' | ||
.buildkite/commands/checkout-release-branch.sh "$RELEASE_VERSION" | ||
|
||
echo '--- :ruby: Setup Ruby Tools' | ||
install_gems |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way, I think this is the best approach to run bundle install
. That is, we should always run it after checking out the release branch. Otherwise, we might run into the edge case of having the branch that triggered the build using a gemset different from the release branch which could lead to gnarly issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯
This is something I noticed in a lot of pipelines across our repos, that install_gems
was running before checking out the new branch, so I've changed it with the use-bot-for-git
change.
.buildkite/release-pipelines/update-metadata-on-app-store-connect.yml
Outdated
Show resolved
Hide resolved
fbcfd50
to
b702c12
Compare
@iangmaia Xcode 16.1 PR is merged. |
…ations with write access
…ping only version bump
…ane, keeping only version bump" This reverts commit e47032a.
This reverts commit 73a634a.
Co-authored-by: Gio Lodi <[email protected]>
78843d3
to
8731800
Compare
References
Android counterpart: woocommerce/woocommerce-android#11886
Original task describing the problem: https://github.com/Automattic/apps-infra-plans/issues/39
See paaHJt-6EP-p2 for more details.
What it does
This PR updates the release pipelines to use the
use-bot-for-git
script to use a bot account for git operations, avoiding the need for SSH deploy keys with write permission.How to test
We'll fully run the release pipelines in the next release cycle once this is merged.
To test it, I've commented out a few side effects from
start_code_freeze
on e47032a and ran it directly on Buildkite (setting the env varPIPELINE=release-pipelines/start-code-freeze.yml
) with this resulting build.Dependencies
This PR targets #14225 (fixing issues with Xcode 16).