From 403fd6ed1bf7e9dac9f955343832e4577a7bc5b9 Mon Sep 17 00:00:00 2001 From: Jake Spain Date: Tue, 12 Sep 2023 09:44:51 -0400 Subject: [PATCH] Add debian-11-arm64 support --- lib/beaker-hostgenerator/data.rb | 5 ++++ .../generated/default/debian11-AARCH64m | 14 ++++++++++ ...AARCH64m-redhat7-AARCH64-debian11-AARCH64u | 26 ++++++++++++++++++ ...AARCH64u-debian11-AARCH64-redhat7-AARCH64m | 27 +++++++++++++++++++ .../osinfo-version-0/debian11-AARCH64m | 14 ++++++++++ .../osinfo-version-1/debian11-AARCH64m | 14 ++++++++++ 6 files changed, 100 insertions(+) create mode 100644 test/fixtures/generated/default/debian11-AARCH64m create mode 100644 test/fixtures/generated/multiplatform/debian11-AARCH64m-redhat7-AARCH64-debian11-AARCH64u create mode 100644 test/fixtures/generated/multiplatform/redhat7-AARCH64u-debian11-AARCH64-redhat7-AARCH64m create mode 100644 test/fixtures/generated/osinfo-version-0/debian11-AARCH64m create mode 100644 test/fixtures/generated/osinfo-version-1/debian11-AARCH64m diff --git a/lib/beaker-hostgenerator/data.rb b/lib/beaker-hostgenerator/data.rb index d3a96a96..d40db07c 100644 --- a/lib/beaker-hostgenerator/data.rb +++ b/lib/beaker-hostgenerator/data.rb @@ -185,6 +185,11 @@ def osinfo 'box' => 'debian/bullseye64', }, }, + 'debian11-AARCH64' => { + general: { + 'platform' => 'debian-11-aarch64', + }, + }, 'debian12-64' => { general: { 'platform' => 'debian-12-amd64', diff --git a/test/fixtures/generated/default/debian11-AARCH64m b/test/fixtures/generated/default/debian11-AARCH64m new file mode 100644 index 00000000..bd80f0ff --- /dev/null +++ b/test/fixtures/generated/default/debian11-AARCH64m @@ -0,0 +1,14 @@ +--- +arguments_string: debian11-AARCH64m +environment_variables: {} +expected_hash: + HOSTS: + debian11-AARCH64-1: + platform: debian-11-aarch64 + hypervisor: vmpooler + roles: + - agent + - master + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/multiplatform/debian11-AARCH64m-redhat7-AARCH64-debian11-AARCH64u b/test/fixtures/generated/multiplatform/debian11-AARCH64m-redhat7-AARCH64-debian11-AARCH64u new file mode 100644 index 00000000..b71afd37 --- /dev/null +++ b/test/fixtures/generated/multiplatform/debian11-AARCH64m-redhat7-AARCH64-debian11-AARCH64u @@ -0,0 +1,26 @@ +--- +arguments_string: debian11-AARCH64m-redhat7-AARCH64-debian11-AARCH64u +environment_variables: {} +expected_hash: + HOSTS: + debian11-AARCH64-1: + platform: debian-11-aarch64 + hypervisor: vmpooler + roles: + - agent + - master + redhat7-AARCH64-1: + platform: el-7-aarch64 + template: redhat-7-x86_64 + hypervisor: vmpooler + roles: + - agent + debian11-AARCH64-2: + platform: debian-11-aarch64 + hypervisor: vmpooler + roles: + - agent + - ca + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/multiplatform/redhat7-AARCH64u-debian11-AARCH64-redhat7-AARCH64m b/test/fixtures/generated/multiplatform/redhat7-AARCH64u-debian11-AARCH64-redhat7-AARCH64m new file mode 100644 index 00000000..9d3b2147 --- /dev/null +++ b/test/fixtures/generated/multiplatform/redhat7-AARCH64u-debian11-AARCH64-redhat7-AARCH64m @@ -0,0 +1,27 @@ +--- +arguments_string: redhat7-AARCH64u-debian11-AARCH64-redhat7-AARCH64m +environment_variables: {} +expected_hash: + HOSTS: + redhat7-AARCH64-1: + platform: el-7-aarch64 + template: redhat-7-x86_64 + hypervisor: vmpooler + roles: + - agent + - ca + debian11-AARCH64-1: + platform: debian-11-aarch64 + hypervisor: vmpooler + roles: + - agent + redhat7-AARCH64-2: + platform: el-7-aarch64 + template: redhat-7-x86_64 + hypervisor: vmpooler + roles: + - agent + - master + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/osinfo-version-0/debian11-AARCH64m b/test/fixtures/generated/osinfo-version-0/debian11-AARCH64m new file mode 100644 index 00000000..3ba5271b --- /dev/null +++ b/test/fixtures/generated/osinfo-version-0/debian11-AARCH64m @@ -0,0 +1,14 @@ +--- +arguments_string: "--osinfo-version 0 debian11-AARCH64m" +environment_variables: {} +expected_hash: + HOSTS: + debian11-AARCH64-1: + platform: debian-11-aarch64 + hypervisor: vmpooler + roles: + - agent + - master + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/osinfo-version-1/debian11-AARCH64m b/test/fixtures/generated/osinfo-version-1/debian11-AARCH64m new file mode 100644 index 00000000..4f064000 --- /dev/null +++ b/test/fixtures/generated/osinfo-version-1/debian11-AARCH64m @@ -0,0 +1,14 @@ +--- +arguments_string: "--osinfo-version 1 debian11-AARCH64m" +environment_variables: {} +expected_hash: + HOSTS: + debian11-AARCH64-1: + platform: debian-11-aarch64 + hypervisor: vmpooler + roles: + - agent + - master + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: