`retry` isn't taken in account for Merge Train pipeline jobs?
Description
We do have retry: 2
for build-qa-image
here: https://gitlab.com/gitlab-org/gitlab/-/blob/deb72ebbf4296adc8df594df335df192837f321b/.gitlab/ci/build-images.gitlab-ci.yml#L13 but somehow https://gitlab.com/gitlab-org/gitlab/-/jobs/717571700 wasn’t retried (in the merge train pipeline)?
We shipped #14853 (closed) to hide retry pipeline buttons for pipelines for merge trains, however, it currently prevents job-level auto-retry from working correctly.
It should work as:
- Job-level Auto Retry (i.e.
retry
keyword in .gitlab-ci.yml) should retry a job when it's failed. - Pipeline-level Manual Retry should not work when the pipeline failed because the MR is already dropped from the train.
- Optional: Job-level Manual Retry should work as long as the pipeline is running status.
Edited by Shinya Maeda