From 5321f5bfb7a6ffb838083a96bd22937972650cf2 Mon Sep 17 00:00:00 2001 From: Mahima Singh <105724608+smahima27@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:14:42 +0530 Subject: [PATCH] Adding support for oracle9-aarch64 --- lib/beaker-hostgenerator/data.rb | 11 ++++++++ .../generated/default/oracle9-AARCH64l | 15 ++++++++++ ...nsuse42-32u-oracle9-AARCH64-opensuse42-32m | 28 +++++++++++++++++++ ...e9-AARCH64l-opensuse42-32-oracle9-AARCH64f | 28 +++++++++++++++++++ .../osinfo-version-0/oracle9-AARCH64l | 15 ++++++++++ .../osinfo-version-1/oracle9-AARCH64l | 15 ++++++++++ 6 files changed, 112 insertions(+) create mode 100644 test/fixtures/generated/default/oracle9-AARCH64l create mode 100644 test/fixtures/generated/multiplatform/opensuse42-32u-oracle9-AARCH64-opensuse42-32m create mode 100644 test/fixtures/generated/multiplatform/oracle9-AARCH64l-opensuse42-32-oracle9-AARCH64f create mode 100644 test/fixtures/generated/osinfo-version-0/oracle9-AARCH64l create mode 100644 test/fixtures/generated/osinfo-version-1/oracle9-AARCH64l diff --git a/lib/beaker-hostgenerator/data.rb b/lib/beaker-hostgenerator/data.rb index 5d0b670a..6bb9c637 100644 --- a/lib/beaker-hostgenerator/data.rb +++ b/lib/beaker-hostgenerator/data.rb @@ -441,6 +441,17 @@ def osinfo 'template' => 'redhat-9-power9', }, }, + 'oracle9-AARCH64' => { + general: { + 'platform' => 'el-9-aarch64', + }, + abs: { + 'template' => 'oracle-9-arm64', + }, + vmpooler: { + 'template' => 'oracle-9-arm64', + }, + }, 'sles11-32' => { general: { 'platform' => 'sles-11-i386', diff --git a/test/fixtures/generated/default/oracle9-AARCH64l b/test/fixtures/generated/default/oracle9-AARCH64l new file mode 100644 index 00000000..2f1480ec --- /dev/null +++ b/test/fixtures/generated/default/oracle9-AARCH64l @@ -0,0 +1,15 @@ +--- +arguments_string: oracle9-AARCH64l +environment_variables: {} +expected_hash: + HOSTS: + oracle9-AARCH64-1: + platform: el-9-aarch64 + template: oracle-9-arm64 + hypervisor: vmpooler + roles: + - agent + - classifier + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/multiplatform/opensuse42-32u-oracle9-AARCH64-opensuse42-32m b/test/fixtures/generated/multiplatform/opensuse42-32u-oracle9-AARCH64-opensuse42-32m new file mode 100644 index 00000000..3ad7587b --- /dev/null +++ b/test/fixtures/generated/multiplatform/opensuse42-32u-oracle9-AARCH64-opensuse42-32m @@ -0,0 +1,28 @@ +--- +arguments_string: opensuse42-32u-oracle9-AARCH64-opensuse42-32m +environment_variables: {} +expected_hash: + HOSTS: + opensuse42-32-1: + platform: opensuse-42-i386 + hypervisor: vmpooler + template: opensuse-42-i386 + roles: + - agent + - ca + oracle9-AARCH64-1: + platform: el-9-aarch64 + template: oracle-9-arm64 + hypervisor: vmpooler + roles: + - agent + opensuse42-32-2: + platform: opensuse-42-i386 + hypervisor: vmpooler + template: opensuse-42-i386 + roles: + - agent + - master + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/multiplatform/oracle9-AARCH64l-opensuse42-32-oracle9-AARCH64f b/test/fixtures/generated/multiplatform/oracle9-AARCH64l-opensuse42-32-oracle9-AARCH64f new file mode 100644 index 00000000..3f08dda3 --- /dev/null +++ b/test/fixtures/generated/multiplatform/oracle9-AARCH64l-opensuse42-32-oracle9-AARCH64f @@ -0,0 +1,28 @@ +--- +arguments_string: oracle9-AARCH64l-opensuse42-32-oracle9-AARCH64f +environment_variables: {} +expected_hash: + HOSTS: + oracle9-AARCH64-1: + platform: el-9-aarch64 + template: oracle-9-arm64 + hypervisor: vmpooler + roles: + - agent + - classifier + opensuse42-32-1: + platform: opensuse-42-i386 + hypervisor: vmpooler + template: opensuse-42-i386 + roles: + - agent + oracle9-AARCH64-2: + platform: el-9-aarch64 + template: oracle-9-arm64 + hypervisor: vmpooler + roles: + - agent + - frictionless + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/osinfo-version-0/oracle9-AARCH64l b/test/fixtures/generated/osinfo-version-0/oracle9-AARCH64l new file mode 100644 index 00000000..ec81b0bd --- /dev/null +++ b/test/fixtures/generated/osinfo-version-0/oracle9-AARCH64l @@ -0,0 +1,15 @@ +--- +arguments_string: "--osinfo-version 0 oracle9-AARCH64l" +environment_variables: {} +expected_hash: + HOSTS: + oracle9-AARCH64-1: + platform: el-9-aarch64 + template: oracle-9-arm64 + hypervisor: vmpooler + roles: + - agent + - classifier + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: diff --git a/test/fixtures/generated/osinfo-version-1/oracle9-AARCH64l b/test/fixtures/generated/osinfo-version-1/oracle9-AARCH64l new file mode 100644 index 00000000..29a4b6aa --- /dev/null +++ b/test/fixtures/generated/osinfo-version-1/oracle9-AARCH64l @@ -0,0 +1,15 @@ +--- +arguments_string: "--osinfo-version 1 oracle9-AARCH64l" +environment_variables: {} +expected_hash: + HOSTS: + oracle9-AARCH64-1: + platform: el-9-aarch64 + template: oracle-9-arm64 + hypervisor: vmpooler + roles: + - agent + - classifier + CONFIG: + pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/ +expected_exception: