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
90c5a248
Commit
90c5a248
authored
Nov 08, 2018
by
Steve Azzopardi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflicts on ci normalizer
Fix conflict for ce-to-ee-2018-11-07
parent
f7c2f348
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
lib/gitlab/ci/config/normalizer.rb
lib/gitlab/ci/config/normalizer.rb
+0
-13
No files found.
lib/gitlab/ci/config/normalizer.rb
View file @
90c5a248
...
...
@@ -9,24 +9,16 @@ module Gitlab
end
def
normalize_jobs
<<<<<<<
HEAD
extract_parallelized_jobs
=======
extract_parallelized_jobs!
return
@jobs_config
if
@parallelized_jobs
.
empty?
>>>>>>>
upstream
/
master
parallelized_config
=
parallelize_jobs
parallelize_dependencies
(
parallelized_config
)
end
private
<<<<<<<
HEAD
def
extract_parallelized_jobs
=======
def
extract_parallelized_jobs!
>>>>>>>
upstream
/
master
@parallelized_jobs
=
{}
@jobs_config
.
each
do
|
job_name
,
config
|
...
...
@@ -51,13 +43,8 @@ module Gitlab
end
def
parallelize_dependencies
(
parallelized_config
)
<<<<<<<
HEAD
parallelized_config
.
each_with_object
({})
do
|
(
job_name
,
config
),
hash
|
parallelized_job_names
=
@parallelized_jobs
.
keys
.
map
(
&
:to_s
)
=======
parallelized_job_names
=
@parallelized_jobs
.
keys
.
map
(
&
:to_s
)
parallelized_config
.
each_with_object
({})
do
|
(
job_name
,
config
),
hash
|
>>>>>>>
upstream
/
master
if
config
[
:dependencies
]
&&
(
intersection
=
config
[
:dependencies
]
&
parallelized_job_names
).
any?
deps
=
intersection
.
map
{
|
dep
|
@parallelized_jobs
[
dep
.
to_sym
].
map
(
&
:first
)
}.
flatten
hash
[
job_name
]
=
config
.
merge
(
dependencies:
deps
)
...
...
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