debian/tests/acceptance: Add ### PostgreSQL ### markers for Jenkins
This commit is contained in:
parent
e15c7c0b60
commit
6870df7681
9
debian/tests/acceptance
vendored
9
debian/tests/acceptance
vendored
|
@ -25,7 +25,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# clean up afterwards
|
# clean up afterwards
|
||||||
trap 'rm -f /tmp/pgpass?; if [ $(id -u) -eq 0 ] && [ -x /etc/init.d/zookeeper ]; then /etc/init.d/zookeeper stop; fi' 0 2 3 15
|
trap 'rm -f /tmp/pgpass?; if [ $(id -u) -eq 0 ] && [ -x /etc/init.d/zookeeper ]; then /etc/init.d/zookeeper stop; fi' EXIT
|
||||||
|
|
||||||
# set ETCD_ARCH for ETCD_UNSUPPORTED_ARCH
|
# set ETCD_ARCH for ETCD_UNSUPPORTED_ARCH
|
||||||
# see https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/supported-platform.md#current-support
|
# see https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/supported-platform.md#current-support
|
||||||
|
@ -35,10 +35,7 @@ case $DEB_HOST_ARCH in
|
||||||
arm64)
|
arm64)
|
||||||
ETCD_ARCH=arm64
|
ETCD_ARCH=arm64
|
||||||
;;
|
;;
|
||||||
armel)
|
armel|armhf)
|
||||||
ETCD_ARCH=arm
|
|
||||||
;;
|
|
||||||
armhf)
|
|
||||||
ETCD_ARCH=arm
|
ETCD_ARCH=arm
|
||||||
;;
|
;;
|
||||||
i386)
|
i386)
|
||||||
|
@ -48,6 +45,7 @@ esac
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
for PG_VERSION in $(ls -1r /usr/lib/postgresql/); do
|
for PG_VERSION in $(ls -1r /usr/lib/postgresql/); do
|
||||||
|
echo "### PostgreSQL $PG_VERSION acceptance-$DCS ###"
|
||||||
if [ "${PG_VERSION}" == "10" ]; then
|
if [ "${PG_VERSION}" == "10" ]; then
|
||||||
SKIP=--tags=-skip
|
SKIP=--tags=-skip
|
||||||
else
|
else
|
||||||
|
@ -57,4 +55,5 @@ for PG_VERSION in $(ls -1r /usr/lib/postgresql/); do
|
||||||
PATH=/usr/lib/postgresql/${PG_VERSION}/bin:$PATH \
|
PATH=/usr/lib/postgresql/${PG_VERSION}/bin:$PATH \
|
||||||
behave ${SKIP} | ts" || \
|
behave ${SKIP} | ts" || \
|
||||||
(for file in $(ls features/output/*_failed/*); do echo "$file:"; cat $file; done && exit 1)
|
(for file in $(ls features/output/*_failed/*); do echo "$file:"; cat $file; done && exit 1)
|
||||||
|
echo "### End $PG_VERSION acceptance-$DCS ###"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue