Fix retrying a deployment bridge job doesn't create deployment record
This MR is on top of Refactor `Deployment` compatible with `Ci::Buil... (!128192 - merged).
What does this MR do and why?
When a job is retired and it's a deployment job, Deployment
records need to be re-created as well. This MR fixes that bridge jobs are not re-creating it currently.
See Support `environment` keyword with `trigger` ke... (#369061 - closed) for more information.
Screenshots or screen recordings
N/A (This feature is not surfaced to users yet.)
How to set up and validate locally
N/A (This feature is not surfaced to users yet.)
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 Shinya Maeda