Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FEAT) - Add debian 12 & alma/centos/rocky 9 to matrix_from_metadata v2 & v3 #572

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions exe/matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
5 changes: 5 additions & 0 deletions exe/matrix_from_metadata_v2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
}
Expand Down