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
026b154f
Commit
026b154f
authored
Sep 08, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove EE::Ci::Pipeline#initialize_yaml_processor
parent
f7f77a8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
app/models/ci/pipeline.rb
app/models/ci/pipeline.rb
+1
-1
ee/app/models/ee/ci/pipeline.rb
ee/app/models/ee/ci/pipeline.rb
+0
-4
No files found.
app/models/ci/pipeline.rb
View file @
026b154f
...
@@ -488,7 +488,7 @@ module Ci
...
@@ -488,7 +488,7 @@ module Ci
end
end
def
initialize_yaml_processor
def
initialize_yaml_processor
Gitlab
::
Ci
::
YamlProcessor
.
new
(
ci_yaml_file
)
::
Gitlab
::
Ci
::
YamlProcessor
.
new
(
ci_yaml_file
,
{
project:
project
,
sha:
sha
}
)
end
end
def
ci_yaml_file_path
def
ci_yaml_file_path
...
...
ee/app/models/ee/ci/pipeline.rb
View file @
026b154f
...
@@ -54,10 +54,6 @@ module EE
...
@@ -54,10 +54,6 @@ module EE
@dast_artifact
||=
artifacts_with_files
.
find
(
&
:has_dast_json?
)
@dast_artifact
||=
artifacts_with_files
.
find
(
&
:has_dast_json?
)
end
end
def
initialize_yaml_processor
::
Gitlab
::
Ci
::
YamlProcessor
.
new
(
ci_yaml_file
,
{
project:
project
,
sha:
sha
})
end
def
has_sast_data?
def
has_sast_data?
sast_artifact
&
.
success?
sast_artifact
&
.
success?
end
end
...
...
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