Skip to content

Validate key field in CI variables form

Mireya Andres requested to merge update-ci-variable-key-validation into master

What does this MR do and why?

Resolves #410220 (closed)

This adds a docs link and a proper validation message to the key field in the CI variables drawer.

Screenshots or screen recordings

Screen_Recording_2023-11-21_at_13.07.38

How to set up and validate locally

  1. Go to Settings > CI/CD > Variables.
  2. Click on the Add variable button.
  3. In the drawer, verify that the link to the variables precedence docs is rendered.
  4. Verify that the feedback message is rendered when the key does not meet the requirements.

MR acceptance checklist

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

#418331 (closed)

Edited by Veethika Mishra

Merge request reports