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
Léo-Paul Géneau
gitlab-ce
Commits
0c7168b9
Commit
0c7168b9
authored
Dec 02, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add information about badge test to core statuses
parent
119757ac
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
60 additions
and
0 deletions
+60
-0
lib/gitlab/ci/status/core/canceled.rb
lib/gitlab/ci/status/core/canceled.rb
+4
-0
lib/gitlab/ci/status/core/created.rb
lib/gitlab/ci/status/core/created.rb
+4
-0
lib/gitlab/ci/status/core/failed.rb
lib/gitlab/ci/status/core/failed.rb
+4
-0
lib/gitlab/ci/status/core/pending.rb
lib/gitlab/ci/status/core/pending.rb
+4
-0
lib/gitlab/ci/status/core/running.rb
lib/gitlab/ci/status/core/running.rb
+4
-0
lib/gitlab/ci/status/core/skipped.rb
lib/gitlab/ci/status/core/skipped.rb
+4
-0
lib/gitlab/ci/status/core/success.rb
lib/gitlab/ci/status/core/success.rb
+4
-0
lib/gitlab/ci/status/extended/pipeline/success_with_warnings.rb
...tlab/ci/status/extended/pipeline/success_with_warnings.rb
+4
-0
spec/lib/gitlab/ci/status/core/canceled_spec.rb
spec/lib/gitlab/ci/status/core/canceled_spec.rb
+4
-0
spec/lib/gitlab/ci/status/core/created_spec.rb
spec/lib/gitlab/ci/status/core/created_spec.rb
+4
-0
spec/lib/gitlab/ci/status/core/failed_spec.rb
spec/lib/gitlab/ci/status/core/failed_spec.rb
+4
-0
spec/lib/gitlab/ci/status/core/pending_spec.rb
spec/lib/gitlab/ci/status/core/pending_spec.rb
+4
-0
spec/lib/gitlab/ci/status/core/running_spec.rb
spec/lib/gitlab/ci/status/core/running_spec.rb
+4
-0
spec/lib/gitlab/ci/status/core/skipped_spec.rb
spec/lib/gitlab/ci/status/core/skipped_spec.rb
+4
-0
spec/lib/gitlab/ci/status/core/success_spec.rb
spec/lib/gitlab/ci/status/core/success_spec.rb
+4
-0
No files found.
lib/gitlab/ci/status/core/canceled.rb
View file @
0c7168b9
...
...
@@ -2,6 +2,10 @@ module Gitlab::Ci
module
Status
module
Core
class
Canceled
<
Core
::
Base
def
text
'canceled'
end
def
label
'canceled'
end
...
...
lib/gitlab/ci/status/core/created.rb
View file @
0c7168b9
...
...
@@ -2,6 +2,10 @@ module Gitlab::Ci
module
Status
module
Core
class
Created
<
Core
::
Base
def
text
'created'
end
def
label
'created'
end
...
...
lib/gitlab/ci/status/core/failed.rb
View file @
0c7168b9
...
...
@@ -2,6 +2,10 @@ module Gitlab::Ci
module
Status
module
Core
class
Failed
<
Core
::
Base
def
text
'failed'
end
def
label
'failed'
end
...
...
lib/gitlab/ci/status/core/pending.rb
View file @
0c7168b9
...
...
@@ -2,6 +2,10 @@ module Gitlab::Ci
module
Status
module
Core
class
Pending
<
Core
::
Base
def
text
'pending'
end
def
label
'pending'
end
...
...
lib/gitlab/ci/status/core/running.rb
View file @
0c7168b9
...
...
@@ -2,6 +2,10 @@ module Gitlab::Ci
module
Status
module
Core
class
Running
<
Core
::
Base
def
text
'running'
end
def
label
'running'
end
...
...
lib/gitlab/ci/status/core/skipped.rb
View file @
0c7168b9
...
...
@@ -2,6 +2,10 @@ module Gitlab::Ci
module
Status
module
Core
class
Skipped
<
Core
::
Base
def
text
'skipped'
end
def
label
'skipped'
end
...
...
lib/gitlab/ci/status/core/success.rb
View file @
0c7168b9
...
...
@@ -2,6 +2,10 @@ module Gitlab::Ci
module
Status
module
Core
class
Success
<
Core
::
Base
def
text
'passed'
end
def
label
'passed'
end
...
...
lib/gitlab/ci/status/extended/pipeline/success_with_warnings.rb
View file @
0c7168b9
...
...
@@ -5,6 +5,10 @@ module Gitlab::Ci
class
SuccessWithWarnings
<
SimpleDelegator
extend
Status
::
Extended
::
Base
def
text
'passed'
end
def
label
'passed with warnings'
end
...
...
spec/lib/gitlab/ci/status/core/canceled_spec.rb
View file @
0c7168b9
...
...
@@ -3,6 +3,10 @@ require 'spec_helper'
describe
Gitlab
::
Ci
::
Status
::
Core
::
Canceled
do
subject
{
described_class
.
new
(
double
(
'subject'
))
}
describe
'#text'
do
it
{
expect
(
subject
.
label
).
to
eq
'canceled'
}
end
describe
'#label'
do
it
{
expect
(
subject
.
label
).
to
eq
'canceled'
}
end
...
...
spec/lib/gitlab/ci/status/core/created_spec.rb
View file @
0c7168b9
...
...
@@ -3,6 +3,10 @@ require 'spec_helper'
describe
Gitlab
::
Ci
::
Status
::
Core
::
Created
do
subject
{
described_class
.
new
(
double
(
'subject'
))
}
describe
'#text'
do
it
{
expect
(
subject
.
label
).
to
eq
'created'
}
end
describe
'#label'
do
it
{
expect
(
subject
.
label
).
to
eq
'created'
}
end
...
...
spec/lib/gitlab/ci/status/core/failed_spec.rb
View file @
0c7168b9
...
...
@@ -3,6 +3,10 @@ require 'spec_helper'
describe
Gitlab
::
Ci
::
Status
::
Core
::
Failed
do
subject
{
described_class
.
new
(
double
(
'subject'
))
}
describe
'#text'
do
it
{
expect
(
subject
.
label
).
to
eq
'failed'
}
end
describe
'#label'
do
it
{
expect
(
subject
.
label
).
to
eq
'failed'
}
end
...
...
spec/lib/gitlab/ci/status/core/pending_spec.rb
View file @
0c7168b9
...
...
@@ -3,6 +3,10 @@ require 'spec_helper'
describe
Gitlab
::
Ci
::
Status
::
Core
::
Pending
do
subject
{
described_class
.
new
(
double
(
'subject'
))
}
describe
'#text'
do
it
{
expect
(
subject
.
label
).
to
eq
'pending'
}
end
describe
'#label'
do
it
{
expect
(
subject
.
label
).
to
eq
'pending'
}
end
...
...
spec/lib/gitlab/ci/status/core/running_spec.rb
View file @
0c7168b9
...
...
@@ -3,6 +3,10 @@ require 'spec_helper'
describe
Gitlab
::
Ci
::
Status
::
Core
::
Running
do
subject
{
described_class
.
new
(
double
(
'subject'
))
}
describe
'#text'
do
it
{
expect
(
subject
.
label
).
to
eq
'running'
}
end
describe
'#label'
do
it
{
expect
(
subject
.
label
).
to
eq
'running'
}
end
...
...
spec/lib/gitlab/ci/status/core/skipped_spec.rb
View file @
0c7168b9
...
...
@@ -3,6 +3,10 @@ require 'spec_helper'
describe
Gitlab
::
Ci
::
Status
::
Core
::
Skipped
do
subject
{
described_class
.
new
(
double
(
'subject'
))
}
describe
'#text'
do
it
{
expect
(
subject
.
label
).
to
eq
'skipped'
}
end
describe
'#label'
do
it
{
expect
(
subject
.
label
).
to
eq
'skipped'
}
end
...
...
spec/lib/gitlab/ci/status/core/success_spec.rb
View file @
0c7168b9
...
...
@@ -3,6 +3,10 @@ require 'spec_helper'
describe
Gitlab
::
Ci
::
Status
::
Core
::
Success
do
subject
{
described_class
.
new
(
double
(
'subject'
))
}
describe
'#text'
do
it
{
expect
(
subject
.
label
).
to
eq
'passed'
}
end
describe
'#label'
do
it
{
expect
(
subject
.
label
).
to
eq
'passed'
}
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