Skip to content

Commit 06aca12

Browse files
committed
Build/Test Tools: Temporarily pin the PHP 8.3 and 8.4 container images to an earlier digest to work around issues with the newer images.
This pins the images to PHP 8.3.10 and 8.4.11 on Debian Bullseye pending further investigation into the root cause of the certificate verification failure affecting the connection to the database containers. This also removes memcached from the test matrix pending further investigation into the missing Memcached executable. Props desrosj, bernhard-reiter, SirLouen, johnbillion. See #63876 git-svn-id: https://develop.svn.wordpress.org/trunk@60660 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1ab39ce commit 06aca12

8 files changed

+59
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
fail-fast: false
9393
matrix:
9494
os: [ ubuntu-24.04 ]
95-
memcached: [ false, true ]
95+
memcached: [ false ]
9696
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
9797
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
9898

.github/workflows/performance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
strategy:
102102
fail-fast: false
103103
matrix:
104-
memcached: [ true, false ]
104+
memcached: [ false ]
105105
multisite: [ true, false ]
106106
subject: ${{ fromJson( needs.determine-matrix.outputs.subjects ) }}
107107
with:
@@ -119,7 +119,7 @@ jobs:
119119
strategy:
120120
fail-fast: false
121121
matrix:
122-
memcached: [ true, false ]
122+
memcached: [ false ]
123123
multisite: [ true, false ]
124124
# A matrix value is needed in the 'name' directive for proper grouping in the GitHub UI.
125125
label: [ Compare ]

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ jobs:
8181
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
8282
persist-credentials: false
8383

84+
- name: Create a Docker override file
85+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php-version ) }}
86+
env:
87+
PHP_VERSION: ${{ inputs.php-version }}
88+
run: cp "tools/local-env/php-$PHP_VERSION-docker-compose.override.yml" docker-compose.override.yml
89+
8490
- name: Set up Node.js
8591
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
8692
with:

.github/workflows/reusable-performance-test-v2.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ jobs:
121121
fetch-depth: ${{ github.event_name == 'workflow_dispatch' && '2' || '1' }}
122122
persist-credentials: false
123123

124+
- name: Create a Docker override file
125+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php-version ) }}
126+
env:
127+
PHP_VERSION: ${{ inputs.php-version }}
128+
run: cp "tools/local-env/php-$PHP_VERSION-docker-compose.override.yml" docker-compose.override.yml
129+
124130
- name: Set up Node.js
125131
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
126132
with:

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ jobs:
136136
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
137137
persist-credentials: false
138138

139+
- name: Create a Docker override file
140+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php ) }}
141+
env:
142+
PHP_VERSION: ${{ inputs.php }}
143+
run: cp "tools/local-env/php-${{ env.PHP_VERSION }}-docker-compose.override.yml" docker-compose.override.yml
144+
139145
- name: Set up Node.js
140146
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
141147
with:

.github/workflows/reusable-test-local-docker-environment-v1.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ jobs:
9191
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
9292
persist-credentials: false
9393

94+
- name: Create a Docker override file
95+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php ) }}
96+
env:
97+
PHP_VERSION: ${{ inputs.php }}
98+
run: cp "tools/local-env/php-$PHP_VERSION-docker-compose.override.yml" docker-compose.override.yml
99+
94100
- name: Set up Node.js
95101
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
96102
with:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This override file is a temporary solution to force the use of specific versions of the
2+
# `wordpressdevelop/php` and `wordpressdevelop/cli` images while the cause of recent failures
3+
# can be investigated. See https://core.trac.wordpress.org/ticket/63876.
4+
services:
5+
6+
php:
7+
image: wordpressdevelop/php@sha256:c0ba85936a9d1ac2c98bf3da2d62ceb0e5787a6b11e383630df0c5a5bf2534b5
8+
9+
cli:
10+
image: wordpressdevelop/cli@sha256:85ad7d7a9c3bd9a8775fc83aea7f7dfc0aad25b2bc4f7d740696b28cd2a0ef89
11+
12+
memcached:
13+
# Pinning to the latest `bookworm` image is a temporary solution
14+
# while the cause of recent failures can be investigated.
15+
# See https://core.trac.wordpress.org/ticket/63876.
16+
image: memcached:1.6.38-bookworm
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This override file is a temporary solution to force the use of specific versions of the
2+
# `wordpressdevelop/php` and `wordpressdevelop/cli` images while the cause of recent failures
3+
# can be investigated. See https://core.trac.wordpress.org/ticket/63876.
4+
services:
5+
6+
php:
7+
image: wordpressdevelop/php@sha256:56d6cbf10d25bfcb80852c09c2fc2e967922881b233b6161ad2999df509eb59a
8+
9+
cli:
10+
image: wordpressdevelop/cli@sha256:379f27b0c623c5cee5a7fbef1d617ce47fd3ba19158bac2e51861876fd68fdbf
11+
12+
memcached:
13+
# Pinning to the latest `bookworm` image is a temporary solution
14+
# while the cause of recent failures can be investigated.
15+
# See https://core.trac.wordpress.org/ticket/63876.
16+
image: memcached:1.6.38-bookworm

0 commit comments

Comments
 (0)