[Pkg-samba-maint] [Git][samba-team/samba][add-salsa-ci] 7 commits: ctdb.postrm: Fix to disable_legacy (found by piuparts)
Mathieu Parent
gitlab at salsa.debian.org
Fri Oct 12 14:48:43 BST 2018
Mathieu Parent pushed to branch add-salsa-ci at Debian Samba Team / samba
Commits:
0ef6aac6 by Mathieu Parent at 2018-10-12T13:39:57Z
ctdb.postrm: Fix to disable_legacy (found by piuparts)
- - - - -
fa0bc9cd by Mathieu Parent at 2018-10-12T13:47:28Z
Changelog for previous commits
- - - - -
878c9ea1 by Salsa Pipeline Bot at 2018-10-12T13:48:19Z
Add pipeline template
Gbp-Dch: Ignore
- - - - -
4e4cf22e by Salsa Pipeline Bot at 2018-10-12T13:48:19Z
Initial pipeline
Gbp-Dch: Ignore
- - - - -
96b703ee by Mathieu Parent at 2018-10-12T13:48:19Z
Add ldb from experimental to build package and run puiparts
- - - - -
6b042f7e by Mathieu Parent at 2018-10-12T13:48:19Z
gitlab-ci.yml: Allow samba daemons to start during autopkgtest
Removing /usr/sbin/policy-rc.d only prints:
invoke-rc.d: could not determine current runlevel
invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block.
- - - - -
e0f2330a by Mathieu Parent at 2018-10-12T13:48:19Z
Allow to remove sudo without a root password (needed for the "run piuparts" job)
- - - - -
4 changed files:
- debian/changelog
- debian/ctdb.postrm
- + debian/gitlab-ci.yml
- + debian/gitlab-ci.yml.tpl
Changes:
=====================================
debian/changelog
=====================================
@@ -11,6 +11,10 @@ samba (2:4.9.1+dfsg-2) UNRELEASED; urgency=medium
- debian/winbind.pam-config: Use the new try_authtok option allowing
password change while preserving current behavior with password strength
modules (Closes: #858923, LP: #570944)
+ * README.source: use gbp pull --track-missing
+ * Override library-not-linked-against-libc false positives (See #896012)
+ * Fix wrong-path-for-interpreter for pidl and findsmb
+ * ctdb.postrm: Fix to disable_legacy (found by piuparts)
-- Mathieu Parent <sathieu at debian.org> Tue, 09 Oct 2018 10:09:09 +0200
=====================================
debian/ctdb.postrm
=====================================
@@ -31,7 +31,7 @@ disable_legacy() { # From ctdb/packaging/RPM/ctdb.spec.in
case "$1" in
purge)
- disable_legacy
+ disable_legacy 0
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
=====================================
debian/gitlab-ci.yml
=====================================
@@ -0,0 +1,83 @@
+# Warning! This file is autogenerated by salsa pipeline bot. Any change made
+# over this document will be lost. Customization and changes must be made over
+# the template yaml.
+variables:
+ DEBFULLNAME: "Salsa Pipeline"
+ DEBEMAIL: "<salsa-pipeline at debian.org>"
+ DEBIAN_FRONTEND: noninteractive
+ WORKING_DIR: ./debian/output
+ SUDO_FORCE_REMOVE: "yes"
+
+stages:
+ - build
+ - test
+
+image: debian:unstable
+
+build package:
+ stage: build
+ image: registry.salsa.debian.org/salsa-ci-team/images/gbp
+ services:
+ - docker:dind
+ artifacts:
+ expire_in: 180 day
+ name: "$CI_BUILD_NAME"
+ paths:
+ - ${WORKING_DIR}/
+ script:
+ # https://salsa.debian.org/salsa-ci-team/images/merge_requests/9
+ - sed -i 's@^\(done\)@\1;for conf in $(find /etc/apt/sources.list.d/ /etc/apt/preferences.d/ -mindepth 1 -maxdepth 1); do echo "Copying $conf"; cat "$conf" | eval docker exec -i ${DEBIAN_VARENVS} ${CONTAINER_ID} tee "$conf"; done@' /usr/local/bin/docker-build.sh
+ - cat /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'
+
+run autopkgtest:
+ stage: test
+ image: registry.salsa.debian.org/salsa-ci-team/images/autopkgtest
+ script:
+ - rm /usr/sbin/policy-rc.d
+ - ln -s /bin/true /usr/sbin/policy-rc.d
+ - eatmydata autopkgtest -U ${WORKING_DIR}/*.deb -- null
+
+run lintian:
+ stage: test
+ image: registry.salsa.debian.org/salsa-ci-team/images/lintian
+ script:
+ - lintian -iI ${WORKING_DIR}/*.changes
+
+run reprotest:
+ stage: test
+ image: registry.salsa.debian.org/salsa-ci-team/images/reprotest
+ artifacts:
+ name: "$CI_BUILD_NAME"
+ expire_in: 180 day
+ paths:
+ - ./reprotest.log
+ when: always
+ script:
+ - apt-get update
+ - eatmydata apt-get build-dep -y .
+ - export DEB_BUILD_OPTIONS=nocheck
+ - eatmydata reprotest --no-diffoscope --min-cpus $(nproc --all) . -- null &> reprotest.log
+
+run piuparts:
+ stage: test
+ image: registry.salsa.debian.org/salsa-ci-team/images/piuparts
+ 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 && apt-get install eatmydata -y"
+ - 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 -aTv /etc/apt/sources.list.d ${CHROOT_PATH}/etc/apt/sources.list.d
+ - cp -aTv /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
=====================================
@@ -0,0 +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/e451ac317742eff83c146eed083147ace5268e5f...e0f2330a6414bc5c06f444c598a91da7a3ac7ae5
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/e451ac317742eff83c146eed083147ace5268e5f...e0f2330a6414bc5c06f444c598a91da7a3ac7ae5
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/20181012/b9710ca4/attachment-0001.html>
More information about the Pkg-samba-maint
mailing list