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

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

parent 3f2547ae
No related merge requests found
Pipeline #23468 failed with stages
in 1 hour, 38 minutes, and 43 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'
......@@ -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'
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