Add option to force deployment using $FORCE_DEPLOY

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

View File

@ -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