Mock CI
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
This integration is only available in a development environment.
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
.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support