Require external commit status
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
When setting the Commit status from an external service, there is no way to require it. This means if the external CI service is delayed or unresponsive, it will not have the opportunity to block the merge.
This means it is not possible to require an external service.
Further details
If you need to use an external service for verifying commits/merge requests, it is possible to:
- use Web Hooks to trigger the external job, or do polling
- then Upload Commit Status to set pending, pass, fail etc
Proposal
Add an interface to specify required checks from external services.
A maintainer should be able to add a required check by specifying the name (or context) which would be passed in the same parameter by https://docs.gitlab.com/ee/api/commits.html#post-the-build-status-to-a-commit