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

Do not use dind, and add experimental

parent 0d7f77cc
No related branches found
No related tags found
No related merge requests found
Pipeline #21329 failed with stages
in 4 minutes and 10 seconds
......@@ -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"
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"
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