[Pkg-samba-maint] [Git][samba-team/samba][add-salsa-ci] 2 commits: Add ldb from experimental to build package and run puiparts
Mathieu Parent
gitlab at salsa.debian.org
Thu Oct 11 05:30:03 BST 2018
Mathieu Parent pushed to branch add-salsa-ci at Debian Samba Team / samba
Commits:
beed86bc by Mathieu Parent at 2018-10-11T04:28:41Z
Add ldb from experimental to build package and run puiparts
- - - - -
3580da97 by Mathieu Parent at 2018-10-11T04:28:41Z
gitlab-ci.yml: Allow samba daemons to start during autopkgtest
- - - - -
2 changed files:
- debian/gitlab-ci.yml
- debian/gitlab-ci.yml.tpl
Changes:
=====================================
debian/gitlab-ci.yml
=====================================
@@ -24,6 +24,8 @@ build package:
paths:
- ${WORKING_DIR}/
script:
+ # https://salsa.debian.org/salsa-ci-team/images/merge_requests/8
+ - sed -i 's@^\(VOLUMES=".*\)"@\1 -v /etc/apt/sources.list.d:/etc/apt/sources.list.d -v /etc/apt/preferences.d:/etc/apt/preferences.d"@' /usr/local/bin/docker-build.sh
- gbp pull --ignore-branch --pristine-tar --track-missing
- gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} --git-builder='docker-build.sh registry.salsa.debian.org/salsa-ci-team/images/dockerbuilder'
@@ -31,6 +33,7 @@ run autopkgtest:
stage: test
image: registry.salsa.debian.org/salsa-ci-team/images/autopkgtest
script:
+ - eatmydata rm /usr/sbin/policy-rc.d
- eatmydata autopkgtest -U ${WORKING_DIR}/*.deb -- null
run lintian:
@@ -66,6 +69,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
+ # https://salsa.debian.org/salsa-ci-team/pipeline/merge_requests/29
+ - cp -aT /etc/apt/sources.list.d ${CHROOT_PATH}/etc/apt/sources.list.d
+ - cp -aT /etc/apt/preferences.d ${CHROOT_PATH}/etc/apt/preferences.d
- piuparts --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*\nPin: release a=experimental\nPin-Priority: 500' > /etc/apt/preferences.d/experimental.pref"
=====================================
debian/gitlab-ci.yml.tpl
=====================================
@@ -1,3 +1,6 @@
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"
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/2c72b778bc0c58b0bc45fd171f222b3437473749...3580da9721ea2b455c799bb716712cbaf6619331
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/2c72b778bc0c58b0bc45fd171f222b3437473749...3580da9721ea2b455c799bb716712cbaf6619331
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20181011/1bc9e558/attachment-0001.html>
More information about the Pkg-samba-maint
mailing list