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
ae965046
Commit
ae965046
authored
Feb 18, 2018
by
James Edwards-Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GitHub service appears in list of services
parent
b89accf8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
0 deletions
+18
-0
app/models/project.rb
app/models/project.rb
+1
-0
app/models/service.rb
app/models/service.rb
+1
-0
doc/user/project/integrations/project_services.md
doc/user/project/integrations/project_services.md
+1
-0
ee/app/models/project_services/github_service.rb
ee/app/models/project_services/github_service.rb
+13
-0
spec/features/projects/services/user_views_services_spec.rb
spec/features/projects/services/user_views_services_spec.rb
+1
-0
spec/models/project_spec.rb
spec/models/project_spec.rb
+1
-0
No files found.
app/models/project.rb
View file @
ae965046
...
...
@@ -137,6 +137,7 @@ class Project < ActiveRecord::Base
has_one
:mock_monitoring_service
has_one
:microsoft_teams_service
has_one
:packagist_service
has_one
:github_service
# TODO: replace these relations with the fork network versions
has_one
:forked_project_link
,
foreign_key:
"forked_to_project_id"
...
...
app/models/service.rb
View file @
ae965046
...
...
@@ -240,6 +240,7 @@ class Service < ActiveRecord::Base
external_wiki
flowdock
gemnasium
github
hipchat
irker
jenkins
...
...
doc/user/project/integrations/project_services.md
View file @
ae965046
...
...
@@ -35,6 +35,7 @@ Click on the service links to see further configuration instructions and details
| External Wiki | Replaces the link to the internal wiki with a link to an external wiki |
| Flowdock | Flowdock is a collaboration web app for technical teams |
| Gemnasium | Gemnasium monitors your project dependencies and alerts you about updates and security vulnerabilities |
| GitHub | Sends pipeline notifications to GitHub |
|
[
HipChat
](
hipchat.md
)
| Private group chat and IM |
|
[
Irker (IRC gateway)
](
irker.md
)
| Send IRC messages, on update, to a list of recipients through an Irker gateway |
|
[
JIRA
](
jira.md
)
| JIRA issue tracker |
...
...
ee/app/models/project_services/github_service.rb
0 → 100644
View file @
ae965046
class
GithubService
<
Service
def
title
'GitHub'
end
def
description
'Sends pipeline notifications to GitHub'
end
def
self
.
to_param
'github'
end
end
spec/features/projects/services/user_views_services_spec.rb
View file @
ae965046
...
...
@@ -22,5 +22,6 @@ describe 'User views services' do
expect
(
page
).
to
have_content
(
'Asana'
)
expect
(
page
).
to
have_content
(
'Irker (IRC gateway)'
)
expect
(
page
).
to
have_content
(
'Packagist'
)
expect
(
page
).
to
have_content
(
'GitHub'
)
end
end
spec/models/project_spec.rb
View file @
ae965046
...
...
@@ -44,6 +44,7 @@ describe Project do
it
{
is_expected
.
to
have_one
(
:bamboo_service
)
}
it
{
is_expected
.
to
have_one
(
:teamcity_service
)
}
it
{
is_expected
.
to
have_one
(
:jira_service
)
}
it
{
is_expected
.
to
have_one
(
:github_service
)
}
it
{
is_expected
.
to
have_one
(
:redmine_service
)
}
it
{
is_expected
.
to
have_one
(
:custom_issue_tracker_service
)
}
it
{
is_expected
.
to
have_one
(
:bugzilla_service
)
}
...
...
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