Run a build on a Cloud Event
Description
It would be so cool to leverage Cloud Events combining them with DAG processing of pipelines:
my-job:
needs:
event:
name: gitlab.projects.merge_requests.approved
filters:
merge_request_id: $CI_MERGE_REQUEST_ID
script: something
This would allow is to reduce reliance on webhooks that need an additional external consumer to circle back to GitLab API to do something (or trigger a pipeline).
Originally referenced in gitlab-org/configure/general#144 (comment 617527430)
Use Cases
An event type like this could be used to support starting a CI pipeline when a package is published as described in CI pipeline for packages (#324196 - closed)
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.