Bring external template files into core

Created on 8 February 2024, over 1 year ago
Updated 13 March 2024, about 1 year ago

Problem/Motivation

Drupal core makes reference to this project's variables and workflows files, as seen here: https://git.drupalcode.org/project/drupal/-/blob/11.x/.gitlab-ci.yml?ref...

For example, core pipelines do fail when run on tags as seen here https://git.drupalcode.org/project/drupal/-/pipelines/78804
The reason is because they have this code in the "composer" job:

# Let composer know what self.version means.
  COMPOSER_ROOT_VERSION: "${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}-dev"

But none of those two variables are available on tags, so the string ends up being "-dev".

We would need to fix this issue outside of core, in the "gitlab_templates" (ie: #3419993: Do not run pipelines on tags for Drupal core ), which drives GitLab CI integration for all contrib.
This might not be ideal for core development.

Steps to reproduce

-

Proposed resolution

As agreed with @catch and @longwave in this slack thread (https://drupal.slack.com/archives/C03P8AM3B0Q/p1707206740501299), move the files to core.

Remaining tasks

MR

📌 Task
Status

Fixed

Version

10.2

Component
PHPUnit 

Last updated 1 day ago

Created by

🇪🇸Spain fjgarlin

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024