Add option to force deployment using $FORCE_DEPLOY

This commit is contained in:
Thor77 2020-07-02 22:05:02 +02:00
parent b9ef5158f9
commit 3537244579
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 8 additions and 2 deletions

View File

@ -18,7 +18,10 @@ kubernetes:
- turniere-deploy
stage: deploy
only:
refs:
- master
variables:
- $FORCE_DEPLOY
image: ruby
variables:
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: gitlab-deploy
@ -37,7 +40,10 @@ deploy_watchtower:
- docker
stage: deploy
only:
refs:
- master
variables:
- $FORCE_DEPLOY
image: docker
services:
- docker:dind