From efc13a92eb44729936f8995cc209941846c0e6f0 Mon Sep 17 00:00:00 2001 From: Mark Pundsack <mpundsack@gitlab.com> Date: Fri, 3 Mar 2017 15:17:55 -0600 Subject: [PATCH] Move stop_review to cleanup stage --- OpenShift.gitlab-ci.yml | 3 ++- autodeploy/Kubernetes.gitlab-ci.yml | 3 ++- autodeploy/OpenShift.gitlab-ci.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/OpenShift.gitlab-ci.yml b/OpenShift.gitlab-ci.yml index f9a9608..df19f2e 100644 --- a/OpenShift.gitlab-ci.yml +++ b/OpenShift.gitlab-ci.yml @@ -5,6 +5,7 @@ stages: - review - staging - production + - cleanup variables: OPENSHIFT_SERVER: openshift.default.svc.cluster.local @@ -50,7 +51,7 @@ review: stop-review: <<: *deploy - stage: review + stage: cleanup script: - oc delete all -l "app=$APP" when: manual diff --git a/autodeploy/Kubernetes.gitlab-ci.yml b/autodeploy/Kubernetes.gitlab-ci.yml index 7298ea7..574f936 100644 --- a/autodeploy/Kubernetes.gitlab-ci.yml +++ b/autodeploy/Kubernetes.gitlab-ci.yml @@ -12,6 +12,7 @@ stages: - review - staging - production + - cleanup build: stage: build @@ -61,7 +62,7 @@ review: - master stop_review: - stage: review + stage: cleanup variables: GIT_STRATEGY: none script: diff --git a/autodeploy/OpenShift.gitlab-ci.yml b/autodeploy/OpenShift.gitlab-ci.yml index 249adbc..4d6f4e0 100644 --- a/autodeploy/OpenShift.gitlab-ci.yml +++ b/autodeploy/OpenShift.gitlab-ci.yml @@ -12,6 +12,7 @@ stages: - review - staging - production + - cleanup build: stage: build @@ -61,7 +62,7 @@ review: - master stop_review: - stage: review + stage: cleanup variables: GIT_STRATEGY: none script: -- GitLab