pgbackrest.git / summary / log / commit / refs

commit    6c005afd5bcd7260976908dd2ddb2cdb9031996a
Author:   David Steele <david@pgmasters.net>
Date:     Thu Apr 08 18:38:20 2021 +0000

    Add Ubuntu 20.04 test VM definition.


test/lib/pgBackRestTest/Common/VmTest.pm | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/test/lib/pgBackRestTest/Common/VmTest.pm b/test/lib/pgBackRestTest/Common/VmTest.pm index 33834458d..9b40613c3 100644 --- a/test/lib/pgBackRestTest/Common/VmTest.pm +++ b/test/lib/pgBackRestTest/Common/VmTest.pm @@ -103,6 +103,8 @@ use constant VM_U16 => 'u16'; push @EXPORT, qw(VM_U16); use constant VM_U18 => 'u18'; push @EXPORT, qw(VM_U18); +use constant VM_U20 => 'u20'; + push @EXPORT, qw(VM_U20); use constant VM_D8 => 'd8'; push @EXPORT, qw(VM_D8); use constant VM_D9 => 'd9'; @@ -404,6 +406,48 @@ my $oyVm = PG_VERSION_13, ], }, + + # Ubuntu 20.04 + &VM_U20 => + { + &VM_OS_BASE => VM_OS_BASE_DEBIAN, + &VM_OS => VM_OS_UBUNTU, + &VM_OS_REPO => 'focal', + &VM_IMAGE => 'ubuntu:20.04', + &VM_ARCH => VM_ARCH_AMD64, + &VMDEF_COVERAGE_C => true, + &VMDEF_PGSQL_BIN => '/usr/lib/postgresql/{[version]}/bin', + + &VMDEF_WITH_BACKTRACE => true, + &VMDEF_WITH_ZST => true, + + &VM_DB => + [ + PG_VERSION_90, + PG_VERSION_91, + PG_VERSION_92, + PG_VERSION_93, + PG_VERSION_94, + PG_VERSION_95, + PG_VERSION_96, + PG_VERSION_10, + PG_VERSION_11, + PG_VERSION_12, + PG_VERSION_13, + ], + + &VM_DB_TEST => + [ + PG_VERSION_92, + PG_VERSION_93, + PG_VERSION_94, + PG_VERSION_95, + PG_VERSION_10, + PG_VERSION_11, + PG_VERSION_12, + PG_VERSION_13, + ], + }, }; #################################################################################################################################### [parent: d30ec9c9aeaa]