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
b239750b
Commit
b239750b
authored
Feb 19, 2021
by
Miguel Rincon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swap defaults of new_pipeline_form for ":yaml"
parent
d54e6dc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
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
No files found.
app/controllers/projects/pipelines_controller.rb
View file @
b239750b
...
...
@@ -14,7 +14,7 @@ class Projects::PipelinesController < Projects::ApplicationController
before_action
:authorize_update_pipeline!
,
only:
[
:retry
,
:cancel
]
before_action
do
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_users
,
current_user
,
type: :development
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:ci_mini_pipeline_gl_dropdown
,
project
,
type: :development
,
default_enabled: :yaml
)
...
...
app/views/projects/pipelines/new.html.haml
View file @
b239750b
...
...
@@ -6,7 +6,7 @@
=
s_
(
'Pipeline|Run Pipeline'
)
%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
,
pipelines_path:
project_pipelines_path
(
@project
),
config_variables_path:
config_variables_namespace_project_pipelines_path
(
@project
.
namespace
,
@project
),
...
...
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