1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-06 08:49:29 +02:00

New CI container build for PostgreSQL 16 beta1.

This commit is contained in:
David Steele
2023-05-25 20:08:12 +03:00
parent 9cceed6ac4
commit 5d671c63d8
2 changed files with 7 additions and 10 deletions

View File

@@ -12,6 +12,10 @@
# - docker login -u pgbackrest
# - VM=XXX;DATE=YYYYMMDDX;BASE=pgbackrest/test:${VM?}-base;docker tag ${BASE?} ${BASE?}-${DATE?} && docker push ${BASE?}-${DATE?}
# **********************************************************************************************************************************
20230525A:
x86_64:
u22: abc4c03323e07525917eb9d36a9a5a228bce5dcd)
20230523A:
x86_64:
u20: 31c2124ab0db03d97eb6324e12e22eb64eb4a3b8
@@ -21,4 +25,3 @@
d10: 633def5323eeed51d7aa187ad1d61e854c47d6fa
f36: 640d3ed0d9786ef61263e27a77686a331f72c58e
rh7: 18dd0cbe19aa66dd9d72d312da5cb8c4bddea8b9
u22: eba71d24c8636c7dfea5942f78a82a4566bef784

View File

@@ -509,14 +509,10 @@ sub containerBuild
{
$strScript .=
" echo \"deb http://apt.postgresql.org/pub/repos/apt/ \$(lsb_release -s -c)-pgdg main" .
"\" >> /etc/apt/sources.list.d/pgdg.list && \\\n" .
($strOS eq VM_U22 ?
" echo \"deb http://apt.postgresql.org/pub/repos/apt/ \$(lsb_release -s -c)-pgdg-snapshot main 16\"" .
" >> /etc/apt/sources.list.d/pgdg.list && \\\n" : '') .
($strOS eq VM_U22 ? ' 16' : '') . "\" >> /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" .
" apt-get install -y --no-install-recommends" .
($strOS eq VM_U22 ? " -t \$(lsb_release -s -c)-pgdg-snapshot" : '') . " postgresql-common libpq-dev && \\\n" .
" apt-get install -y --no-install-recommends postgresql-common libpq-dev && \\\n" .
" sed -i 's/^\\#create\\_main\\_cluster.*\$/create\\_main\\_cluster \\= false/' " .
"/etc/postgresql-common/createcluster.conf";
}
@@ -532,9 +528,7 @@ sub containerBuild
}
else
{
$strScript .=
" apt-get install -y --no-install-recommends" .
($strOS eq VM_U22 ? " -t \$(lsb_release -s -c)-pgdg-snapshot" : '');
$strScript .= " apt-get install -y --no-install-recommends";
}
# Construct list of databases to install