An error occurred while fetching this tab.
Part 1: Abstract pipeline_variables_form to its own component
- Feb 26, 2025
-
-
Briley Sandlin authored
-
Briley Sandlin authored
Prerequisite for support of pipeline inputs Changelog: changed
-
Part 1 for #520831 (closed)
ci_inputs_for_pipelines
We need to abstract the pipeline variables form to it's own component in order to accommodate inputs work and also hide the component depending on settings.
Part 1 simply stubs out the new component and it's test file.
Step | MR |
---|---|
Set up component/query | [Current MR] |
Build out pipeline variable form component | !182455 (merged) |
Clean up and integration | !182475 (merged) |
With the flag disabled, there should be no UI change.
with flag enabled | with flag disabled |
---|---|
![]() |
![]() |
Feature.enable(:ci_inputs_for_pipelines)
variables:
DEPLOY_ENVIRONMENT:
value: "staging"
options:
- "production"
- "staging"
- "canary"
description: "The deployment target. Set to 'staging' by default."
job:
script: echo 1
-/pipelines/new
and verify that your variables are output where the pipeline variables form should be.pipeline_new_form.vue
that says visitUrl(pipeline.path)
, click the "New pipeline" button, and check the network tab.Prerequisite for support of pipeline inputs Changelog: changed