1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-10-30 23:37:45 +02:00

Update Fedora test image to Fedora 42.

This commit is contained in:
David Steele
2025-06-22 17:46:54 -04:00
parent d0072945fa
commit 3780057866
4 changed files with 12 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ jobs:
- param: test --vm=u22 --param=c-only --param=no-coverage --param=no-back-trace
# All unit tests on the newest gcc available
- param: test --vm=f41 --param=c-only --param=no-valgrind --param=no-coverage --param=no-performance
- param: test --vm=f42 --param=c-only --param=no-valgrind --param=no-coverage --param=no-performance
# All unit tests on musl libc
- param: test --vm=a321 --param=c-only --param=no-coverage --param=no-performance

View File

@@ -12,6 +12,10 @@
# - docker login -u pgbackrest
# - DATE=YYYYMMDDX;VM=X;ARCH=X;BASE=pgbackrest/test:${VM?}-base-${ARCH?};docker tag ${BASE?} ${BASE?}-${DATE?} && docker push ${BASE?}-${DATE?}
# **********************************************************************************************************************************
20250622A:
x86_64:
f42: f1c2eceeed7b66d8096a9b891f28eb30f141d1b2
20250605A:
x86_64:
a321: dab99d91eed1710c68dae28efa5cd0e27e0a7f60
@@ -25,7 +29,6 @@
x86_64:
d11: be044bf120ca3e7d8bed69d5a83b4de4926be87f
f41: ce870455184e991e0efd90176da1412f0f3f72a2
rh8: 4d141c845abfbdbf402ba447cf2bd2e4357c8a63
u20: d9618e4e2380da312152cf672ff56cfb8ec8abe2
u22: 8feb0a70d1614b6873887e0bb3d99ef7016663eb

View File

@@ -509,11 +509,11 @@ sub containerBuild
"pgdg-redhat-repo-latest.noarch.rpm && \\\n" .
" dnf -qy module disable postgresql && \\\n";
}
elsif ($strOS eq VM_F41)
elsif ($strOS eq VM_F42)
{
$strScript .=
" rpm -ivh \\\n" .
" https://download.postgresql.org/pub/repos/yum/reporpms/F-41-" . hostArch() . "/" .
" https://download.postgresql.org/pub/repos/yum/reporpms/F-42-" . hostArch() . "/" .
"pgdg-fedora-repo-latest.noarch.rpm && \\\n";
}

View File

@@ -83,8 +83,8 @@ use constant VM_D11 => 'd11';
push @EXPORT, qw(VM_D11);
use constant VM_RH8 => 'rh8';
push @EXPORT, qw(VM_RH8);
use constant VM_F41 => 'f41';
push @EXPORT, qw(VM_F41);
use constant VM_F42 => 'f42';
push @EXPORT, qw(VM_F42);
use constant VM_U20 => 'u20';
push @EXPORT, qw(VM_U20);
use constant VM_U22 => 'u22';
@@ -189,11 +189,11 @@ my $oyVm =
],
},
# Fedora 41
&VM_F41 =>
# Fedora 42
&VM_F42 =>
{
&VM_OS_BASE => VM_OS_BASE_RHEL,
&VM_IMAGE => 'fedora:41',
&VM_IMAGE => 'fedora:42',
&VM_ARCH => VM_ARCH_X86_64,
&VMDEF_PGSQL_BIN => '/usr/pgsql-{[version]}/bin',
&VMDEF_COVERAGE_C => true,