Skip to content

Commit d05de43

Browse files
committed
Run Mac CI steps on Ruby 3.4.13
The `xcode-27.2-v3` image no longer has Ruby 3.4.9, but `ruby/setup-ruby` in GitHub Actions reads the same `.ruby-version`, so it stays put for now. Setting `RBENV_VERSION` in each Mac step's command bridges the gap, since a step `env:` doesn't reach the VM. The Mac/Windows matrix steps are left alone: they run no Ruby, and a shell prefix would break on Windows. Drop it once AINFRA-3871 bumps `.ruby-version`. --- Generated with the help of Claude Code (Opus 5.5), https://code.claude.com
1 parent c8b2631 commit d05de43

7 files changed

Lines changed: 17 additions & 1 deletion

File tree

‎.buildkite/pipeline.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ steps:
206206
depends_on: input-dev-mac
207207
agents:
208208
queue: mac
209+
# Temporary: drop RBENV_VERSION once .ruby-version is 3.4.13 (AINFRA-3871); the Linux agents lack it until AINFRA-3889/3890/3891.
209210
command: |
211+
export RBENV_VERSION=3.4.13
210212
.buildkite/commands/prepare-environment.sh
211213
212214
.buildkite/commands/install-node-dependencies.sh
@@ -336,6 +338,7 @@ steps:
336338

337339
- label: ":rocket: Distribute Dev Builds"
338340
command: |
341+
export RBENV_VERSION=3.4.13
339342
echo "--- :node: Downloading Binaries"
340343
buildkite-agent artifact download "*.app.zip" .
341344
buildkite-agent artifact download "*.dmg" .
@@ -382,7 +385,7 @@ steps:
382385
depends_on: input-metrics
383386
agents:
384387
queue: mac
385-
command: bash .buildkite/commands/run-metrics-tests.sh
388+
command: RBENV_VERSION=3.4.13 bash .buildkite/commands/run-metrics-tests.sh
386389
# Guards the mac queue: some runs hang until the 3-hour default for reasons still unknown (AINFRA-3506).
387390
# E.g.:
388391
# - https://buildkite.com/automattic/studio/builds/23244

‎.buildkite/release-build-and-distribute.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ steps:
2020
- label: 🔨 Mac Release Build - {{matrix}}
2121
agents:
2222
queue: mac
23+
# Temporary: drop RBENV_VERSION once .ruby-version is 3.4.13 (AINFRA-3871); the Linux agents lack it until AINFRA-3889/3890/3891.
2324
command: |
25+
export RBENV_VERSION=3.4.13
2426
checkout_release_branch "${RELEASE_VERSION}"
2527
2628
.buildkite/commands/prepare-environment.sh
@@ -153,6 +155,7 @@ steps:
153155

154156
- label: ":rocket: Publish Release Builds"
155157
command: |
158+
export RBENV_VERSION=3.4.13
156159
echo "--- :robot_face: Use bot for Git operations"
157160
source use-bot-for-git
158161

‎.buildkite/release-pipelines/code-freeze.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ priority: 1
99
steps:
1010
- label: ":snowflake: Code Freeze"
1111
plugins: [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
12+
# Temporary: drop RBENV_VERSION once .ruby-version is 3.4.13 (AINFRA-3871); the Linux agents lack it until AINFRA-3889/3890/3891.
1213
command: |
14+
export RBENV_VERSION=3.4.13
1315
echo "--- :robot_face: Use bot for Git operations"
1416
source use-bot-for-git
1517

‎.buildkite/release-pipelines/finalize-release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ priority: 1
99
steps:
1010
- label: ":checkered_flag: Finalize Release"
1111
plugins: [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
12+
# Temporary: drop RBENV_VERSION once .ruby-version is 3.4.13 (AINFRA-3871); the Linux agents lack it until AINFRA-3889/3890/3891.
1213
command: |
14+
export RBENV_VERSION=3.4.13
1315
echo "--- :robot_face: Use bot for Git operations"
1416
source use-bot-for-git
1517

‎.buildkite/release-pipelines/new-beta-release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ priority: 1
99
steps:
1010
- label: ":package: New Beta Release"
1111
plugins: [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
12+
# Temporary: drop RBENV_VERSION once .ruby-version is 3.4.13 (AINFRA-3871); the Linux agents lack it until AINFRA-3889/3890/3891.
1213
command: |
14+
export RBENV_VERSION=3.4.13
1315
echo "--- :robot_face: Use bot for Git operations"
1416
source use-bot-for-git
1517

‎.buildkite/release-pipelines/new-hotfix-release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ priority: 1
99
steps:
1010
- label: ":fire: New Hotfix Release"
1111
plugins: [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
12+
# Temporary: drop RBENV_VERSION once .ruby-version is 3.4.13 (AINFRA-3871); the Linux agents lack it until AINFRA-3889/3890/3891.
1213
command: |
14+
export RBENV_VERSION=3.4.13
1315
echo "--- :robot_face: Use bot for Git operations"
1416
source use-bot-for-git
1517

‎.buildkite/release-pipelines/publish-release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ priority: 1
99
steps:
1010
- label: ":shipit: Publish Release"
1111
plugins: [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
12+
# Temporary: drop RBENV_VERSION once .ruby-version is 3.4.13 (AINFRA-3871); the Linux agents lack it until AINFRA-3889/3890/3891.
1213
command: |
14+
export RBENV_VERSION=3.4.13
1315
echo "--- :robot_face: Use bot for Git operations"
1416
source use-bot-for-git
1517

0 commit comments

Comments
 (0)