diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-02-14 19:52:44 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-02-24 20:01:36 -0600 |
commit | 1c85d86d19d6cb0cb0da82ea062be3ccd351ffef (patch) | |
tree | a9e3413db331ecfdb492752b74f61a95c8f78fdd /doc/api/services.md | |
parent | 7d15f36be6cdefcf95a96bf4cbb425baceaf2488 (diff) | |
download | gitlab-ce-1c85d86d19d6cb0cb0da82ea062be3ccd351ffef.tar.gz |
Add MockCiService integrationmock-ci-service
MR: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9250/
See https://gitlab.com/madlittlemods/gl-mock-ci-service
Diffstat (limited to 'doc/api/services.md')
-rw-r--r-- | doc/api/services.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/api/services.md b/doc/api/services.md index fba5da6587d..b030a425a7a 100644 --- a/doc/api/services.md +++ b/doc/api/services.md @@ -810,3 +810,38 @@ GET /projects/:id/services/teamcity [jira-doc]: ../user/project/integrations/jira.md [old-jira-api]: https://gitlab.com/gitlab-org/gitlab-ce/blob/8-13-stable/doc/api/services.md#jira + + +## MockCI + +Mock an external CI. See [`gitlab-org/gitlab-mock-ci-service`](https://gitlab.com/gitlab-org/gitlab-mock-ci-service) for an example of a companion mock service. + +This service is only available when your environment is set to development. + +### Create/Edit MockCI service + +Set MockCI service for a project. + +``` +PUT /projects/:id/services/mock-ci +``` + +Parameters: + +- `mock_service_url` (**required**) - http://localhost:4004 + +### Delete MockCI service + +Delete MockCI service for a project. + +``` +DELETE /projects/:id/services/mock-ci +``` + +### Get MockCI service settings + +Get MockCI service settings for a project. + +``` +GET /projects/:id/services/mock-ci +``` |