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

[Tooling] Update CI image from xcode-16.1-rc.1 to xcode-16.1-v4 #1686

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

spencertransier
Copy link
Contributor

What it does

This updates the CI image from xcode-16.1-rc.1 to xcode-16.1.v4. The original 16.1 image only had 92GB of space. The v4 image was upgraded to use 120GB instead.

It also updates the CI Toolkit from 3.4.2 to 3.7.1.

How to test

Good to go as long as CI is green.

@spencertransier spencertransier added the tooling Related to anything that supports the building & maintaining of the project. label Nov 19, 2024
@spencertransier spencertransier added this to the Future milestone Nov 19, 2024
@spencertransier spencertransier requested a review from a team November 19, 2024 04:37
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Nov 19, 2024

Simplenote Prototype Build📲 You can test the changes from this Pull Request in Simplenote Prototype Build by scanning the QR code below to install the corresponding build.
App NameSimplenote Prototype Build Simplenote Prototype Build
Build Numberpr1686-0ecc10d-0193470b-93b5-4341-89fe-a80d65fdb2c6
Version4.55
Bundle IDcom.codality.NotationalFlow.Alpha
Commit0ecc10d
App Center BuildSimplenote - Installable Builds #412
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

Copy link
Contributor

@AliSoftware AliSoftware left a comment

Choose a reason for hiding this comment

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

Left a nitpick to adjust consistency in how we do it in other repos, but approving to unblock

Comment on lines 7 to 11
XCODE_VERSION=$(sed -E -n 's/^(~> )?(.*)/xcode-\2/p' .xcode-version)
export CI_TOOLKIT_PLUGIN_VERSION="3.4.2"
export CI_TOOLKIT_PLUGIN_VERSION="3.7.1"

export IMAGE_ID="$XCODE_VERSION"
# Note: `-v4` suffix was added to use xcode-16.1-v4 image; remember to remove that suffix during the next Xcode update
export IMAGE_ID="$XCODE_VERSION-v4"
Copy link
Contributor

Choose a reason for hiding this comment

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

💄 Nitpick: in most other repos we insert the xcode- prefix during the export IMAGE_ID= instead of via the sed, i.e.:

XCODE_VERSION=$(sed -E 's/^~> ?//' .xcode-version)export IMAGE_ID="xcode-$XCODE_VERSION-v4"

This not only makes the sed command simpler (and thus more readable), but it also better matches the variable names. Indeed, with that approach XCODE_VERSION contains just the Xcode version itself, without the xcode- prefix. And it's only when assigning the IMAGE_ID value that we add the xcode- prefix because that's how we name our VM images.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in 0ecc10d

@spencertransier spencertransier merged commit 157c4c7 into trunk Nov 20, 2024
7 of 9 checks passed
@spencertransier spencertransier deleted the use/xcode-16.1-v4-image branch November 20, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Related to anything that supports the building & maintaining of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants