File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- set -eu
3+ set -eux
44
55client_configure () {
66 sudo chmod 600 $PQSSLCERTTEST_PATH /postgresql.key
77}
88
99pgdg_repository () {
10- local sourcelist=' sources.list.d/postgresql.list'
11-
1210 curl -sS ' https://www.postgresql.org/media/keys/ACCC4CF8.asc' | sudo apt-key add -
13- echo deb http://apt.postgresql.org/pub/repos/apt/ $( lsb_release -cs) -pgdg main $PGVERSION | sudo tee " /etc/apt/$sourcelist "
14- sudo apt-get -o Dir::Etc::sourcelist= " $sourcelist " -o Dir::Etc::sourceparts= ' - ' -o APT::Get::List-Cleanup= ' 0 ' update
11+ echo " deb http://apt.postgresql.org/pub/repos/apt/ ` lsb_release -cs` -pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
12+ sudo apt-get update
1513}
1614
1715postgresql_configure () {
@@ -51,10 +49,10 @@ postgresql_configure() {
5149}
5250
5351postgresql_install () {
54- xargs sudo apt-get -y -o Dpkg::Options::= ' --force-confdef ' -o Dpkg::Options::= ' --force-confnew ' install << -packages
52+ xargs sudo apt-get -y install << -packages
5553 postgresql-$PGVERSION
54+ postgresql-client-$PGVERSION
5655 postgresql-server-dev-$PGVERSION
57- postgresql-contrib-$PGVERSION
5856 packages
5957}
6058
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: go
33go :
44 - 1.14.x
55 - 1.15.x
6- - master
6+ - 1.16.x
77
88sudo : true
99
You can’t perform that action at this time.
0 commit comments