Adds ability for bridge to be retryable
What does this MR do and why?
Adds the retryable
functionality to CI::Bridge
, under the ci_recreate_downstream_pipeline
flag.
How to set up and validate locally
Add a config that triggers a downstream pipeline. Simple example:
# gitlab-ci.yml
bridge_job:
trigger:
include: child-pipeline.yml
# child-pipeline.yml
job_x:
script: ls
With the feature flag on, you will be able to see a retry icon in any bridge/trigger job:
Note - the frontend has not yet been updated, which is why you will see a downstream pipeline created for every retry of the trigger job, like in the gif above.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Laura Montemayor