Post the build stage, when you post a commit status (API)
Problem to solve
As described by customer:
In the Gitlab API it is possible to list commit status filtering by build stage: https://docs.gitlab.com/ee/api/commits.html#list-the-statuses-of-a-commit
However, when posting a commit status there appears to be no way to set the stage: https://docs.gitlab.com/ee/api/commits.html#post-the-build-status-to-a-commit
I would like to make a request to make it possible to also post the build stage, when you post a commit status.
Our use-case is that we are building our own CI tool for the edge-cases that Gitlab can't support, but we would like to tie it closely together with the Gitlab UI, so that information about our custom builds can be shown in the same place and manner as builds done inside Gitlab, and being able to add the stage is a key part in terms of achieving a consistent look and easy to follow build path.
Further details
(Include use cases, benefits, and/or goals)
Proposal
What does success look like, and how can we measure that?
(If no way to measure success, link to an issue that will implement a way to measure this)
Links / references
https://gitlab.zendesk.com/agent/tickets/98728 (Internal Only)