Skip to content
Snippets Groups Projects
Commit e3358600 authored by Mathieu Parent's avatar Mathieu Parent
Browse files

gitlab-ci.yaml: piuparts improvements

Copy apt config to allow enabling extra repositories.

We try to match piuparts.debian.org options with the following difference:
- no --warn-on-others as this "could be problematic" "with multiple packages given"

But we kept:
- --warn-on-leftovers-after-purge even if we want a failure, because of #316521
parent a180b99f
No related branches found
No related tags found
1 merge request!10Add salsa-ci pipeline
Pipeline #23441 failed with stages
in 1 hour, 28 minutes, and 40 seconds
......@@ -56,7 +56,7 @@ run reprotest:
run piuparts:
stage: test
image: registry.salsa.debian.org/salsa-ci-team/images/piuparts
image: registry.salsa.debian.org/sathieu/images/piuparts
services:
- docker:dind
script:
......@@ -66,7 +66,10 @@ run piuparts:
- 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} ${WORKING_DIR}/*.deb
- mkdir -p ${CHROOT_PATH}/etc-target/apt/sources.list.d ${CHROOT_PATH}/etc-target/apt/preferences.d
- cp -aTv /etc/apt/sources.list.d ${CHROOT_PATH}/etc-target/apt/sources.list.d
- cp -aTv /etc/apt/preferences.d ${CHROOT_PATH}/etc-target/apt/preferences.d
- piuparts --scriptsdir /etc/piuparts/scripts --allow-database --warn-on-leftovers-after-purge --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb
# End of include
#################################### Below starts the local customization ###################################
before_script:
......
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