Add new run keyword under job
What does this MR do and why?
Step | Status |
---|---|
Database table for storing run execution config | !150451 (merged) |
Database changes follow-up | !152760 (merged) |
Implement the actual run keyword (This MR) |
!146333 (merged) You are here. |
Follow-up from run keyword to avoid duplication in options | #471738 (closed) |
This MR adds support for job-level run
keyword.
We store the run
config in BuildExecutionConfig
and pass on to the runner in job response.
More details about the keyword and motivation - #440487 (closed)
This keyword is behind a feature flag - #471925 (closed) We will enable the FF once the above table of issues are implementation complete.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
NA
How to set up and validate locally
- Setup runner locally using docker by following runner setup.
- Copy sample step config from the comment
- The job should run successfully without any issues.
- Check
Ci::BuildExecutionConfig
store therun_steps
and associate it with the build and the pipeline you just ran.
Related to #440487 (closed)
Edited by Rajendra Kadam