[Pkg-samba-maint] [Git][samba-team/samba][selftest] Add "build selftest package" job to gitlab-ci.yml
Mathieu Parent
gitlab at salsa.debian.org
Wed Oct 31 08:12:25 GMT 2018
Mathieu Parent pushed to branch selftest at Debian Samba Team / samba
Commits:
2dd02cc4 by Mathieu Parent at 2018-10-31T08:11:54Z
Add "build selftest package" job to gitlab-ci.yml
- - - - -
2 changed files:
- debian/gitlab-ci.yml
- debian/gitlab-ci.yml.tpl
Changes:
=====================================
debian/gitlab-ci.yml
=====================================
@@ -75,3 +75,19 @@ run piuparts:
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"
+
+build selftest package:
+ stage: test
+ image: registry.salsa.debian.org/salsa-ci-team/images/gbp
+ services:
+ - docker:dind
+ dependencies: []
+ artifacts:
+ expire_in: 7 day
+ name: "$CI_BUILD_NAME"
+ paths:
+ - ${WORKING_DIR}/
+ script:
+ - export DEB_BUILD_PROFILES=pkg.samba.selftest
+ - 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' | sed -ne '/override_dh_auto_test/,$p'
=====================================
debian/gitlab-ci.yml.tpl
=====================================
@@ -4,3 +4,19 @@ include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
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"
+
+build selftest package:
+ stage: test
+ image: registry.salsa.debian.org/salsa-ci-team/images/gbp
+ services:
+ - docker:dind
+ dependencies: []
+ artifacts:
+ expire_in: 7 day
+ name: "$CI_BUILD_NAME"
+ paths:
+ - ${WORKING_DIR}/
+ script:
+ - export DEB_BUILD_PROFILES=pkg.samba.selftest
+ - 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' | sed -ne '/override_dh_auto_test/,$p'
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/2dd02cc4c7838dd4761b253b47cee0296f02df95
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/2dd02cc4c7838dd4761b253b47cee0296f02df95
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/20181031/d3ab7799/attachment-0001.html>
More information about the Pkg-samba-maint
mailing list