From 71e119399beef43e15bc12e49241b47cee8ae1f4 Mon Sep 17 00:00:00 2001
From: Maarten de Waard <maarten@greenhost.nl>
Date: Thu, 8 Apr 2021 12:24:04 +0200
Subject: [PATCH] make all jobs interruptible, because once 1 uninteruptable
 job has started, pipeline will never be interrupted

TRIGGER_JOBS=enable-wordpress
---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 533c12a7a..e68fa9960 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -179,6 +179,7 @@ ci-test-image-build:
     - if: '$CI_COMMIT_MESSAGE =~ /TRIGGER_JOBS=.*ci-test-image-build/'
   extends:
     - .kaniko_build
+  interruptible: true
 
 # Stage: create-vps
 # =================
@@ -214,6 +215,7 @@ create-vps:
     url: https://$FQDN
     on_stop: terminate-droplet
     auto_stop_in: 1 week
+  interruptible: true
 
 # Stage: enable-apps
 # ==================
@@ -232,6 +234,7 @@ create-vps:
     paths:
       - ./clusters
       - ./enabled_apps/$APP
+  interruptible: true
 
 enable-eventrouter:
   variables:
-- 
GitLab