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

Add Ubuntu 22.04 #248

Merged
merged 1 commit into from
May 30, 2022
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
2 changes: 1 addition & 1 deletion lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def osinfo
# Ubuntu
#
# Generate LTS platforms
(14..20).select(&:even?).each do |release|
(14..22).select(&:even?).each do |release|
# 32 bit support was dropped in Ubuntu 18.04
if release < 18
result["ubuntu#{release}04-32"] = {
Expand Down
17 changes: 17 additions & 0 deletions test/fixtures/generated/default/ubuntu2204-64l
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: ubuntu2204-64l
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-64-1:
platform: ubuntu-22.04-amd64
hypervisor: vmpooler
template: ubuntu-2204-x86_64
roles:
- agent
- classifier
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
16 changes: 16 additions & 0 deletions test/fixtures/generated/default/ubuntu2204-AARCH64d
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
arguments_string: ubuntu2204-AARCH64d
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-AARCH64-1:
platform: ubuntu-22.04-aarch64
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
16 changes: 16 additions & 0 deletions test/fixtures/generated/default/ubuntu2204-POWERc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
arguments_string: ubuntu2204-POWERc
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-POWER-1:
platform: ubuntu-22.04-ppc64el
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
arguments_string: ubuntu2204-64l-windows2008-64-ubuntu2204-64f
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-64-1:
platform: ubuntu-22.04-amd64
hypervisor: vmpooler
template: ubuntu-2204-x86_64
roles:
- agent
- classifier
windows2008-64-1:
platform: windows-2008-64
packaging_platform: windows-2012-x64
ruby_arch: x64
template: win-2008-x86_64
hypervisor: vmpooler
roles:
- agent
ubuntu2204-64-2:
platform: ubuntu-22.04-amd64
hypervisor: vmpooler
template: ubuntu-2204-x86_64
roles:
- agent
- frictionless
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
arguments_string: ubuntu2204-AARCH64d-vro73-64-ubuntu2204-AARCH64c
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-AARCH64-1:
platform: ubuntu-22.04-aarch64
hypervisor: vmpooler
roles:
- agent
- database
vro73-64-1:
platform: sles-11-x86_64
template: vro-73-x86_64
hypervisor: vmpooler
roles:
- agent
ubuntu2204-AARCH64-2:
platform: ubuntu-22.04-aarch64
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
arguments_string: ubuntu2204-POWERc-vro74-64-ubuntu2204-POWERd
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-POWER-1:
platform: ubuntu-22.04-ppc64el
hypervisor: vmpooler
roles:
- agent
- dashboard
vro74-64-1:
platform: sles-11-x86_64
template: vro-74-x86_64
hypervisor: vmpooler
roles:
- agent
ubuntu2204-POWER-2:
platform: ubuntu-22.04-ppc64el
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
17 changes: 17 additions & 0 deletions test/fixtures/generated/osinfo-version-0/ubuntu2204-64l
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: "--osinfo-version 0 ubuntu2204-64l"
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-64-1:
platform: ubuntu-22.04-amd64
hypervisor: vmpooler
template: ubuntu-2204-x86_64
roles:
- agent
- classifier
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
16 changes: 16 additions & 0 deletions test/fixtures/generated/osinfo-version-0/ubuntu2204-AARCH64d
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
arguments_string: "--osinfo-version 0 ubuntu2204-AARCH64d"
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-AARCH64-1:
platform: ubuntu-22.04-aarch64
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
16 changes: 16 additions & 0 deletions test/fixtures/generated/osinfo-version-0/ubuntu2204-POWERc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
arguments_string: "--osinfo-version 0 ubuntu2204-POWERc"
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-POWER-1:
platform: ubuntu-22.04-ppc64el
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
17 changes: 17 additions & 0 deletions test/fixtures/generated/osinfo-version-1/ubuntu2204-64l
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: "--osinfo-version 1 ubuntu2204-64l"
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-64-1:
platform: ubuntu-22.04-amd64
hypervisor: vmpooler
template: ubuntu-2204-x86_64
roles:
- agent
- classifier
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
16 changes: 16 additions & 0 deletions test/fixtures/generated/osinfo-version-1/ubuntu2204-AARCH64d
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
arguments_string: "--osinfo-version 1 ubuntu2204-AARCH64d"
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-AARCH64-1:
platform: ubuntu-22.04-aarch64
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
16 changes: 16 additions & 0 deletions test/fixtures/generated/osinfo-version-1/ubuntu2204-POWERc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
arguments_string: "--osinfo-version 1 ubuntu2204-POWERc"
environment_variables: {}
expected_hash:
HOSTS:
ubuntu2204-POWER-1:
platform: ubuntu-22.04-ppc64el
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception: