From f6baa4fccc17163556926a04fba2fa225b2df81d Mon Sep 17 00:00:00 2001
From: Julian Brost <julian.brost@icinga.com>
Date: Thu, 2 Dec 2021 15:40:17 +0100
Subject: [PATCH] Fix GitLab CI dependencies

Test jobs must depend on the corresponding build jobs so the correct build
artifacts are downloaded. Otherwise, the test job will not even have access to
the built packages and install icinga2 from packages.icinga.com.
---
 .gitlab-ci.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 362a109..d083c75 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,7 +84,7 @@ test/debian/bullseye:x86_64:
   variables:
     DOCKER_IMAGE: debian/bullseye
   dependencies:
-    - debian/bullseye
+    - debian/bullseye:x86_64
 
 debian/bullseye:x86:
   <<: *binary
@@ -126,7 +126,7 @@ test/debian/buster:x86_64:
   variables:
     DOCKER_IMAGE: debian/buster
   dependencies:
-    - debian/buster
+    - debian/buster:x86_64
 
 debian/buster:x86:
   <<: *binary
@@ -168,7 +168,7 @@ test/debian/stretch:x86_64:
   variables:
     DOCKER_IMAGE: debian/stretch
   dependencies:
-    - debian/stretch
+    - debian/stretch:x86_64
 
 debian/stretch:x86:
   <<: *binary
@@ -214,7 +214,7 @@ test/ubuntu/impish:x86_64:
   variables:
     DOCKER_IMAGE: ubuntu/impish
   dependencies:
-    - ubuntu/impish
+    - ubuntu/impish:x86_64
 
 upload/ubuntu/impish:
   <<: *upload
@@ -240,7 +240,7 @@ test/ubuntu/hirsute:x86_64:
   variables:
     DOCKER_IMAGE: ubuntu/hirsute
   dependencies:
-    - ubuntu/hirsute
+    - ubuntu/hirsute:x86_64
 
 upload/ubuntu/hirsute:
   <<: *upload
@@ -265,7 +265,7 @@ test/ubuntu/focal:x86_64:
   variables:
     DOCKER_IMAGE: ubuntu/focal
   dependencies:
-    - ubuntu/focal
+    - ubuntu/focal:x86_64
 
 upload/ubuntu/focal:
   <<: *upload
@@ -291,7 +291,7 @@ test/ubuntu/bionic:x86_64:
   variables:
     DOCKER_IMAGE: ubuntu/bionic
   dependencies:
-    - ubuntu/bionic
+    - ubuntu/bionic:x86_64
 
 ubuntu/bionic:x86:
   <<: *binary
-- 
GitLab