Set the Drupal version used by GitLab CI jobs

Created on 17 September 2025, 5 days ago

Problem/Motivation

When GitLab CI runs the phpunit job, the log contains errors like the following one.

Unable to install modules: module 'user_restrictions' is incompatible with this version of Drupal core.

That is because GitLab CI uses Drupal 11, while the module requires either Drupal 9 or Drupal 10.

Proposed resolution

In the .gitlab-ci.yml file, explicitly set the DRUPAL_CORE variable to "10.5.3".

📌 Task
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024