diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml index 6b175eb..aee817e 100644 --- a/debian/gitlab-ci.yml +++ b/debian/gitlab-ci.yml @@ -1,8 +1,10 @@ +# Warning! This file is autogenerated by salsa pipeline bot. Any change made +# over this document will be lost. Customization and changes must be made over +# the template yaml. variables: - DEBFULLNAME: "IƱaki Malerba" - DEBEMAIL: "" + DEBFULLNAME: "Salsa Pipeline" + DEBEMAIL: "" DEBIAN_FRONTEND: noninteractive - DEB_BUILD_OPTIONS: nocheck WORKING_DIR: ./debian/output stages: @@ -13,44 +15,48 @@ build package: stage: build + image: registry.salsa.debian.org/salsa-ci-team/images/gbp + services: + - docker:dind artifacts: expire_in: 180 day name: "$CI_BUILD_NAME" paths: - ${WORKING_DIR}/ script: - - apt-get update - - apt-get install eatmydata -y - - eatmydata apt-get build-dep -y . - - eatmydata apt-get install git-buildpackage -y - - gbp pull --ignore-branch - - gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} -us -uc + - 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' run autopkgtest: stage: test + image: registry.salsa.debian.org/salsa-ci-team/images/autopkgtest script: - - apt-get update && apt-get install autopkgtest eatmydata -y --no-install-recommends - - eatmydata autopkgtest ${WORKING_DIR}/*.deb -- null + - eatmydata autopkgtest -U ${WORKING_DIR}/*.deb -- null run lintian: stage: test + image: registry.salsa.debian.org/salsa-ci-team/images/lintian script: - - apt-get update && apt-get install lintian -y --no-install-recommends - lintian -iI ${WORKING_DIR}/*.changes run reprotest: stage: test - image: genericpipeline/reprotest-docker + image: registry.salsa.debian.org/salsa-ci-team/images/reprotest + artifacts: + name: "$CI_BUILD_NAME" + expire_in: 180 day + paths: + - ./reprotest.log + when: always script: - - apt-get update && apt-get install eatmydata -y + - apt-get update - eatmydata apt-get build-dep -y . - - eatmydata reprotest . -- null - tags: - - privileged + - export DEB_BUILD_OPTIONS=nocheck + - eatmydata reprotest --no-diffoscope --min-cpus $(nproc --all) . -- null &> reprotest.log run piuparts: stage: test - image: genericpipeline/piuparts-docker + image: registry.salsa.debian.org/salsa-ci-team/images/piuparts services: - docker:dind script: @@ -61,5 +67,5 @@ - docker export ${CONTAINER_ID} | tar -C ${CHROOT_PATH} -xf - - mknod -m 666 ${CHROOT_PATH}/dev/urandom c 1 9 - piuparts --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb - tags: - - privileged +# End of include +#################################### Below starts the local customization ###################################