From 872aef99c44b68ff9bdbf7a83100065aade455d6 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Tue, 25 Feb 2025 14:24:25 +0100
Subject: [PATCH] Added pull-through registry

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3fea2c60f0..99cc58aed1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -247,6 +247,8 @@ deploy-staging:
 test-metadata-service:
   image: maven:3-openjdk-${JAVA_VERSION}
   stage: test
+  variables:
+    TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX: "registry/"
   needs:
     - build-metadata-service
   dependencies:
@@ -267,6 +269,8 @@ test-metadata-service:
 test-data-service:
   image: maven:3-openjdk-${JAVA_VERSION}
   stage: test
+  variables:
+    TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX: "registry/"
   needs:
     - build-data-service
   dependencies:
@@ -297,6 +301,7 @@ test-analyse-service:
   stage: test
   variables:
     PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile"
+    TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX: "registry/"
   needs:
     - build-analyse-service
   dependencies:
@@ -321,6 +326,7 @@ test-auth-service-init:
   stage: test
   variables:
     PIPENV_PIPFILE: "./dbrepo-auth-service/init/Pipfile"
+    TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX: "registry/"
   before_script:
     - "apk add --no-cache alpine-sdk gcc python3-dev mariadb-connector-c-dev"
     - "pip install pipenv"
@@ -343,6 +349,7 @@ test-search-service:
   stage: test
   variables:
     PIPENV_PIPFILE: "./dbrepo-search-service/Pipfile"
+    TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX: "registry/"
   needs:
     - build-search-service
   dependencies:
@@ -374,6 +381,7 @@ test-search-service-init:
   stage: test
   variables:
     PIPENV_PIPFILE: "./dbrepo-search-service/init/Pipfile"
+    TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX: "registry/"
   needs:
     - build-search-service
   dependencies:
@@ -398,6 +406,7 @@ test-lib:
   stage: test
   variables:
     PIPENV_PIPFILE: "./lib/python/Pipfile"
+    TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX: "registry/"
   needs:
     - build-lib
   dependencies:
-- 
GitLab