By jonathan1055 on
Change record status:
Published (View all published change records)
Project:
Introduced in version:
1.6.5 (6 Nov 2024)
Issue links:
Description:
When Drupal 11 became the "current" core major version to test against, the SQLite version had to be increased, which was achieved by using the ubuntu-apache images, instead of the existing apache versions which were the default for versions up to Drupal 10.
The new default value for PHP_IMAGE_VARIANT is 'ubuntu-apache', and this is automatically set to 'apache' when testing "previous major" using the OPT_IN_TEST_PREVIOUS_MAJOR:1 flag.
Log information
If your .gitlab-ci.yml template contains customised variants for Drupal 10, 9 or 8, or you are overriding the DRUPAL_CORE value to test against earlier versions, your pipelines may fail with:
Using Kubernetes executor with image drupalci/php-8.1-ubuntu-apache:production ...
WARNING: Failed to pull image "drupalci/php-8.1-ubuntu-apache:production"
failed to pull and unpack image "docker.io/drupalci/php-8.1-ubuntu-apache:production"
failed to resolve reference "docker.io/drupalci/php-8.1-ubuntu-apache:production": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
Solution
Set the image variant, as follows:
variables:
PHP_IMAGE_VARIANT: 'apache'
Impacts:
Module developers