Add PEP source to job options
What does this MR do and why?
Add config_sha and config_uri to PEP-triggered jobs options so that it can be later added as claims to ID tokens.
References
- Scope policy job options under a single key (!208845 - merged)
-
👉 This one: Add PEP source to job options (!190625) - Draft: Add SEP policy source to job options (!209673)
- Draft: Add policy source claims to id_tokens (!209823)
How to set up and validate locally
- Setup a project with a pipeline execution policy
- Trigger a pipeline
- Verify the policy job options include
config_shaandconfig_uriCi::Build.find(<id>).options
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #459001
Edited by Martin Čavoj