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
d7e8c80d
Commit
d7e8c80d
authored
Sep 05, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts ci/build.rb, api/entities.rb
parent
b0ad8db0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
app/models/ci/build.rb
app/models/ci/build.rb
+0
-6
lib/api/entities.rb
lib/api/entities.rb
+1
-5
No files found.
app/models/ci/build.rb
View file @
d7e8c80d
...
...
@@ -4,10 +4,7 @@ module Ci
include
AfterCommitQueue
include
Presentable
include
Importable
<<<<<<<
HEAD
prepend
EE
::
Build
=======
>>>>>>>
ce
-
com
/
master
belongs_to
:runner
belongs_to
:trigger_request
...
...
@@ -42,10 +39,7 @@ module Ci
scope
:with_expired_artifacts
,
->
()
{
with_artifacts
.
where
(
'artifacts_expire_at < ?'
,
Time
.
now
)
}
scope
:last_month
,
->
()
{
where
(
'created_at > ?'
,
Date
.
today
-
1
.
month
)
}
scope
:manual_actions
,
->
()
{
where
(
when: :manual
,
status:
COMPLETED_STATUSES
+
[
:manual
])
}
<<<<<<<
HEAD
scope
:codequality
,
->
()
{
where
(
name:
%w[codequality codeclimate]
)
}
=======
>>>>>>>
ce
-
com
/
master
scope
:ref_protected
,
->
{
where
(
protected:
true
)
}
mount_uploader
:artifacts_file
,
ArtifactUploader
...
...
lib/api/entities.rb
View file @
d7e8c80d
...
...
@@ -914,8 +914,7 @@ module API
class
Variable
<
Grape
::
Entity
expose
:key
,
:value
<<<<<<<
HEAD
expose
:protected?
,
as: :protected
expose
:protected?
,
as: :protected
,
if:
->
(
entity
,
_
)
{
entity
.
respond_to?
(
:protected?
)
}
# EE
expose
:environment_scope
,
if:
->
(
variable
,
options
)
{
...
...
@@ -923,9 +922,6 @@ module API
variable
.
project
.
feature_available?
(
:variable_environment_scope
)
end
}
=======
expose
:protected?
,
as: :protected
,
if:
->
(
entity
,
_
)
{
entity
.
respond_to?
(
:protected?
)
}
>>>>>>>
ce
-
com
/
master
end
class
Pipeline
<
PipelineBasic
...
...
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