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

Merge 2.34 code freeze #1692

Merged
merged 21 commits into from
Sep 13, 2024
Merged

Merge 2.34 code freeze #1692

merged 21 commits into from
Sep 13, 2024

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented Sep 10, 2024

Took a few additional commits on top of #1688 to get the release build to work, but got there in the end:

image

image

@mokagio mokagio added this to the 2.34 ❄️ milestone Sep 10, 2024
@mokagio mokagio marked this pull request as draft September 10, 2024 11:00
Zsh is the shell I use day to day and on which I tried the commands I
put in the script.
@dangermattic
Copy link
Collaborator

1 Message
📖 This PR has the Releases label: some checks will be skipped.

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
@mokagio mokagio requested review from notandyvee and a team September 11, 2024 02:15
@mokagio mokagio marked this pull request as ready for review September 11, 2024 02:16
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Sep 11, 2024

📲 You can test the changes from this Pull Request in Simplenote Android by scanning the QR code below to install the corresponding build.

App Name Simplenote Android
Build TypeDebug
Commitbd79e42
Direct Downloadsimplenote-android-prototype-build-pr1692-bd79e42-0191e29f-584c-4249-a31e-7dfeae48d3b2.apk

# 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
Copy link
Contributor

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. 👍

@mokagio mokagio merged commit 30c345b into trunk Sep 13, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants