[Pkg-samba-maint] [Git][samba-team/samba][add-salsa-ci] 2 commits: debian/gitlab-ci.yml: Use ldb from experimental

Mathieu Parent gitlab at salsa.debian.org
Mon Oct 15 13:14:10 BST 2018


Mathieu Parent pushed to branch add-salsa-ci at Debian Samba Team / samba


Commits:
d1d0c010 by Mathieu Parent at 2018-10-15T09:15:10Z
debian/gitlab-ci.yml: Use ldb from experimental

- - - - -
5329d19d by Mathieu Parent at 2018-10-15T12:13:48Z
WIP piuparts

- - - - -


2 changed files:

- debian/gitlab-ci.yml
- debian/gitlab-ci.yml.tpl


Changes:

=====================================
debian/gitlab-ci.yml
=====================================
@@ -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,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*\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/36153a4bde1f50facabe170921efa8ea3f64c0a5...5329d19d59d82774bb6e305e7bc99772ef5e6512

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/36153a4bde1f50facabe170921efa8ea3f64c0a5...5329d19d59d82774bb6e305e7bc99772ef5e6512
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/20181015/656b2258/attachment-0001.html>


More information about the Pkg-samba-maint mailing list