Skip to content

Commit

Permalink
Merge pull request #396 from shubhamperforce/P4DEVOPS4296
Browse files Browse the repository at this point in the history
Add new platform for windows server 2025
  • Loading branch information
bastelfreak authored Feb 6, 2025
2 parents 38432fa + 39ac5df commit 743cbe9
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,16 @@ def osinfo
'template' => 'win-2019-core-x86_64',
},
},
'windows2025_ent-64' => {
general: {
'platform' => 'windows-2025-64',
'packaging_platform' => 'windows-2025-x64',
'ruby_arch' => 'x64',
},
vmpooler: {
'template' => 'win-2025-ent-x64',
},
},
'windows2022-64' => {
general: {
'platform' => 'windows-2022-64',
Expand Down
17 changes: 17 additions & 0 deletions test/fixtures/generated/default/windows2025_ent-64d
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: windows2025_ent-64d
environment_variables: {}
expected_hash:
HOSTS:
windows2025_ent-64-1:
platform: windows-2025-64
packaging_platform: windows-2025-x64
ruby_arch: x64
template: win-2025-ent-x64
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
arguments_string: fedora24-32c-windows2025_ent-64-fedora24-32d
environment_variables: {}
expected_hash:
HOSTS:
fedora24-32-1:
platform: fedora-24-i386
hypervisor: vmpooler
template: fedora-24-i386
roles:
- agent
- dashboard
windows2025_ent-64-1:
platform: windows-2025-64
packaging_platform: windows-2025-x64
ruby_arch: x64
template: win-2025-ent-x64
hypervisor: vmpooler
roles:
- agent
fedora24-32-2:
platform: fedora-24-i386
hypervisor: vmpooler
template: fedora-24-i386
roles:
- agent
- database
CONFIG:
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: windows2025_ent-64d-fedora24-32-windows2025_ent-64c
environment_variables: {}
expected_hash:
HOSTS:
windows2025_ent-64-1:
platform: windows-2025-64
packaging_platform: windows-2025-x64
ruby_arch: x64
template: win-2025-ent-x64
hypervisor: vmpooler
roles:
- agent
- database
fedora24-32-1:
platform: fedora-24-i386
hypervisor: vmpooler
template: fedora-24-i386
roles:
- agent
windows2025_ent-64-2:
platform: windows-2025-64
packaging_platform: windows-2025-x64
ruby_arch: x64
template: win-2025-ent-x64
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
17 changes: 17 additions & 0 deletions test/fixtures/generated/osinfo-version-0/windows2025_ent-64d
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: "--osinfo-version 0 windows2025_ent-64d"
environment_variables: {}
expected_hash:
HOSTS:
windows2025_ent-64-1:
platform: windows-2025-64
packaging_platform: windows-2025-x64
ruby_arch: x64
template: win-2025-ent-x64
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:
17 changes: 17 additions & 0 deletions test/fixtures/generated/osinfo-version-1/windows2025_ent-64d
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
arguments_string: "--osinfo-version 1 windows2025_ent-64d"
environment_variables: {}
expected_hash:
HOSTS:
windows2025_ent-64-1:
platform: windows-2025-64
packaging_platform: windows-2025-x64
ruby_arch: x64
template: win-2025-ent-x64
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
pooling_api: https://vmpooler-prod.k8s.infracore.puppet.net/
expected_exception:

0 comments on commit 743cbe9

Please sign in to comment.