From c89cefd6b53118ab417ceff3162b85e60ed0741b Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 2 Jul 2020 20:56:04 +0200 Subject: [PATCH] Add option to force deployment using $FORCE_DEPLOY --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e02cf83..50be965 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,7 +39,10 @@ kubernetes: - turniere-deploy stage: deploy only: - - master + refs: + - master + variables: + - $FORCE_DEPLOY image: ruby variables: KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: gitlab-deploy @@ -58,7 +61,10 @@ deploy_watchtower: - docker stage: deploy only: - - master + refs: + - master + variables: + - $FORCE_DEPLOY image: docker services: - docker:dind