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
356298e8
Commit
356298e8
authored
Jul 22, 2020
by
pburdette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flip off new_pipeline_form
Flip off feature flag becuase gitlab-ci.yml configs are acting up.
parent
b6ec7c15
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 @
356298e8
...
@@ -17,7 +17,7 @@ class Projects::PipelinesController < Projects::ApplicationController
...
@@ -17,7 +17,7 @@ class Projects::PipelinesController < Projects::ApplicationController
push_frontend_feature_flag
(
:filter_pipelines_search
,
project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:filter_pipelines_search
,
project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:dag_pipeline_tab
,
project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:dag_pipeline_tab
,
project
,
default_enabled:
true
)
push_frontend_feature_flag
(
:pipelines_security_report_summary
,
project
)
push_frontend_feature_flag
(
:pipelines_security_report_summary
,
project
)
push_frontend_feature_flag
(
:new_pipeline_form
,
default_enabled:
true
)
push_frontend_feature_flag
(
:new_pipeline_form
)
end
end
before_action
:ensure_pipeline
,
only:
[
:show
]
before_action
:ensure_pipeline
,
only:
[
:show
]
...
...
app/views/projects/pipelines/new.html.haml
View file @
356298e8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
s_
(
'Pipeline|Run Pipeline'
)
=
s_
(
'Pipeline|Run Pipeline'
)
%hr
%hr
-
if
Feature
.
enabled?
(
:new_pipeline_form
,
default_enabled:
true
)
-
if
Feature
.
enabled?
(
:new_pipeline_form
)
#js-new-pipeline
{
data:
{
project_id:
@project
.
id
,
pipelines_path:
project_pipelines_path
(
@project
),
ref_param:
params
[
:ref
]
||
@project
.
default_branch
,
var_param:
params
[
:var
].
to_json
,
file_param:
params
[
:file_var
].
to_json
,
ref_names:
@project
.
repository
.
ref_names
.
to_json
.
html_safe
,
settings_link:
project_settings_ci_cd_path
(
@project
)
}
}
#js-new-pipeline
{
data:
{
project_id:
@project
.
id
,
pipelines_path:
project_pipelines_path
(
@project
),
ref_param:
params
[
:ref
]
||
@project
.
default_branch
,
var_param:
params
[
:var
].
to_json
,
file_param:
params
[
:file_var
].
to_json
,
ref_names:
@project
.
repository
.
ref_names
.
to_json
.
html_safe
,
settings_link:
project_settings_ci_cd_path
(
@project
)
}
}
-
else
-
else
...
...
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