Skip deploy to review app if MR is set to MWPS
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
When creating an MR that is quickly set to merge automatically when the pipeline succeeds, we can speed up that pipeline slightly by cutting out unnecessary steps. Specifically, deploying to a review app is completely unnecessary if the MR is just going to be merged immediately (and the review app deleted).
Intended users
Further details
Proposal
Identify jobs related to temporary deployments, and skip them when the MR is set to MWPS. We could possibly require the user to manually identify these jobs, but we can probably infer well enough to not need manual identification.
If the pipeline has a job to destroy the review app defined in the .gitlab-ci.yml file and the MR is set to delete the branch we shouldn't spin up a review app
Also in order to have better visibility the review App button should be disabled with a tool tip explaining that Review Apps will be skipped.
UX TBD
Permissions and Security
Documentation
Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
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.