Skip to content

Add new run keyword under job

Rajendra Kadam requested to merge 440487-run-keyword into master

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 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

  1. Setup runner locally using docker by following runner setup.
  2. Copy sample step config from the comment
  3. The job should run successfully without any issues.
  4. Check Ci::BuildExecutionConfig store the run_steps and associate it with the build and the pipeline you just ran.

Related to #440487 (closed)

Edited by Rajendra Kadam

Merge request reports