mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
1.1 KiB
1.1 KiB
stage, group, info, title
stage | group | info | title |
---|---|---|---|
Verify | Pipeline Execution | To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments | Mock CI |
{{< details >}}
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
{{< /details >}}
{{< alert type="note" >}}
This integration is only available in a development environment.
{{< /alert >}}
To set up the mock CI service server, respond to the following endpoints:
commit_status
:#{project.namespace.path}/#{project.path}/status/#{sha}.json
- 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
.
- Have your service return
build_page
:#{project.namespace.path}/#{project.path}/status/#{sha}
- Where the build is linked to (whether or not it's implemented).
For an example Mock CI server, see gitlab-org/gitlab-mock-ci-service
.