Skip to content

Remove downstream_retry_action ff

Frédéric Caplette requested to merge fc-remove-downstream-ff into master

What does this MR do and why?

Clean up the ff for retrying downstream action as everything works as expected on .com.

Screenshots or screen recordings

No visual changes

How to set up and validate locally

  • Setup local runners on your GDK
  • Create a multi-project pipeline. Here is a simple config:
stages:
  - build
  - test
  - deploy

hi:
  stage: "test"
  script: "echo I run only on master"

hi2:
  stage: "deploy"
  script: "echo I run only on master"
  needs: ['hi']

trigger_other_project_okay_really:
  stage: deploy
  trigger:
    include:
      - project: "root/large-pipeline" # replace with another project
        file: ".gitlab-ci.yml"

Then in the other project, any config will do:

job_from_other_project:
  script: echo hello
  • Make sure it is linked to another one of your local project
  • Make the downstream pipeline fail/cancel a job
  • Notice the retry action will appear on the downstream card
  • You can do the same with the upstream (cancel a job)
  • Then go to the downstream project in the related pipeline
  • Notice the upstream has the retry action
  • Click Retry
  • Expand the multi project pipeline graph
  • Notice that the cancelled job has restarted

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading