Use shared gitlab-ci.yml file from postgresql-common.
This commit is contained in:
parent
b54ffd557c
commit
f2bb21ab2c
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -6,6 +6,9 @@ patroni (1.5.1-3) UNRELEASED; urgency=medium
|
||||||
* debian/patroni.install: Adjusted.
|
* debian/patroni.install: Adjusted.
|
||||||
* debian/patroni@.service: Set environment file to /etc/patroni/env.conf.
|
* debian/patroni@.service: Set environment file to /etc/patroni/env.conf.
|
||||||
|
|
||||||
|
[ Christoph Berg ]
|
||||||
|
* Use shared gitlab-ci.yml file from postgresql-common.
|
||||||
|
|
||||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sat, 10 Nov 2018 20:55:39 +0100
|
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sat, 10 Nov 2018 20:55:39 +0100
|
||||||
|
|
||||||
patroni (1.5.1-2) unstable; urgency=medium
|
patroni (1.5.1-2) unstable; urgency=medium
|
||||||
|
|
51
debian/gitlab-ci.yml
vendored
51
debian/gitlab-ci.yml
vendored
|
@ -1,50 +1 @@
|
||||||
stages:
|
include: https://salsa.debian.org/postgresql/postgresql-common/raw/master/gitlab/gitlab-ci.yml
|
||||||
- build
|
|
||||||
- autopkgtest
|
|
||||||
|
|
||||||
.build: &build
|
|
||||||
stage: build
|
|
||||||
before_script:
|
|
||||||
# allow origtargz to use 'apt-get source'
|
|
||||||
- sed -e 's/^deb /deb-src /' /etc/apt/sources.list > /etc/apt/sources.list.d/src.list
|
|
||||||
- apt-get -q update
|
|
||||||
- apt-get -y --no-install-recommends install devscripts fakeroot liblwp-protocol-https-perl libwww-perl
|
|
||||||
- apt-get -y --no-install-recommends build-dep .
|
|
||||||
- useradd builduser
|
|
||||||
- chown -R builduser:builduser .
|
|
||||||
- chown builduser:builduser ..
|
|
||||||
- su -c 'origtargz' builduser
|
|
||||||
script:
|
|
||||||
- su -c 'dpkg-buildpackage --no-sign -sa -rfakeroot' builduser
|
|
||||||
after_script:
|
|
||||||
- rm -rf .built && mkdir .built
|
|
||||||
- dcmd mv ../*.changes .built/
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- .built
|
|
||||||
|
|
||||||
.test: &test
|
|
||||||
stage: autopkgtest
|
|
||||||
before_script:
|
|
||||||
- apt-get -q update -q
|
|
||||||
- apt-get -y --no-install-recommends install autopkgtest autodep8
|
|
||||||
script:
|
|
||||||
- autopkgtest .built/*.changes -- null
|
|
||||||
|
|
||||||
build:testing:
|
|
||||||
<<: *build
|
|
||||||
image: debian:testing
|
|
||||||
build:unstable:
|
|
||||||
<<: *build
|
|
||||||
image: debian:sid
|
|
||||||
|
|
||||||
test:testing:
|
|
||||||
<<: *test
|
|
||||||
dependencies:
|
|
||||||
- build:testing
|
|
||||||
image: debian:testing
|
|
||||||
test:unstable:
|
|
||||||
<<: *test
|
|
||||||
dependencies:
|
|
||||||
- build:unstable
|
|
||||||
image: debian:sid
|
|
||||||
|
|
Loading…
Reference in a new issue