ci_local_packages: "yes"
ci_parallel: "2"
ci_sudo: "yes"
- ci_suite: "bullseye"
###
# IMPORTANT
# These are the version tags for the docker images the CI runs against.
extends: .debian-build
when: manual
image: "debian:buster-slim"
- variables:
- ci_suite: "buster"
.suse-build:
extends: .unix-host-build
# ci_suite:
# OS suite (release, branch) in which we are testing.
-# Typical values for ci_distro=debian: sid, jessie
-# Typical values for ci_distro=fedora might be 25, rawhide
-: "${ci_suite:=xenial}"
+# Typical values: auto (detect at runtime), ci_distro=debian: bullseye, buster, ci_distro=fedora: 35, rawhide
+: "${ci_suite:=auto}"
# ci_test:
# If yes, run tests; if no, just build
echo "detected ci_distro as '${ci_distro}'"
fi
+# choose suite
+if [ "$ci_suite" = "auto" ]; then
+ ci_suite=$(. /etc/os-release; if test -v VERSION_CODENAME; then echo ${VERSION_CODENAME}; else echo ${VERSION_ID}; fi)
+ echo "detected ci_suite as '${ci_suite}'"
+fi
+
if [ -n "$ci_docker" ]; then
exec docker run \
--env=ci_buildsys="${ci_buildsys}" \
# ci_suite:
# OS suite (release, branch) in which we are testing.
-# Typical values for ci_distro=debian: sid, bullseye
-# Typical values for ci_distro=fedora might be 25, rawhide
-: "${ci_suite:=bullseye}"
+# Typical values: auto (detect at runtime), ci_distro=debian: bullseye, buster, ci_distro=fedora: 35, rawhide
+: "${ci_suite:=auto}"
# ci_variant:
# One of debug, reduced, legacy, production
echo "detected ci_distro as '${ci_distro}'"
fi
+# choose suite
+if [ "$ci_suite" = "auto" ]; then
+ ci_suite=$(. /etc/os-release; if test -v VERSION_CODENAME; then echo ${VERSION_CODENAME}; else echo ${VERSION_ID}; fi)
+ echo "detected ci_suite as '${ci_suite}'"
+fi
+
if [ -n "$ci_docker" ]; then
sed \
-e "s/@ci_distro@/${ci_distro}/" \