Commit 8e7f9a82 authored by georg's avatar georg

Merge branch '324-ci-debian-introduce-piuparts' into 'master'

CI: Debian: Introduce piuparts (package install, upgrade, removal)

See merge request !211
parents 888bd98f 5bda79bf
Pipeline #21464 passed with stages
in 24 minutes and 47 seconds
......@@ -209,5 +209,20 @@ debian:lintian:
- lintian --allow-root --display-experimental --display-info --info --pedantic results/*.changes
allow_failure: true
debian:piuparts:
stage: debian:qa
image: genericpipeline/piuparts-docker
services:
- docker:dind
script:
- CHROOT_PATH=/tmp/debian-unstable
- CONTAINER_ID=$(docker run --rm -d debian:unstable sleep infinity)
- docker exec ${CONTAINER_ID} bash -c "apt-get update"
- mkdir -p ${CHROOT_PATH}
- docker export ${CONTAINER_ID} | tar -C ${CHROOT_PATH} -xf -
- mknod -m 666 ${CHROOT_PATH}/dev/urandom c 1 9
- piuparts --hard-link -e ${CHROOT_PATH} results/*.deb
allow_failure: true
# TODO: Introduce job to check package for reproducibility. Currently, the toolchain is still experimental: Using
# reprotest, even with all variations disabled, makes the build fail.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment