From f51f28c6f083eb4b9f2714be9b34f51dfbd6a2fd Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <manuel.kieweg@h-da.de>
Date: Tue, 30 Mar 2021 11:31:32 +0100
Subject: [PATCH] integration tests need tf apply

---
 build/ci/.test.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build/ci/.test.yml b/build/ci/.test.yml
index 63fdfb969..73fa77886 100644
--- a/build/ci/.test.yml
+++ b/build/ci/.test.yml
@@ -1,6 +1,7 @@
 integration-test:
   image: golang:1.14
   stage: integration-test
+  needs: ["apply"]
   rules:
     - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -15,6 +16,7 @@ integration-test-merge-request:
   image: golang:1.14
   stage: integration-test
   allow_failure: true
+  needs: ["apply"]
   rules:
     - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
   script:
-- 
GitLab