Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
63eb4dfc
Commit
63eb4dfc
authored
Nov 17, 2020
by
Payton Burdette
Committed by
Nicolò Maria Mezzopera
Nov 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default enable new_pipeline_from
Default enable the flag new_pipeline_form.
parent
88365615
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/controllers/projects/pipelines_controller.rb
app/controllers/projects/pipelines_controller.rb
+1
-1
app/views/projects/pipelines/new.html.haml
app/views/projects/pipelines/new.html.haml
+1
-1
changelogs/unreleased/new-pipeline-form-default-true.yml
changelogs/unreleased/new-pipeline-form-default-true.yml
+5
-0
config/feature_flags/development/new_pipeline_form.yml
config/feature_flags/development/new_pipeline_form.yml
+1
-1
No files found.
app/controllers/projects/pipelines_controller.rb
View file @
63eb4dfc
...
...
@@ -14,7 +14,7 @@ class Projects::PipelinesController < Projects::ApplicationController
before_action
do
push_frontend_feature_flag
(
:dag_pipeline_tab
,
project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:pipelines_security_report_summary
,
project
)
push_frontend_feature_flag
(
:new_pipeline_form
,
project
)
push_frontend_feature_flag
(
:new_pipeline_form
,
project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:graphql_pipeline_header
,
project
,
type: :development
,
default_enabled:
false
)
push_frontend_feature_flag
(
:graphql_pipeline_details
,
project
,
type: :development
,
default_enabled:
false
)
push_frontend_feature_flag
(
:new_pipeline_form_prefilled_vars
,
project
,
type: :development
)
...
...
app/views/projects/pipelines/new.html.haml
View file @
63eb4dfc
...
...
@@ -6,7 +6,7 @@
=
s_
(
'Pipeline|Run Pipeline'
)
%hr
-
if
Feature
.
enabled?
(
:new_pipeline_form
,
@project
)
-
if
Feature
.
enabled?
(
:new_pipeline_form
,
@project
,
default_enabled:
true
)
#js-new-pipeline
{
data:
{
project_id:
@project
.
id
,
pipelines_path:
project_pipelines_path
(
@project
),
config_variables_path:
config_variables_namespace_project_pipelines_path
(
@project
.
namespace
,
@project
),
...
...
changelogs/unreleased/new-pipeline-form-default-true.yml
0 → 100644
View file @
63eb4dfc
---
title
:
Default enable new_pipeline_form
merge_request
:
46915
author
:
type
:
added
config/feature_flags/development/new_pipeline_form.yml
View file @
63eb4dfc
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/229632
milestone
:
'
13.2'
type
:
development
group
:
group::continuous integration
default_enabled
:
fals
e
default_enabled
:
tru
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment