Problem/Motivation
In #3420165: Recreate the "updated deps" job from DrupalCI we added a daily job to run tests with updated dependencies, but this currently fails with "Pipeline filtered out by workflow rules": https://git.drupalcode.org/project/drupal/-/pipelines/119639
This is because the pipeline recurses into itself, but then the top level workflow:rules section is not configured to allow this.
Steps to reproduce
Proposed resolution
Add
- if: $CI_PIPELINE_SOURCE == 'parent_pipeline'
to workflow:rules.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3428112
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
longwaveCrediting Spokje and fjgarlin for reporting and discussion in Slack.
This should be committed to 11.x and 10.3.x for the time being; discussed with Spokje and we will figure out how/when to remove this from 10.3.x at a later date (after 10.3.0 is released there is no use for this job, but it is helpful until then).
Comment #6
fjgarlin commentedChanges look good. Hopefully that'll be enough but we won't know until the schedule kicks in.
Comment #7
alexpottCommitted and pushed d71f6de688 to 11.x and 28352d3288 to 10.3.x and f93c9aa5e0 to 10.2.x. Thanks!
Backported to 10.2.x to keep everything aligned.
Comment #11
spokjeConfirming the updated-deps job now runs correctly in the scheduled daily runs, see https://git.drupalcode.org/project/drupal/-/pipelines/121984 as a result for the 11.x one.