Skip to content
Snippets Groups Projects

CI improvements

Merged Simon McVittie requested to merge wip/protected/ci into main
All threads resolved!
1 file
+ 4
8
Compare changes
  • Side-by-side
  • Inline
  • 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>
+ 4
8
@@ -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
Loading