Commit 05058e93 authored by Nick Thomas's avatar Nick Thomas

Merge branch '229632-new_pipeline_form-yaml-setting' into 'master'

Swap defaults of new_pipeline_form for ":yaml"

See merge request gitlab-org/gitlab!54710
parents 46e50425 b239750b
...@@ -14,7 +14,7 @@ class Projects::PipelinesController < Projects::ApplicationController ...@@ -14,7 +14,7 @@ class Projects::PipelinesController < Projects::ApplicationController
before_action :authorize_update_pipeline!, only: [:retry, :cancel] before_action :authorize_update_pipeline!, only: [:retry, :cancel]
before_action do before_action do
push_frontend_feature_flag(:pipelines_security_report_summary, project, default_enabled: :yaml) push_frontend_feature_flag(:pipelines_security_report_summary, project, default_enabled: :yaml)
push_frontend_feature_flag(:new_pipeline_form, project, default_enabled: true) push_frontend_feature_flag(:new_pipeline_form, project, default_enabled: :yaml)
push_frontend_feature_flag(:graphql_pipeline_details, project, type: :development, default_enabled: :yaml) push_frontend_feature_flag(:graphql_pipeline_details, project, type: :development, default_enabled: :yaml)
push_frontend_feature_flag(:graphql_pipeline_details_users, current_user, type: :development, default_enabled: :yaml) push_frontend_feature_flag(:graphql_pipeline_details_users, current_user, type: :development, default_enabled: :yaml)
push_frontend_feature_flag(:ci_mini_pipeline_gl_dropdown, project, type: :development, default_enabled: :yaml) push_frontend_feature_flag(:ci_mini_pipeline_gl_dropdown, project, type: :development, default_enabled: :yaml)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
= s_('Pipeline|Run Pipeline') = s_('Pipeline|Run Pipeline')
%hr %hr
- if Feature.enabled?(:new_pipeline_form, @project, default_enabled: true) - if Feature.enabled?(:new_pipeline_form, @project, default_enabled: :yaml)
#js-new-pipeline{ data: { project_id: @project.id, #js-new-pipeline{ data: { project_id: @project.id,
pipelines_path: project_pipelines_path(@project), pipelines_path: project_pipelines_path(@project),
config_variables_path: config_variables_namespace_project_pipelines_path(@project.namespace, @project), config_variables_path: config_variables_namespace_project_pipelines_path(@project.namespace, @project),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment