Federico Ceratto
a94ee96561
Support native packages ( Closes #1 )
2018-09-25 13:59:02 +02:00
Hans-Christoph Steiner
305bd2e66d
uscan needs gnupg2 and libwww-perl to function
2018-09-25 13:09:32 +02:00
Hans-Christoph Steiner
b3af073a08
if package has no pristine-tar branch, fallback to uscan
2018-09-25 13:09:32 +02:00
Hans-Christoph Steiner
5442608424
delete any possible remnants from previous runs
2018-06-25 15:45:01 +02:00
Hans-Christoph Steiner
d0a33ae7f5
mark packages installed here as 'auto' so they can be easily removed
...
This makes for clean autopkgtest runs.
2018-06-25 15:45:00 +02:00
Hans-Christoph Steiner
2caa367232
split out functionality from entrypoint into individual scripts
2018-06-20 22:54:41 +02:00
Hans-Christoph Steiner
a5850ff189
break out autopkgtest into a standalone script
2018-06-20 22:53:40 +02:00
Hans-Christoph Steiner
a25a9565ac
move lintian runs to script called gitlab-ci-lintian
2018-06-20 21:44:34 +02:00
Hans-Christoph Steiner
2e4fcac191
set APT_GET_OPTIONS for all scripts
2018-06-20 21:44:32 +02:00
Hans-Christoph Steiner
61a5b0173f
require GitLab CI session to run these scripts
...
These scripts assume things that you only get while running in a CI
Docker container, like root access and state that is reset everytime.
2018-06-20 21:44:15 +02:00
Hans-Christoph Steiner
6c596bd7b9
provide scripts for enabling sid or experimental
2018-06-14 22:38:10 +02:00
Hans-Christoph Steiner
400da12f90
support adding an extra apt source from the build job
2018-06-14 22:37:29 +02:00
Hans-Christoph Steiner
3fa250a25b
add APT_GET_OPTIONS to let jobs specific command line flags
...
This is for things like adding --allow-unauthenticated when using CI aptly
repos.
2018-06-14 14:59:39 +02:00
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