Skip to content

Commit 015148d

Browse files
committed
Build/Test Tools: Avoid using *-latest tags for runner images.
While using the `ubuntu-latest`, `macos-latest`, and `windows-latest` runner image tags is convenient, it has proven to be problematic in a number of instances as the runners are slowly updated (see #62808 and #62843). This switches all workflows to using specific version tags representing the latest non-preview versions, which currently are as follows: - `ubuntu-24.04` - `windows-2022` - `macos-14` Props swissspidy, johnbillion. See #62221. git-svn-id: https://develop.svn.wordpress.org/trunk@59720 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1af0e6c commit 015148d

33 files changed

+69
-69
lines changed

.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080

8181
failed-workflow:
8282
name: Failed workflow tasks
83-
runs-on: ubuntu-latest
83+
runs-on: ubuntu-24.04
8484
permissions:
8585
actions: write
8686
needs: [ phpcs, jshint, slack-notifications ]

.github/workflows/end-to-end-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767

6868
failed-workflow:
6969
name: Failed workflow tasks
70-
runs-on: ubuntu-latest
70+
runs-on: ubuntu-24.04
7171
permissions:
7272
actions: write
7373
needs: [ e2e-tests, slack-notifications ]

.github/workflows/failed-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# - Restarts all failed jobs when the workflow fails or is cancelled for the first time.
2424
failed-workflow:
2525
name: Rerun a workflow
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-24.04
2727
permissions:
2828
actions: write
2929
timeout-minutes: 30

.github/workflows/install-testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
fail-fast: false
7171
matrix:
72-
os: [ ubuntu-latest ]
72+
os: [ ubuntu-24.04 ]
7373
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
7474
db-type: [ 'mysql' ]
7575
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
@@ -152,7 +152,7 @@ jobs:
152152

153153
failed-workflow:
154154
name: Failed workflow tasks
155-
runs-on: ubuntu-latest
155+
runs-on: ubuntu-24.04
156156
permissions:
157157
actions: write
158158
needs: [ slack-notifications ]

.github/workflows/javascript-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070

7171
failed-workflow:
7272
name: Failed workflow tasks
73-
runs-on: ubuntu-latest
73+
runs-on: ubuntu-24.04
7474
permissions:
7575
actions: write
7676
needs: [ slack-notifications ]

.github/workflows/local-docker-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
fail-fast: false
8484
matrix:
85-
os: [ ubuntu-latest ]
85+
os: [ ubuntu-24.04 ]
8686
memcached: [ false, true ]
8787
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
8888
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
@@ -123,7 +123,7 @@ jobs:
123123

124124
failed-workflow:
125125
name: Failed workflow tasks
126-
runs-on: ubuntu-latest
126+
runs-on: ubuntu-24.04
127127
permissions:
128128
actions: write
129129
needs: [ build-test-matrix, environment-tests-mysql, slack-notifications ]

.github/workflows/performance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666

6767
failed-workflow:
6868
name: Failed workflow tasks
69-
runs-on: ubuntu-latest
69+
runs-on: ubuntu-24.04
7070
permissions:
7171
actions: write
7272
needs: [ slack-notifications ]

.github/workflows/php-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767

6868
failed-workflow:
6969
name: Failed workflow tasks
70-
runs-on: ubuntu-latest
70+
runs-on: ubuntu-24.04
7171
permissions:
7272
actions: write
7373
needs: [ slack-notifications ]

.github/workflows/phpunit-tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
os: [ ubuntu-latest ]
47+
os: [ ubuntu-24.04 ]
4848
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
4949
db-type: [ 'mysql' ]
5050
db-version: [ '5.7', '8.0', '8.4' ]
@@ -54,37 +54,37 @@ jobs:
5454

5555
include:
5656
# Include jobs that test with memcached.
57-
- os: ubuntu-latest
57+
- os: ubuntu-24.04
5858
php: '8.3'
5959
db-type: 'mysql'
6060
db-version: '8.4'
6161
tests-domain: 'example.org'
6262
multisite: false
6363
memcached: true
64-
- os: ubuntu-latest
64+
- os: ubuntu-24.04
6565
php: '8.3'
6666
db-type: 'mysql'
6767
db-version: '8.4'
6868
tests-domain: 'example.org'
6969
multisite: true
7070
memcached: true
7171
# Include jobs with a port on the test domain for both single and multisite.
72-
- os: ubuntu-latest
72+
- os: ubuntu-24.04
7373
php: '8.4'
7474
db-type: 'mysql'
7575
db-version: '8.4'
7676
tests-domain: 'example.org:8889'
7777
multisite: false
7878
memcached: false
79-
- os: ubuntu-latest
79+
- os: ubuntu-24.04
8080
php: '8.4'
8181
db-type: 'mysql'
8282
db-version: '8.4'
8383
tests-domain: 'example.org:8889'
8484
multisite: true
8585
memcached: false
8686
# Report test results to the Host Test Results.
87-
- os: ubuntu-latest
87+
- os: ubuntu-24.04
8888
db-type: 'mysql'
8989
db-version: '8.4'
9090
tests-domain: 'example.org'
@@ -115,7 +115,7 @@ jobs:
115115
strategy:
116116
fail-fast: false
117117
matrix:
118-
os: [ ubuntu-latest ]
118+
os: [ ubuntu-24.04 ]
119119
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
120120
db-type: [ 'mariadb' ]
121121
db-version: [ '5.5', '10.3', '10.4', '10.5', '10.6', '10.11', '11.4' ]
@@ -124,13 +124,13 @@ jobs:
124124

125125
include:
126126
# Include jobs that test with memcached.
127-
- os: ubuntu-latest
127+
- os: ubuntu-24.04
128128
php: '8.3'
129129
db-type: 'mariadb'
130130
db-version: '11.4'
131131
multisite: false
132132
memcached: true
133-
- os: ubuntu-latest
133+
- os: ubuntu-24.04
134134
php: '8.3'
135135
db-type: 'mariadb'
136136
db-version: '11.4'
@@ -165,7 +165,7 @@ jobs:
165165
strategy:
166166
fail-fast: false
167167
matrix:
168-
os: [ ubuntu-latest ]
168+
os: [ ubuntu-24.04 ]
169169
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
170170
db-type: [ 'mysql', 'mariadb' ]
171171
db-version: [ '9.1', '11.6' ]
@@ -236,7 +236,7 @@ jobs:
236236

237237
failed-workflow:
238238
name: Failed workflow tasks
239-
runs-on: ubuntu-latest
239+
runs-on: ubuntu-24.04
240240
permissions:
241241
actions: write
242242
needs: [ slack-notifications ]

.github/workflows/props-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# - Removes the props-bot label, if necessary.
4949
props-bot:
5050
name: Generate a list of props
51-
runs-on: ubuntu-latest
51+
runs-on: ubuntu-24.04
5252
permissions:
5353
# The action needs permission `write` permission for PRs in order to add a comment.
5454
pull-requests: write

0 commit comments

Comments
 (0)