2020-10-24 23:57:45 +05:30
---
2022-11-25 23:54:43 +05:30
stage: Manage
2021-10-27 15:23:28 +05:30
group: Integrations
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2020-10-24 23:57:45 +05:30
---
2023-04-23 21:23:45 +05:30
# Mock CI **(FREE)**
2017-08-17 22:00:37 +05:30
2022-08-13 15:12:31 +05:30
NOTE:
2023-04-23 21:23:45 +05:30
This integration only appears if you're in a [development environment ](https://gitlab.com/gitlab-org/gitlab-mock-ci-service#setup-mockci-integration ).
2017-08-17 22:00:37 +05:30
2023-05-27 22:25:52 +05:30
To set up the mock CI service server, respond to the following endpoints:
2017-08-17 22:00:37 +05:30
- `commit_status` : `#{project.namespace.path}/#{project.path}/status/#{sha}.json`
2023-05-27 22:25:52 +05:30
- Have your service return `200 { status: ['failed'|'canceled'|'running'|'pending'|'success'|'success-with-warnings'|'skipped'|'not_found'] }` .
- If the service returns a 404, the service is interpreted as `pending` .
2017-08-17 22:00:37 +05:30
- `build_page` : `#{project.namespace.path}/#{project.path}/status/#{sha}`
2023-05-27 22:25:52 +05:30
- Where the build is linked to (whether or not it's implemented).
2017-08-17 22:00:37 +05:30
2023-05-27 22:25:52 +05:30
For an example of a mock CI server, see [`gitlab-org/gitlab-mock-ci-service` ](https://gitlab.com/gitlab-org/gitlab-mock-ci-service ).