Package list logbook / 5930ed1
Merge branch 'salsa-ci-1541037560' into 'master' Add salsa-ci pipeline See merge request debian/logbook!16 Iñaki Malerba 2 years ago
2 changed file(s) with 29 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
0 # Warning! This file is autogenerated by salsa pipeline bot. Any change made
1 # over this document will be lost. Customization and changes must be made over
2 # the template yaml.
03 variables:
1 DEBFULLNAME: "Iñaki Malerba"
2 DEBEMAIL: "<inaki@malerba.space>"
4 DEBFULLNAME: "Salsa Pipeline"
5 DEBEMAIL: "<salsa-pipeline@debian.org>"
36 DEBIAN_FRONTEND: noninteractive
4 DEB_BUILD_OPTIONS: nocheck
57 WORKING_DIR: ./debian/output
68
79 stages:
1214
1315 build package:
1416 stage: build
17 image: registry.salsa.debian.org/salsa-ci-team/images/gbp
18 services:
19 - docker:dind
1520 artifacts:
1621 expire_in: 180 day
1722 name: "$CI_BUILD_NAME"
1823 paths:
1924 - ${WORKING_DIR}/
2025 script:
21 - apt-get update
22 - apt-get install eatmydata -y
23 - eatmydata apt-get build-dep -y .
24 - eatmydata apt-get install git-buildpackage -y
25 - gbp pull --ignore-branch
26 - gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} -us -uc
26 - gbp pull --ignore-branch --pristine-tar --track-missing
27 - gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} --git-builder='docker-build.sh registry.salsa.debian.org/salsa-ci-team/images/dockerbuilder'
2728
2829 run autopkgtest:
2930 stage: test
31 image: registry.salsa.debian.org/salsa-ci-team/images/autopkgtest
3032 script:
31 - apt-get update && apt-get install autopkgtest eatmydata -y --no-install-recommends
32 - eatmydata autopkgtest ${WORKING_DIR}/*.deb -- null
33 - eatmydata autopkgtest -U ${WORKING_DIR}/*.deb -- null
3334
3435 run lintian:
3536 stage: test
37 image: registry.salsa.debian.org/salsa-ci-team/images/lintian
3638 script:
37 - apt-get update && apt-get install lintian -y --no-install-recommends
3839 - lintian -iI ${WORKING_DIR}/*.changes
3940
4041 run reprotest:
4142 stage: test
42 image: genericpipeline/reprotest-docker
43 image: registry.salsa.debian.org/salsa-ci-team/images/reprotest
44 artifacts:
45 name: "$CI_BUILD_NAME"
46 expire_in: 180 day
47 paths:
48 - ./reprotest.log
49 when: always
4350 script:
44 - apt-get update && apt-get install eatmydata -y
51 - apt-get update
4552 - eatmydata apt-get build-dep -y .
46 - eatmydata reprotest . -- null
47 tags:
48 - privileged
53 - export DEB_BUILD_OPTIONS=nocheck
54 - eatmydata reprotest --no-diffoscope --min-cpus $(nproc --all) . -- null &> reprotest.log
4955
5056 run piuparts:
5157 stage: test
52 image: genericpipeline/piuparts-docker
58 image: registry.salsa.debian.org/salsa-ci-team/images/piuparts
5359 services:
5460 - docker:dind
5561 script:
6066 - docker export ${CONTAINER_ID} | tar -C ${CHROOT_PATH} -xf -
6167 - mknod -m 666 ${CHROOT_PATH}/dev/urandom c 1 9
6268 - piuparts --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb
63 tags:
64 - privileged
69 # End of include
70 #################################### Below starts the local customization ###################################
0 include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
1
2 # end of salsa pipeline bot parser