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
Jérome Perrin
gitlab-ce
Commits
307962a0
Commit
307962a0
authored
Apr 11, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename last uses of Buildbox to Buildkite
parent
93b17677
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
app/models/project.rb
app/models/project.rb
+1
-1
app/models/project_services/buildkite_service.rb
app/models/project_services/buildkite_service.rb
+1
-3
app/models/service.rb
app/models/service.rb
+1
-1
spec/models/project_services/buildkite_service_spec.rb
spec/models/project_services/buildkite_service_spec.rb
+2
-2
No files found.
app/models/project.rb
View file @
307962a0
...
...
@@ -81,7 +81,7 @@ class Project < ActiveRecord::Base
has_one
:asana_service
,
dependent: :destroy
has_one
:gemnasium_service
,
dependent: :destroy
has_one
:slack_service
,
dependent: :destroy
has_one
:build
box
_service
,
dependent: :destroy
has_one
:build
kite
_service
,
dependent: :destroy
has_one
:bamboo_service
,
dependent: :destroy
has_one
:teamcity_service
,
dependent: :destroy
has_one
:pushover_service
,
dependent: :destroy
...
...
app/models/project_services/buildkite_service.rb
View file @
307962a0
...
...
@@ -20,9 +20,7 @@
require
"addressable/uri"
# Buildbox renamed to Buildkite, but for backwards compatability with the STI
# of Services, the class name is kept as "Buildbox"
class
BuildboxService
<
CiService
class
BuildkiteService
<
CiService
ENDPOINT
=
"https://buildkite.com"
prop_accessor
:project_url
,
:token
...
...
app/models/service.rb
View file @
307962a0
...
...
@@ -125,7 +125,7 @@ class Service < ActiveRecord::Base
asana
assembla
bamboo
build
box
build
kite
campfire
custom_issue_tracker
emails_on_push
...
...
spec/models/project_services/buildkite_service_spec.rb
View file @
307962a0
...
...
@@ -19,7 +19,7 @@
require
'spec_helper'
describe
Build
box
Service
do
describe
Build
kite
Service
do
describe
'Associations'
do
it
{
is_expected
.
to
belong_to
:project
}
it
{
is_expected
.
to
have_one
:service_hook
}
...
...
@@ -32,7 +32,7 @@ describe BuildboxService do
default_branch:
'default-brancho'
)
@service
=
Build
box
Service
.
new
@service
=
Build
kite
Service
.
new
@service
.
stub
(
project:
@project
,
service_hook:
true
,
...
...
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