Commit Graph

16 Commits

Author SHA1 Message Date
Hans-Christoph Steiner f84c7aaec1 clean/reset git repo before switching branches and building 2018-06-04 20:16:19 +02:00
Hans-Christoph Steiner 1312254a5d automatically run autopkgtest when the package includes them 2018-06-04 20:16:19 +02:00
Hans-Christoph Steiner e2c8c58363 allow setting release to sid using DEBIAN_RELEASE env var 2018-05-24 21:49:30 +02:00
Hans-Christoph Steiner 09d87e7784 run lintian by default after successful builds 2018-05-23 20:09:39 +02:00
Hans-Christoph Steiner 2a6fe47e38 skip Build-Depends scraping if apt-get is new enough
Starting in apt v1.1, `apt-get build-dep` accepts a path to a source package
as an argument, instead of just a package name.
2018-05-23 14:51:33 +02:00
Hans-Christoph Steiner 5b370ec68d prefer `apt-get build-dep` if the current Debian version works 2018-05-22 22:35:43 +02:00
Hans-Christoph Steiner 38ad096a13 force pristine-tar branch to latest version from origin 2018-05-22 22:35:43 +02:00
Hans-Christoph Steiner 2693459488 small cleanups 2018-05-22 22:35:43 +02:00
Hans-Christoph Steiner 4cd308deaa use lockfile to prevent running gitlab-ci commands twice
Workaround for this bug:
https://gitlab.com/gitlab-org/gitlab-runner/issues/1380#note_48552305
2018-05-22 22:35:41 +02:00
Hans-Christoph Steiner cbb63b4343 support building merge request branches
CI_COMMIT_TAG is only present when building a tag, in which case the var
CI_COMMIT_REF_NAME is set to the tag name rather than the branch name.  gbp
does not build from tags, only branches.
2018-05-22 22:35:00 +02:00
Hans-Christoph Steiner aaefe38f84 auto-run git-buildpackage setup for all gitlab-ci scripts
the script: section will be run after gbp completes
2018-05-22 22:35:00 +02:00
Hans-Christoph Steiner 71d583ae8e properly parse Build-Depends: with | in it 2018-05-18 12:09:08 +02:00
Hans-Christoph Steiner 6099e4363b print info and continue if cannot setup pristine-tar 2018-05-15 15:17:20 +02:00
Hans-Christoph Steiner 7a8d481dea ensure pristine-tar branch exists before running gbp 2018-05-15 14:38:10 +02:00
Hans-Christoph Steiner 21cd8dd366 quiet apt-get log output a bit 2018-02-22 22:06:16 +01:00
Hans-Christoph Steiner 0c02510d94 run script with whole git-buildpackage process 2018-01-09 18:28:44 +01:00