[go: up one dir, main page]

Skip to content

Stopping dynamic environment after approve MR and delete branch

Description

We use dynamic environments for all branches (except master) and build project after each commit. We have manual action "stop_review" in .gitlab-ci.yml. Environment stays after MR approved to master branch (production) or delete branch and i need go to environment page for stop review app.

2017-02-10_14-09-13

Proposal

Add checkboxs to MR page with actions from .gitlab-ci.yml if key "when" has value "manual" for another branches. Example "Stop review" in screenshot. Or simple logic – start job "stop_review" when branch deleted.

2017-02-13_14-41-15

Links / references

gitlab-ci.yml