Commit 973fdccd authored by Salvatore Bonaccorso's avatar Salvatore Bonaccorso

Replace home-made GitLab CI with the standard Salsa pipeline

parent fde906c3
Pipeline #29956 passed with stages
in 5 minutes and 10 seconds
variables:
DEBFULLNAME: "Salsa Pipeline"
DEBEMAIL: "<salsa-pipeline@debian.org>"
DEBIAN_FRONTEND: noninteractive
WORKING_DIR: ./debian/output
include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
stages:
- build
- test
build:
extends: .build-unstable
image: debian:unstable
reprotest:
extends: .test-reprotest
build package:
stage: build
artifacts:
expire_in: 180 day
name: "$CI_BUILD_NAME"
paths:
- ${WORKING_DIR}/
script:
- apt-get update
- apt-get -y install eatmydata
- eatmydata apt-get -y build-dep .
- eatmydata apt-get -y install git-buildpackage
- gbp pull --ignore-branch --pristine-tar --track-missing
- gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} -us -uc
lintian:
extends: .test-lintian
run autopkgtest:
stage: test
script:
- apt-get update
- apt-get -y --no-install-recommends install autopkgtest eatmydata
- eatmydata autopkgtest -U ${WORKING_DIR}/*.deb -- null || [ $? -eq 8 ]
autopkgtest:
extends: .test-autopkgtest
run lintian:
stage: test
script:
- apt-get update
- apt-get -y --no-install-recommends install lintian dpkg-dev
- lintian -iI ${WORKING_DIR}/*.changes
run reprotest:
stage: test
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
- eatmydata apt-get -y build-dep .
- export DEB_BUILD_OPTIONS=nocheck
- eatmydata reprotest --no-diffoscope --min-cpus $(nproc --all) . -- null &> reprotest.log
piuparts:
extends: .test-piuparts
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment