composer job runs when OPT_IN_TEST_CURRENT=0 and SKIP_ESLINT=1

Created on 13 June 2025, 1 day ago

Problem/Motivation

I want to run CI pipeline only for the previous major, D10 to be precise, until my module is ready for D11.

Steps to reproduce

Define the following variables in your `.gitlab-ci.yml`:

  • SKIP_ESLINT: '1'
  • OPT_IN_TEST_CURRENT: '0'
  • OPT_IN_TEST_PREVIOUS_MAJOR: '1'

Expected behaviour - composer job is not created.
Actual behaviour - composer job is created.

Pipeline example: https://git.drupalcode.org/project/drupalauth4ssp/-/pipelines/521082

Related merge request: https://git.drupalcode.org/project/drupalauth4ssp/-/merge_requests/15

Proposed resolution

Fix the logic

Remaining tasks

🐛 Bug report
Status

Active

Component

gitlab-ci

Created by

🇳🇿New Zealand RoSk0 Wellington

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

Comments & Activities

Production build 0.71.5 2024