Post a comment in MR when a QA pipeline has been created for it
Problem
It's really time-consuming right now to find the final QA pipeline when you start a package-and-qa
job since you have to:
- Open the job, e.g. https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/74488658
- Find the
Triggered https://gitlab.com/gitlab-org/omnibus-gitlab/pipelines/23754616
line - Copy
https://gitlab.com/gitlab-org/omnibus-gitlab/pipelines/23754616
, paste in in the address bar - On the Omnibus pipeline, click the
Trigger:qa-test
job, e.g. https://gitlab.com/gitlab-org/omnibus-gitlab/-/jobs/74489227 - Find the
Triggered https://gitlab.com/gitlab-org/gitlab-qa/pipelines/23758550
line - Copy
https://gitlab.com/gitlab-org/gitlab-qa/pipelines/23758550
, paste in in the address bar - This is the final QA pipeline that is triggered.
Proposal
An improvement to that, would be to simply post a comment to the MR/commit once the pipeline is triggered, in the Trigger:qa-test
job (e.g. https://gitlab.com/gitlab-org/omnibus-gitlab/-/jobs/74489227).
For that we'd need to set the gitlab-bot
API token in the Omnibus CI/CD Variables.