Skip to content
GitLab
Explore
Sign in
Register
Commits on Source
2
debian/gitlab-ci.yml: Use ldb from experimental
· d1d0c010
Mathieu Parent
authored
Oct 13, 2018
d1d0c010
WIP piuparts
· 5329d19d
Mathieu Parent
authored
Oct 15, 2018
5329d19d
Show whitespace changes
Inline
Side-by-side
debian/gitlab-ci.yml
View file @
5329d19d
...
...
@@ -56,7 +56,7 @@ run reprotest:
run piuparts
:
stage
:
test
image
:
registry.salsa.debian.org/sa
lsa-ci-team
/images/piuparts
image
:
registry.salsa.debian.org/sa
thieu
/images/piuparts
services
:
-
docker:dind
script
:
...
...
@@ -66,6 +66,12 @@ 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 --warn-on-others --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
:
-
echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
-
"
echo
'Package:
ldb-tools
libldb*
python*-ldb*
\n
Pin:
release
a=experimental
\n
Pin-Priority:
500'
>
/etc/apt/preferences.d/experimental.pref"
debian/gitlab-ci.yml.tpl
View file @
5329d19d
include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
# end of salsa pipeline bot parser
before_script:
- echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
- "echo 'Package: ldb-tools libldb* python*-ldb*\nPin: release a=experimental\nPin-Priority: 500' > /etc/apt/preferences.d/experimental.pref"