From a89e6d1351a055c9bd50f0739c24df81fc4000e5 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 6 Sep 2017 11:01:15 +0200 Subject: [PATCH] stop review --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd3f990..6b200ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ build_ui: - index.html -review: +start_review: image: mwienk/docker-lftp tags: - docker @@ -40,6 +40,22 @@ review: environment: name: review/$CI_COMMIT_REF_NAME url: http://ui.basispanel.de/$CI_COMMIT_REF_NAME/ + on_stop: stop_review + +stop_review: + image: mwienk/docker-lftp + tags: + - docker + stage: review + variables: + GIT_STRATEGY: none + script: + - echo stopping env + environment: + name: review/$CI_COMMIT_REF_NAME + action: stop + when: manual + review_fullsync: