[go: up one dir, main page]

Skip to content

Update id_tokens getter/setter methods and apply feature flags

What does this MR do and why?

Context

Since some data will be moved to new destinations (e.g. intrinsic data moved to ci_builds and immutable processing data to ci_job_definitions) we need to be able to use feature flags to read/write data to specific destinations.

id_tokens is processing data that will be moved to ci_job_definitions.config.

This MR

Updates the id_tokens getter/setter, moves them to Ci::Metadatable and applies the following feature flags:

Also:

  • Updates the job factory to set the value of id_tokens in both metadata and job_definition.
  • Updates the affected RSpec tests so they no longer mutate id_tokens. (See #565918 (closed) for details on why.)

References

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 #552057 (closed)

Edited by Leaminn Ma

Merge request reports

Loading