Skip to content

Add `id_tokens` field to `ci_builds_metadata`

Avielle Wolfe requested to merge 356986-aw-add-id-token-field into master

What does this MR do and why?

This MR adds an id_tokens JSONB field to the ci_builds_metadata table. This field will be used to store JWT configurations for CI jobs. It is the first MR for #356986 (closed).

Note: the id_tokens field is closely related to the secrets field, and the code in this MR closely matches the secrets code and tests.

Screenshots or screen recordings

Output from migration:

Screenshot_2022-08-09_at_13.29.46

Output from rollback:

Screenshot_2022-08-09_at_13.29.25

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Avielle Wolfe

Merge request reports