1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Add PostgreSQL 12 to u18 container.

This does not add PostgresQL 12 support; it simply adds PostgreSQL 12 to the u18 container for development and testing.
This commit is contained in:
David Steele 2019-09-27 09:35:59 -04:00
parent 03a7bda511
commit d6a6d93a04
5 changed files with 9 additions and 2 deletions

View File

@ -43,6 +43,8 @@ use constant PG_VERSION_10 => '10';
push @EXPORT, qw(PG_VERSION_10);
use constant PG_VERSION_11 => '11';
push @EXPORT, qw(PG_VERSION_11);
use constant PG_VERSION_12 => '12';
push @EXPORT, qw(PG_VERSION_12);
use constant PG_VERSION_APPLICATION_NAME => PG_VERSION_90;
push @EXPORT, qw(PG_VERSION_APPLICATION_NAME);

View File

@ -7691,6 +7691,8 @@ static const EmbeddedModule embeddedModule[] =
"push @EXPORT, qw(PG_VERSION_10);\n"
"use constant PG_VERSION_11 => '11';\n"
"push @EXPORT, qw(PG_VERSION_11);\n"
"use constant PG_VERSION_12 => '12';\n"
"push @EXPORT, qw(PG_VERSION_12);\n"
"\n"
"use constant PG_VERSION_APPLICATION_NAME => PG_VERSION_90;\n"
"push @EXPORT, qw(PG_VERSION_APPLICATION_NAME);\n"

View File

@ -13,8 +13,10 @@
# - docker tag pgbackrest/test:{vm}-base pgbackrest/test:{vm}-base-YYYYMMDDA
# - docker push pgbackrest/test:{vm}-base-YYYYMMDDA
# **********************************************************************************************************************************
20190926A:
u18: 9a6456313490a68de01e5bae6876b1d598a00ef5
20190725A:
u18: 91252e3e21ff553b231094194e13966065c32d6b
co6: 194df5323239146733c51e77e9324b495bb2c727
co7: 3373903192a6dcf7c0b88c66ce9223da54ee2deb
u12: d3f1c8123b747b479586c2bbbf544c9a9cc42619

View File

@ -500,7 +500,7 @@ sub containerBuild
{
$strScript .=
" echo 'deb http://apt.postgresql.org/pub/repos/apt/ " .
$$oVm{$strOS}{&VM_OS_REPO} . '-pgdg main' .
$$oVm{$strOS}{&VM_OS_REPO} . '-pgdg main' . ($strOS eq VM_U18 ? ' 12' : '') .
"' >> /etc/apt/sources.list.d/pgdg.list && \\\n" .
" wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \\\n" .
" apt-get update && \\\n" .

View File

@ -351,6 +351,7 @@ my $oyVm =
PG_VERSION_96,
PG_VERSION_10,
PG_VERSION_11,
PG_VERSION_12,
],
&VM_DB_TEST =>