From 739abde77aa465829d5b4fdddafd1930ba425b1d Mon Sep 17 00:00:00 2001 From: bom Date: Wed, 10 Nov 2021 13:34:07 +0100 Subject: [PATCH] bumped postgres verion to 14 --- infrastructure/docker/image/resources/install.sh | 2 +- infrastructure/docker/test/Dockerfile | 2 +- infrastructure/docker/test/serverspec.edn | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/docker/image/resources/install.sh b/infrastructure/docker/image/resources/install.sh index ee629b7..13e9ff1 100755 --- a/infrastructure/docker/image/resources/install.sh +++ b/infrastructure/docker/image/resources/install.sh @@ -7,7 +7,7 @@ function main() { wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - apt-get update > /dev/null; - apt-get -qqy install wget postgresql-client-13 restic > /dev/null; + apt-get -qqy install wget postgresql-client-14 restic > /dev/null; update-ca-certificates diff --git a/infrastructure/docker/test/Dockerfile b/infrastructure/docker/test/Dockerfile index e243a95..70e1a30 100644 --- a/infrastructure/docker/test/Dockerfile +++ b/infrastructure/docker/test/Dockerfile @@ -1,6 +1,6 @@ FROM dda-backup -RUN apt -yqq install openjdk-13-jre-headless > /dev/null +RUN apt update > /dev/null && apt -yqq install openjdk-13-jre-headless > /dev/null RUN curl -L -o /tmp/serverspec.jar https://github.com/DomainDrivenArchitecture/dda-serverspec-crate/releases/download/2.0.0/dda-serverspec-standalone.jar diff --git a/infrastructure/docker/test/serverspec.edn b/infrastructure/docker/test/serverspec.edn index af5be43..d86448a 100644 --- a/infrastructure/docker/test/serverspec.edn +++ b/infrastructure/docker/test/serverspec.edn @@ -1,5 +1,5 @@ {:package [{:name "restic"} - {:name "postgresql-client-13"}] + {:name "postgresql-client-14"}] :file [{:path "/usr/local/lib/functions.sh" :mod "400"} {:path "/usr/local/lib/pg-functions.sh" :mod "400"} {:path "/usr/local/lib/file-functions.sh" :mod "400"}]}