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

Command icon 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

longwave created an issue. See original summary.

longwave credited fjgarlin.

longwave credited Spokje.

longwave’s picture

Status: Active » Needs review

Crediting 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).

fjgarlin’s picture

Status: Needs review » Reviewed & tested by the community

Changes look good. Hopefully that'll be enough but we won't know until the schedule kicks in.

alexpott’s picture

Version: 11.x-dev » 10.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed 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.

  • alexpott committed f93c9aa5 on 10.2.x
    Issue #3428112 by longwave, fjgarlin, Spokje: Fix daily updated deps job...

  • alexpott committed 28352d32 on 10.3.x
    Issue #3428112 by longwave, fjgarlin, Spokje: Fix daily updated deps job...

  • alexpott committed d71f6de6 on 11.x
    Issue #3428112 by longwave, fjgarlin, Spokje: Fix daily updated deps job
    
spokje’s picture

Confirming 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.