From 8220dc0d3960a68ee594be9b08cfd65ae96c3b4c Mon Sep 17 00:00:00 2001
From: George Sedov <george.sedov@desy.de>
Date: Thu, 3 Feb 2022 21:26:48 +0100
Subject: [PATCH] fix test report

---
 .gitlab-ci.yml                             | 4 ++--
 deploy/build_env/services-linux/Dockerfile | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce4162fd5..b128e6dc7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -48,7 +48,7 @@ test-services-linux-debug:
     # - cd $CI_PROJECT_DIR/build/tests/automatic/common_scripts
     # - bash start_services.sh
     - cd $CI_PROJECT_DIR/build
-    - ctest --no-compress-output -T Test -L "unit|memcheck_unit|coverage" --output-on-failure
+    - ctest --no-compress-output -T Test -L "unit|memcheck_unit|coverage" --output-on-failure --output-junit testResult.xml
   tags:
     - kubernetes-executor
   rules:
@@ -58,4 +58,4 @@ test-services-linux-debug:
   artifacts:
     when: always
     reports:
-      junit: build/Testing/**/Test.xml
+      junit: build/testResult.xml
diff --git a/deploy/build_env/services-linux/Dockerfile b/deploy/build_env/services-linux/Dockerfile
index a3224063f..e1c2d89d7 100644
--- a/deploy/build_env/services-linux/Dockerfile
+++ b/deploy/build_env/services-linux/Dockerfile
@@ -6,10 +6,12 @@ RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/nomad-hashicorp-archive-
 RUN curl -fsSL https://www.mongodb.org/static/pgp/server-5.0.asc | gpg --dearmor > /usr/share/keyrings/mongodb-archive-keyring.gpg
 RUN echo "deb [signed-by=/usr/share/keyrings/mongodb-archive-keyring.gpg] http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main" >> /etc/apt/sources.list
 
+RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
+
 RUN set -eux; \
 	apt-get update; \
 	apt-get install -y --no-install-recommends \
-		cmake \
+		cmake/bullseye-backports \
 		libicu-dev \
 		libfabric-dev \
 		librdkafka-dev \
-- 
GitLab