Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

Frontend: Add predefined variables to the linter schema

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Work on this issue
  • Close this issue

Summary

Users expect predefined variables to show up on the pipeline editor's autosuggest list.

Screen_Recording_2022-05-02_at_14.44.22

The ones that come up in this video is because the variables have been used before somewhere in the file (for example, $CI_REGISTRY_IMAGE is already used in the IMAGE_TAG). It looks like the editor automatically adds user-defined variables in its autosuggest list. However, it won't suggested predefined variables that are not yet used in the file, such as $CI_REGISTRY

For context, this issue was brought up in a slack conversation a while back.

Proposal

We should add the predefined variables to the CI schema. We have the variables documented here

Edited Jul 26, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading