-
Notifications
You must be signed in to change notification settings - Fork 305
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
Merge 2.34 code freeze #1692
Merge 2.34 code freeze #1692
Conversation
The `BUILDKITE_` prefix is a workaround required only on iOS. We could adopt it for consistency here, too, but it's best to avoid it for two reasons: 1. Being a workaround, one would hope to eventually remove it 2. The less coupled we are with the particular CI implementation details (i.e. "Buildkite" in the name) the better
Notice how there now is an explicit `encrypt: true` for each file.
This was the reason for the failure in https://buildkite.com/automattic/simplenote-android/builds/354#0191db6f-e529-425f-b50e-c62154395e01
Zsh is the shell I use day to day and on which I tried the commands I put in the script.
Generated by 🚫 Danger |
See warning from https://buildkite.com/automattic/simplenote-android/builds/361#0191deaf-ee5a-4c77-8e48-2781416d93cd [2024-09-11T01:32:31Z] find: warning: you have specified the global option -maxdepth after the argument -name, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments.
See how https://buildkite.com/automattic/simplenote-android/builds/361 failed It's weird, though, that `release-build.sh` was not executable yet it worked. Maybe it has something to do with the fact that it's called without arguments? Might it be a Buildkite implementation detail?
This is a followup to 6fce8c8 Unfortunately, we need to use the same configure implementation across the whole CI automation due to existing compatibility bugs between the Ruby and Rust versions
📲 You can test the changes from this Pull Request in Simplenote Android by scanning the QR code below to install the corresponding build.
|
# It must use the `BUILDKITE_` prefix to be passed to the agent due to how `hostmgr` works, in case this runs on a Mac agents. | ||
if [[ -z "${BUILDKITE_RELEASE_VERSION}" ]]; then | ||
echo "BUILDKITE_RELEASE_VERSION is not set." | ||
if [[ -z "${RELEASE_VERSION}" ]]; then |
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.
I double-checked and this checkout-release-branch.sh
script seems to only be called by complete-code-freeze.yml
, from a step that runs on tumblr-metal
.
So indeed there's no risk of the env var being filtered out by hostmgr
when the script to run is passed from Mac host to VM here, because this will run on tumblr-metal
and not Mac agents, so hostmgr
is not even involved in the first place. 👍
Took a few additional commits on top of #1688 to get the release build to work, but got there in the end: