Codebase list golang-rsc-qr / debian/latest
[skip ci] update debian/gitlab-ci.yml (using pkg-go-tools/ci-config) See: https://salsa.debian.org/go-team/infra/pkg-go-tools Gbp-Dch: Ignore Aloïs Micard 2 years ago
1 changed file(s) with 4 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
0
10 # auto-generated, DO NOT MODIFY.
21 # The authoritative copy of this file lives at:
3 # https://salsa.debian.org/go-team/ci/blob/master/cmd/ci/gitlabciyml.go
4
5 # TODO: publish under debian-go-team/ci
6 image: stapelberg/ci2
7
8 test_the_archive:
9 artifacts:
10 paths:
11 - before-applying-commit.json
12 - after-applying-commit.json
13 script:
14 # Create an overlay to discard writes to /srv/gopath/src after the build:
15 - "rm -rf /cache/overlay/{upper,work}"
16 - "mkdir -p /cache/overlay/{upper,work}"
17 - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src"
18 - "export GOPATH=/srv/gopath"
19 - "export GOCACHE=/cache/go"
20 # Build the world as-is:
21 - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json"
22 # Copy this package into the overlay:
23 - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'"
24 - "pgt-gopath -dsc /tmp/export/*.dsc"
25 # Rebuild the world:
26 - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json"
27 - "ci-diff before-applying-commit.json after-applying-commit.json"
2 # https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go
3 ---
4 include:
5 - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml