Introduce Ci::JobDefinition model
Task
Based on the Draft: PoC: split build metadata into `job_prot... (!193948 - closed) we need to create a new table p_ci_job_definitions and relative model Ci::JobDefinition
- Create table
p_ci_job_definitions - Create a table
p_ci_job_definition_instancesto be the association table between definitions andci_builds. - Create
Ci::JobDefinitionmodel (not yet used in the pipeline creation) -
Add JSON schema validation for- TBD in Validate ci_job_definitions.config with JSON sc... (#560157 - closed)configcolumn (reuse existing schema forid_tokensandsecrets)
Edited by Fabio Pitino