Skip to content

Fail job that has CI secrets but Vault server configuration is missing

Krasimir Angelov requested to merge ci-secrets-missing-vault-server into master

What does this MR do?

This MR builds on top of !34898 (merged) and adds new failure reason for jobs that have CI secrets defined but there is no secrets provider (i.e. Vault) available. Such jobs will be dropped with failure reason secrets_provider_not_found.

Related to #218746 (comment 351070788):

Missing server details: we can fail job on Rails as missing with a dedicated failure_reason?

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
Edited by Krasimir Angelov

Merge request reports