Skip to content
Snippets Groups Projects
Commit 2dd02cc4 authored by Mathieu Parent's avatar Mathieu Parent
Browse files

Add "build selftest package" job to gitlab-ci.yml

parent 3f2547ae
No related branches found
Tags debian/2%4.11.1+dfsg-3
No related merge requests found
Pipeline #23508 failed with stages
in 1 hour, 37 minutes, and 50 seconds
......@@ -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'
......@@ -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'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment