Log policy job information

What does this MR do?

This MR adds logging of policy options for policy jobs. It requires a few additions on the Rails side in build_runner_presenter. See more context here.

Rails-side implementation is done in gitlab!193187 (merged).

Why was this MR needed?

This logging improves visibility into policy-overriding behavior. A policy can override variable precedence and currently it's not clear when a difference precedence was applied.

Related to gitlab#541922 (closed).

What's the best way to test this MR?

Follow the validation steps in gitlab!186120 (merged) to set up a pipeline execution policy and observe the new logs.

What are the relevant issue numbers?

gitlab#541922 (closed)

Edited by Martin Cavoj

Merge request reports

Loading