Skip to content

Instantly share code, notes, and snippets.

@perlpunk
Created April 5, 2024 09:00
Show Gist options
  • Save perlpunk/f8967896eb7b0965dc70a686dd53ab5f to your computer and use it in GitHub Desktop.
Save perlpunk/f8967896eb7b0965dc70a686dd53ab5f to your computer and use it in GitHub Desktop.
openqa scenarios examples - group 102
############################################################
# WARNING #
# #
# This file is managed in GIT! #
# Any changes via the openQA WebUI will get overwritten! #
# #
# https://github.com/os-autoinst/opensuse-jobgroups #
# job_groups/opensuse_leap_micro_5.x_dvd.yaml #
############################################################
---
.default_settings: &default_settings
DESKTOP: 'textmode'
.dvd_settings: &dvd_settings
<<: *default_settings
YAML_SCHEDULE: 'schedule/sle-micro/dvd.yaml'
.dvd_autoyast_settings: &dvd_autoyast_settings
<<: *default_settings
YAML_SCHEDULE: 'schedule/sle-micro/autoyast.yaml'
AUTOYAST: 'autoyast_opensuse/autoyast_leap-micro.xml.ep'
AUTOYAST_PREPARE_PROFILE: '1'
.dvd_selinux_settings: &dvd_selinux_settings
<<: *dvd_settings
ENABLE_SELINUX: '1'
.dvd_qemu_settings: &dvd_qemu_settings
<<: *dvd_settings
QEMUCPU: 'host'
PATTERNS: 'default,kvm'
YAML_SCHEDULE: 'schedule/sle-micro/dvd_virt.yaml'
defaults:
x86_64:
machine: 64bit
priority: 50
aarch64:
machine: aarch64
priority: 50
products:
leap-micro-5.5-DVD-x86_64: &product_dvd
distri: leap-micro
flavor: DVD
version: '5.5'
leap-micro-5.5-DVD-aarch64:
*product_dvd
scenarios:
x86_64:
leap-micro-5.5-DVD-x86_64:
- microos_installation_default:
machine: [64bit, uefi]
settings:
<<: *dvd_settings
- microos_installation_autoyast: &dvd_autoyast_test
settings:
<<: *dvd_autoyast_settings
- microos_installation_selinux: &dvd_selinux_test
settings:
<<: *dvd_selinux_settings
- microos_installation_virt:
settings:
<<: *dvd_qemu_settings
- microos_ssh_installation_controller:
settings:
<<: *default_settings
+BETA: ""
EXTRABOOTPARAMS_BOOT_LOCAL: '3'
- microos_ssh_installation_target:
settings:
<<: *default_settings
MIRROR_HTTP: http://download.opensuse.org/distribution/leap-micro/%VERSION%/product/repo/Leap-Micro-%VERSION%-%ARCH%-Media/
MIRROR_HTTPS: https://download.opensuse.org/distribution/leap-micro/%VERSION%/product/repo/Leap-Micro-%VERSION%-%ARCH%-Media/
MIRROR_PREFIX: http://download.opensuse.org/distribution/leap-micro/5.5/product/repo/
INSTALL_SOURCE: http
aarch64:
leap-micro-5.5-DVD-aarch64:
- microos_installation_default:
settings:
*dvd_settings
- microos_installation_autoyast:
*dvd_autoyast_test
- microos_installation_selinux:
*dvd_selinux_test
- microos_installation_virt:
settings:
<<: *dvd_qemu_settings
---
machines:
64bit:
backend: qemu
settings:
HDDSIZEGB: '20'
QEMUCPU: host
VIRTIO_CONSOLE: '1'
WORKER_CLASS: qemu_x86_64
aarch64:
backend: qemu
settings:
GRUB_KERNEL_OPTION_APPEND: rcupdate.rcu_cpu_stall_suppress=1
HDDMODEL: virtio-blk-device
HDDSIZEGB: '20'
QEMU: aarch64
QEMUCPU: host
QEMUMACHINE: virt,gic-version=host
QEMURAM: '2048'
QEMU_COMPRESS_LEVEL: '3'
QEMU_COMPRESS_THREADS: '4'
QEMU_HUGE_PAGES_PATH: /dev/hugepages/
QEMU_VIRTIO_RNG: '1'
SERIALDEV: ttyAMA0
TIMEOUT_SCALE: '2'
UEFI: '1'
UEFI_PFLASH_CODE: /usr/share/qemu/aavmf-aarch64-code.bin
UEFI_PFLASH_VARS: /usr/share/qemu/aavmf-aarch64-vars.bin
VNC_TYPING_LIMIT: '7'
WORKER_CLASS: qemu_aarch64
uefi:
backend: qemu
settings:
HDDSIZEGB: '20'
QEMUCPU: host
UEFI: '1'
UEFI_PFLASH_CODE: /usr/share/qemu/ovmf-x86_64-ms-code.bin
UEFI_PFLASH_VARS: /usr/share/qemu/ovmf-x86_64-ms-vars.bin
WORKER_CLASS: qemu_x86_64
---
products:
leap-micro-5.5-DVD-aarch64:
arch: aarch64
distri: leap-micro
flavor: DVD
id: 623
settings: {}
version: '5.5'
leap-micro-5.5-DVD-x86_64:
arch: x86_64
distri: leap-micro
flavor: DVD
id: 622
settings: {}
version: '5.5'
---
defaults:
x86_64:
machine: 64bit
priority: 50
aarch64:
machine: aarch64
priority: 50
job_templates:
x86_64:
leap-micro-5.5-DVD-x86_64:
microos_installation_default@(64bit,uefi):
settings:
<<: &dvd_settings
<<: &default_settings
DESKTOP: 'textmode'
YAML_SCHEDULE: 'schedule/sle-micro/dvd.yaml'
microos_installation_autoyast: &dvd_autoyast_test
settings:
<<:
<<: *default_settings
YAML_SCHEDULE: 'schedule/sle-micro/autoyast.yaml'
AUTOYAST: 'autoyast_opensuse/autoyast_leap-micro.xml.ep'
AUTOYAST_PREPARE_PROFILE: '1'
microos_installation_selinux: &dvd_selinux_test
settings:
<<:
<<: *dvd_settings
ENABLE_SELINUX: '1'
microos_installation_virt:
settings:
<<: &dvd_qemu_settings
<<: *dvd_settings
QEMUCPU: 'host'
PATTERNS: 'default,kvm'
YAML_SCHEDULE: 'schedule/sle-micro/dvd_virt.yaml'
microos_ssh_installation_controller:
settings:
<<: *default_settings
+BETA: ""
EXTRABOOTPARAMS_BOOT_LOCAL: '3'
microos_ssh_installation_target:
settings:
<<: *default_settings
MIRROR_HTTP: http://download.opensuse.org/distribution/leap-micro/%VERSION%/product/repo/Leap-Micro-%VERSION%-%ARCH%-Media/
MIRROR_HTTPS: https://download.opensuse.org/distribution/leap-micro/%VERSION%/product/repo/Leap-Micro-%VERSION%-%ARCH%-Media/
MIRROR_PREFIX: http://download.opensuse.org/distribution/leap-micro/5.5/product/repo/
INSTALL_SOURCE: http
aarch64:
leap-micro-5.5-DVD-aarch64:
microos_installation_default:
settings: *dvd_settings
microos_installation_autoyast: *dvd_autoyast_test
microos_installation_selinux: *dvd_selinux_test
microos_installation_virt:
settings:
<<: *dvd_qemu_settings
---
testsuites:
microos_installation_autoyast:
settings: {}
microos_installation_default:
settings: {}
microos_installation_selinux:
settings: {}
microos_installation_virt:
settings: {}
microos_ssh_installation_controller:
settings:
BOOT_HDD_IMAGE: '1'
HDD_1: support_server_tumbleweed@64bit.qcow2
NICTYPE: tap
OVS_DEBUG: '1'
REMOTE_CONTROLLER: ssh
SUPPORT_SERVER: '1'
SUPPORT_SERVER_ROLES: dhcp,dns
VIDEOMODE: text
WORKER_CLASS: tap
microos_ssh_installation_target:
settings:
INSTALL_SOURCE: ftp
MIRROR_HTTP: http://download.opensuse.org/distribution/leap-micro/5.2/product/repo/Leap-Micro-%VERSION%-%ARCH%-Media/
MIRROR_HTTPS: https://download.opensuse.org/distribution/leap-micro/5.2/product/repo/Leap-Micro-%VERSION%-%ARCH%-Media/
MIRROR_PREFIX: http://download.opensuse.org/distribution/leap-micro/5.2/product/repo/
NETBOOT: '1'
NICTYPE: tap
OVS_DEBUG: '1'
PARALLEL_WITH: microos_ssh_installation_controller
REMOTE_TARGET: ssh
USE_SUPPORT_SERVER: '1'
VIDEOMODE: text
WORKER_CLASS: tap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment