Skip to content

WIP: Store processed gitlab-ci.yaml config

What does this MR do?

A release node is being added to gitlab-ci.yaml, and it will be actioned only if the pipeline is green. The processing of the configuration occurs at the beginning of a pipeline, and will be stored to be accessible to the code to process the release upon pipeline success.

This MR will store the parsed configuration, probably in Ci::Build.ci_builds_metadata for later processing.

Parser:

  • Gitlab::Ci::YamlProcessor
  • Gitlab::Ci::Config

After success hooks:

  • BuildSuccessWorker

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #26013 (closed)

Edited by Sean Carroll

Merge request reports