From 88e3f3394d4cd48243fae06d7d4763f60d596294 Mon Sep 17 00:00:00 2001
From: Daniel Gerhardt <code@dgerhardt.net>
Date: Thu, 6 Jul 2017 16:32:57 +0200
Subject: [PATCH] Add CI runner tag for deploy jobs

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 75a88cb97..d6a32faca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,6 +69,8 @@ tomcat_production:
   stage: deploy
   only:
     - production
+  tags:
+    - curl
   script:
     - curl --fail --upload-file $WAR_FILE "https://$PROD_TOMCAT_USER:$PROD_TOMCAT_PASSWORD@$PROD_TOMCAT_HOST/manager/text/deploy?path=%2Fapi&update=true"
 
@@ -76,5 +78,7 @@ tomcat_development:
   stage: deploy
   only:
     - staging
+  tags:
+    - curl
   script:
     - curl --fail --upload-file $WAR_FILE "https://$DEV_TOMCAT_USER:$DEV_TOMCAT_PASSWORD@$DEV_TOMCAT_HOST/manager/text/deploy?path=%2Fapi&update=true"
-- 
GitLab