[Pkg-samba-maint] [Git][samba-team/samba][add-salsa-ci] Do not use dind, and add experimental
Mathieu Parent
gitlab at salsa.debian.org
Wed Oct 10 20:22:20 BST 2018
Mathieu Parent pushed to branch add-salsa-ci at Debian Samba Team / samba
Commits:
efe7b118 by Mathieu Parent at 2018-10-10T19:22:00Z
Do not use dind, and add experimental
- - - - -
2 changed files:
- debian/gitlab-ci.yml
- debian/gitlab-ci.yml.tpl
Changes:
=====================================
debian/gitlab-ci.yml
=====================================
@@ -15,17 +15,19 @@ image: debian:unstable
build package:
stage: build
- image: registry.salsa.debian.org/salsa-ci-team/images/gbp
- services:
- - docker:dind
+ image: registry.salsa.debian.org/salsa-ci-team/images/dockerbuilder
artifacts:
expire_in: 180 day
name: "$CI_BUILD_NAME"
paths:
- ${WORKING_DIR}/
script:
- - 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'
+ - eatmydata apt-get update
+ - eatmydata apt-get dist-upgrade -y
+ - eatmydata apt-get install build-essential devscripts git-buildpackage pristine-tar ca-certificates fakeroot --no-install-recommends -y
+ - eatmydata apt-get build-dep -y .
+ - eatmydata gbp pull --ignore-branch --pristine-tar --track-missing
+ - eatmydata gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR}
run autopkgtest:
stage: test
@@ -69,3 +71,6 @@ run piuparts:
- 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/commit/efe7b118803642c8c22543f82d79ad4e979ebf1b
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/efe7b118803642c8c22543f82d79ad4e979ebf1b
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/20181010/aa6dbbea/attachment-0001.html>
More information about the Pkg-samba-maint
mailing list