Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76a6c91

Browse files
committed
[skip travis] test packages for std|ent
1 parentefe6bf8 commit76a6c91

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

‎packaging/test/scripts/deb_forks.sh‎

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ if [ ${PBK_EDITION} == 'ent' ]; then
1515
exit 0
1616
fi
1717

18+
if [${PBK_EDITION}=='std' ]&& [${PG_VERSION}=='9.6' ];then
19+
exit 0
20+
fi
21+
1822
# upgrade and utils
1923
# export parameters
2024
export DEBIAN_FRONTEND=noninteractive
@@ -49,29 +53,15 @@ http {
4953
EOF
5054
nginx -s reload|| (pkill -9 nginx|| nginx -c /etc/nginx/nginx.conf&)
5155

52-
# add postgresql repo
53-
if [${PG_VERSION}=='9.6' ];then
54-
sh -c'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
55-
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc| apt-key add -
56-
apt-get update -y
57-
fi
58-
5956
# install POSTGRESPRO
6057
if [${PBK_EDITION}=='std' ];then
6158
sh -c'echo "deb https://repo.postgrespro.ru/pgpro-${PG_VERSION}/${DISTRIB}/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/pgpro.list'
6259
wget --quiet -O - https://repo.postgrespro.ru/pgpro-${PG_VERSION}/keys/GPG-KEY-POSTGRESPRO| apt-key add -
6360
apt-get update -y
6461

65-
if [[${PG_VERSION}=='9.6' ]];then
66-
apt-get install -y postgrespro-${PG_VERSION}
67-
BINDIR="/usr/lib/postgresql/${PG_VERSION}/bin"
68-
else
69-
apt-get install -y postgrespro-std-${PG_VERSION}
70-
BINDIR="/opt/pgpro/std-${PG_VERSION}/bin"
71-
export LD_LIBRARY_PATH=/opt/pgpro/std-${PG_VERSION}/lib/
72-
fi
73-
74-
apt-get install libpq5 -y
62+
apt-get install -y postgrespro-std-${PG_VERSION}
63+
BINDIR="/opt/pgpro/std-${PG_VERSION}/bin"
64+
export LD_LIBRARY_PATH=/opt/pgpro/std-${PG_VERSION}/lib/
7565
fi
7666

7767
# install pg_probackup from current public repo

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp