Skip to content
Snippets Groups Projects
Commit 600c143b authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Test populate-depot.py in Debian 12 instead of 11


We currently use Debian 12 prereleases to build the actual production
container depots, because Debian 12 has python3-vdf available in the
ordinary package archive, meaning we don't have to bring our own.
Reflect that here.

I've kept this as a template job and an instantiation of that template,
so that when we're eventually thinking about moving CI to Debian 13,
we can test the script in that first, without losing Debian 12 coverage.

Helps: steamrt/tasks#248
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 41c3958b
No related branches found
No related tags found
1 merge request!542CI improvements
This commit is part of merge request !542. Comments created here will be created in the context of that merge request.
......@@ -473,8 +473,6 @@ deploy:
paths:
- subprojects/container-runtime/depots/*.txt
- subprojects/container-runtime/depots/*/VERSIONS.txt
.test-populate-depot:deb:
before_script:
- |
set -eux
......@@ -487,15 +485,13 @@ deploy:
perl \
python3 \
python3-debian \
python3-vdf \
xz-utils \
${NULL+}
tempdir="$(mktemp -d)"
git clone --branch steamrt/soldier https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.steamos.cloud/packaging/python-vdf.git "$tempdir/python-vdf"
export PYTHONPATH="$tempdir/python-vdf"
test-populate-depot:debian-11:
extends: .test-populate-depot:deb
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/debian:bullseye-slim
test-populate-depot:debian-12:
extends: .test-populate-depot
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/debian:bookworm-slim
reuse:
stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment