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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
02c7dcf6
Commit
02c7dcf6
authored
Dec 21, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename some pipeline and build related entities
[ci skip]
parent
d549a965
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
app/serializers/build_action_entity.rb
app/serializers/build_action_entity.rb
+1
-1
app/serializers/build_artifact_entity.rb
app/serializers/build_artifact_entity.rb
+1
-1
app/serializers/pipeline_entity.rb
app/serializers/pipeline_entity.rb
+3
-3
app/serializers/stage_entity.rb
app/serializers/stage_entity.rb
+1
-1
spec/serializers/build_action_entity_spec.rb
spec/serializers/build_action_entity_spec.rb
+1
-1
spec/serializers/build_artifact_entity_spec.rb
spec/serializers/build_artifact_entity_spec.rb
+1
-1
No files found.
app/serializers/
pipeline
_action_entity.rb
→
app/serializers/
build
_action_entity.rb
View file @
02c7dcf6
class
Pipeline
ActionEntity
<
Grape
::
Entity
class
Build
ActionEntity
<
Grape
::
Entity
include
RequestAwareEntity
expose
:name
do
|
build
|
...
...
app/serializers/
pipeline
_artifact_entity.rb
→
app/serializers/
build
_artifact_entity.rb
View file @
02c7dcf6
class
Pipeline
ArtifactEntity
<
Grape
::
Entity
class
Build
ArtifactEntity
<
Grape
::
Entity
include
RequestAwareEntity
expose
:name
do
|
build
|
...
...
app/serializers/pipeline_entity.rb
View file @
02c7dcf6
...
...
@@ -20,9 +20,9 @@ class PipelineEntity < Grape::Entity
expose
:duration
expose
:finished_at
expose
:stages
,
using:
Pipeline
StageEntity
expose
:artifacts
,
using:
Pipeline
ArtifactEntity
expose
:manual_actions
,
using:
Pipeline
ActionEntity
expose
:stages
,
using:
StageEntity
expose
:artifacts
,
using:
Build
ArtifactEntity
expose
:manual_actions
,
using:
Build
ActionEntity
end
expose
:flags
do
...
...
app/serializers/
pipeline_
stage_entity.rb
→
app/serializers/stage_entity.rb
View file @
02c7dcf6
class
Pipeline
StageEntity
<
Grape
::
Entity
class
StageEntity
<
Grape
::
Entity
include
RequestAwareEntity
expose
:name
...
...
spec/serializers/
pipeline
_action_entity_spec.rb
→
spec/serializers/
build
_action_entity_spec.rb
View file @
02c7dcf6
require
'spec_helper'
describe
Pipeline
ActionEntity
do
describe
Build
ActionEntity
do
let
(
:build
)
{
create
(
:ci_build
,
name:
'test_build'
)
}
let
(
:entity
)
do
...
...
spec/serializers/
pipeline
_artifact_entity_spec.rb
→
spec/serializers/
build
_artifact_entity_spec.rb
View file @
02c7dcf6
require
'spec_helper'
describe
Pipeline
ArtifactEntity
do
describe
Build
ArtifactEntity
do
let
(
:build
)
{
create
(
:ci_build
,
name:
'test:build'
)
}
let
(
:entity
)
do
...
...
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