Cleanup `run_pipeline_graphql` feature flag
What does this MR do and why?
This enables the run_pipeline_graphql
feature flag by default and updates the CI schema linting to cover the variables:options
keyword.
The feature flag is already enabled for all projects in production.
Rollout: #372310 (closed)
Screenshots or screen recordings
Update CI Schema Linting
Pre-filled dropdown in the Run Pipeline form
How to set up and validate locally
-
Make sure the feature flag is disabled (
rails c
>Feature.disable(:run_pipeline_graphql)
) -
Add the following to your
.gitlab-ci.yml
config file:stages: - test variables: DEPLOY_ENVIRONMENT: value: "development" options: - "production" - "development" - "staging" description: "The deployment target. Change this variable to 'canary' or 'production' if needed." declare-config-vars: stage: test script: - echo $DEPLOY_ENVIRONMENT
-
Go to CI/CD > Pipelines then click on the
Run Pipeline
button on the upper right corner. -
Verify that the variable
DEPLOY_ENVIRONMENT
is pre-filled in the form with the value"development"
. The dropdown list will have the same values as inoptions.
-
Click on the
Run Pipeline
button. This will create the pipeline with your variables and redirect you to the newly created pipeline. -
Wait for the pipeline to finish then check the job logs. The correct variable values should be printed in the logs.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.