From 456c030c6655b691ec73a6b031af38aa1abfb72a Mon Sep 17 00:00:00 2001 From: Simon Little Date: Fri, 3 Apr 2026 22:59:26 +0000 Subject: [PATCH 1/5] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2be0e51..3ea8ec5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ workflow: variables: UV_VERSION: "0.11.2" PYTHON_VERSION: "3.13" - BASE_LAYER: trixie-slim + BASE_LAYER: ubuntu:24.04 # GitLab CI creates a separate mountpoint for the build directory, # so we need to copy instead of using hard links. UV_LINK_MODE: copy From f88de521c4dcac71caa1e1732a4b269cf826c651 Mon Sep 17 00:00:00 2001 From: Simon Little Date: Fri, 3 Apr 2026 22:59:49 +0000 Subject: [PATCH 2/5] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ea8ec5..5d441d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,6 @@ stages: test: image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER script: - - uv venv - - .venv/bin/activate - uv sync --frozen - python unittests.py From e1b1ad9924503804c8a9e116f4f612b3d97dc62a Mon Sep 17 00:00:00 2001 From: Simon Little Date: Fri, 3 Apr 2026 23:02:28 +0000 Subject: [PATCH 3/5] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d441d7..6f1639d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,8 @@ workflow: variables: UV_VERSION: "0.11.2" PYTHON_VERSION: "3.13" - BASE_LAYER: ubuntu:24.04 + BASE_LAYER: trixie-slim + # BASE_LAYER: ubuntu:24.04 # GitLab CI creates a separate mountpoint for the build directory, # so we need to copy instead of using hard links. UV_LINK_MODE: copy @@ -13,7 +14,8 @@ stages: - test test: - image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER + name: ghcr.io/astral-sh/uv:0.10.8 + # image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER script: - uv sync --frozen - python unittests.py From 3712d52dd59eaff119b707cf33dd592ef3088051 Mon Sep 17 00:00:00 2001 From: Simon Little Date: Fri, 3 Apr 2026 23:03:32 +0000 Subject: [PATCH 4/5] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f1639d..7971abe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,9 @@ stages: - test test: - name: ghcr.io/astral-sh/uv:0.10.8 + image: + name: ghcr.io/astral-sh/uv:$UV_VERSION + entrypoint: [""] # image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER script: - uv sync --frozen From 928af3d438a8faf236a021a8189a10d46bc74790 Mon Sep 17 00:00:00 2001 From: Simon Little Date: Fri, 3 Apr 2026 23:13:34 +0000 Subject: [PATCH 5/5] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7971abe..99118a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,12 +14,14 @@ stages: - test test: - image: - name: ghcr.io/astral-sh/uv:$UV_VERSION - entrypoint: [""] - # image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER + # image: python313 + # image: + # name: ghcr.io/astral-sh/uv:$UV_VERSION + # entrypoint: [""] + image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER script: - uv sync --frozen + - uv add requests - python unittests.py # Test \ No newline at end of file