From a5958989a977cea80d78988f59cafd945a8f37e3 Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Mon, 5 Aug 2024 14:58:56 +0100 Subject: [PATCH] (feat) - Add debian 12, alma/rocky/centos 9 Add debian 12(amd64 + arm64) and alma/rocky/centos 9 to matrix from metadata v2 & v3. --- exe/matrix.json | 12 ++++++++---- exe/matrix_from_metadata_v2 | 5 +++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/exe/matrix.json b/exe/matrix.json index 3a1f7d7..9fe5d69 100755 --- a/exe/matrix.json +++ b/exe/matrix.json @@ -12,18 +12,22 @@ "provisioners": { "provision_service": { "AlmaLinux": { - "8": { "x86_64": "almalinux-cloud/almalinux-8" } + "8": { "x86_64": "almalinux-cloud/almalinux-8" }, + "9": { "x86_64": "almalinux-cloud/almalinux-9" } }, "CentOS": { "7": { "x86_64": "centos-7" }, - "8": { "x86_64": "centos-stream-8" } + "8": { "x86_64": "centos-stream-8" }, + "9": { "x86_64": "centos-stream-9" } }, "Rocky": { - "8": { "x86_64": "rocky-linux-cloud/rocky-linux-8" } + "8": { "x86_64": "rocky-linux-cloud/rocky-linux-8" }, + "9": { "x86_64": "rocky-linux-cloud/rocky-linux-9" } }, "Debian": { "10": { "x86_64": "debian-10" }, - "11": { "x86_64": "debian-11" } + "11": { "x86_64": "debian-11" }, + "12": { "x86_64": "debian-12", "arm": "debian-12-arm64" } }, "RedHat": { "7": { "x86_64": "rhel-7" }, diff --git a/exe/matrix_from_metadata_v2 b/exe/matrix_from_metadata_v2 index 792ba86..e6720bf 100755 --- a/exe/matrix_from_metadata_v2 +++ b/exe/matrix_from_metadata_v2 @@ -36,6 +36,7 @@ IMAGE_TABLE = { }.freeze ARM_IMAGE_TABLE = { + 'Debian-12-arm' => 'debian-12-arm64', 'RedHat-9-arm' => 'rhel-9-arm64', 'Ubuntu-22.04-arm' => 'ubuntu-2204-lts-arm64' }.freeze @@ -108,11 +109,15 @@ if ARGV.include?('--provision-service') # NOTE: that the below are the only available images for the provision service updated_platforms = { 'AlmaLinux-8' => 'almalinux-cloud/almalinux-8', + 'AlmaLinux-9' => 'almalinux-cloud/almalinux-9', 'CentOS-7' => 'centos-7', 'CentOS-8' => 'centos-stream-8', + 'CentOS-9' => 'centos-stream-9', 'Rocky-8' => 'rocky-linux-cloud/rocky-linux-8', + 'Rocky-9' => 'rocky-linux-cloud/rocky-linux-9', 'Debian-10' => 'debian-10', 'Debian-11' => 'debian-11', + 'Debian-12' => 'debian-12', 'Ubuntu-20.04' => 'ubuntu-2004-lts', 'Ubuntu-22.04' => 'ubuntu-2204-lts' }