-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
39db09c
commit 3448a68
Showing
1 changed file
with
4 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,6 @@ | ||
|
||
# auto-generated, DO NOT MODIFY. | ||
# The authoritative copy of this file lives at: | ||
# https://salsa.debian.org/go-team/ci/blob/master/cmd/ci/gitlabciyml.go | ||
|
||
# TODO: publish under debian-go-team/ci | ||
image: stapelberg/ci2 | ||
|
||
test_the_archive: | ||
artifacts: | ||
paths: | ||
- before-applying-commit.json | ||
- after-applying-commit.json | ||
script: | ||
# Create an overlay to discard writes to /srv/gopath/src after the build: | ||
- "rm -rf /cache/overlay/{upper,work}" | ||
- "mkdir -p /cache/overlay/{upper,work}" | ||
- "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src" | ||
- "export GOPATH=/srv/gopath" | ||
- "export GOCACHE=/cache/go" | ||
# Build the world as-is: | ||
- "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json" | ||
# Copy this package into the overlay: | ||
- "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'" | ||
- "pgt-gopath -dsc /tmp/export/*.dsc" | ||
# Rebuild the world: | ||
- "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json" | ||
- "ci-diff before-applying-commit.json after-applying-commit.json" | ||
# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go | ||
--- | ||
include: | ||
- https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml |