From 80eb8eecd100a7569a01794fcdf412b0aa8f644a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de> Date: Sat, 1 Mar 2025 20:52:19 +0100 Subject: [PATCH] fixup! Add package caching for CI --- api/build_config.py | 3 ++- build_pipeline_generator.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api/build_config.py b/api/build_config.py index f4df1f9..f01ab33 100644 --- a/api/build_config.py +++ b/api/build_config.py @@ -26,7 +26,8 @@ CI_TEST_JOB_TEMPLATE = """\ timeout: 30m variables: VIDEOAG_CONFIG: /code/config/api_example_config.py -script: -test +script: + - ./docker_start.sh -test artifacts: paths: - /code/coverage/report.txt diff --git a/build_pipeline_generator.py b/build_pipeline_generator.py index 5437b43..21e0ae6 100644 --- a/build_pipeline_generator.py +++ b/build_pipeline_generator.py @@ -210,6 +210,7 @@ test-{self.target_image_name}: needs: [{self.ci_build_job_name()}] image: name: $CI_REGISTRY_IMAGE/{self.image_full_name()}:{self.context.commit_sha} + entrypoint: [""] """ res += " " + "\n ".join(self.ci_test_job_template.splitlines()) + "\n" return res -- GitLab