2020-07-20 21:09:23 +00:00
---
2021-08-02 15:08:56 +00:00
stage: Ecosystem
group: Integrations
2020-11-26 06:09:20 +00:00
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-07-20 21:09:23 +00:00
---
2021-02-17 18:09:19 +00:00
# Mock CI Service **(FREE)**
2017-02-15 01:52:44 +00:00
**NB: This service is only listed if you are in a development environment!**
2018-09-19 16:03:00 +00:00
To set up the mock CI service server, respond to the following endpoints
2017-02-15 01:52:44 +00:00
- `commit_status` : `#{project.namespace.path}/#{project.path}/status/#{sha}.json`
2019-07-22 01:49:37 +00:00
- Have your service return `200 { status: ['failed'|'canceled'|'running'|'pending'|'success'|'success-with-warnings'|'skipped'|'not_found'] }`
2019-08-30 02:25:44 +00:00
- If the service returns a 404, it is interpreted as `pending`
2017-02-15 01:52:44 +00:00
- `build_page` : `#{project.namespace.path}/#{project.path}/status/#{sha}`
2019-07-22 01:49:37 +00:00
- Just where the build is linked to, doesn't matter if implemented
2017-02-15 01:52:44 +00:00
For an example of a mock CI server, see [`gitlab-org/gitlab-mock-ci-service` ](https://gitlab.com/gitlab-org/gitlab-mock-ci-service )