[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 15:14:35 BST 2018
Mathieu Parent pushed to branch add-salsa-ci at Debian Samba Team / samba
Commits:
28247037 by Mathieu Parent at 2018-10-10T14:14:18Z
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'
+ - apt-get update
+ - 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 -e 'Package: *\nPin: release a=experimental\nPin-Priority: 600\n\nPackage: *\nPin: release o=Debian\nPin-Priority: 700' > /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 -e 'Package: *\nPin: release a=experimental\nPin-Priority: 600\n\nPackage: *\nPin: release o=Debian\nPin-Priority: 700' > /etc/apt/preferences.d/experimental.pref"
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/282470377a577b2f08e9c6e74007e29ad024b59d
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/282470377a577b2f08e9c6e74007e29ad024b59d
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/4810cebf/attachment-0001.html>
More information about the Pkg-samba-maint
mailing list