Skip to content

Commit

Permalink
New test for checking systemd in WSL
Browse files Browse the repository at this point in the history
WSL now supports systemd, so there's need to check that we can enable and test it
  • Loading branch information
Pablo Herranz Ramírez committed Dec 15, 2023
1 parent 99695d8 commit 1925d60
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
18 changes: 8 additions & 10 deletions job_groups/opensuse_leap_15.6_wsl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ scenarios:
YAML_SCHEDULE: 'schedule/wsl/wsl_main.yaml'
WSL_INSTALL_FROM: 'build'
QEMU_ENABLE_SMBD: '1'
- wsl2-main:
- wsl2-main: &wsl2_defaults
testsuite: null
machine: [win10_64bit, win10_uefi, win11_uefi]
settings:
Expand All @@ -49,18 +49,16 @@ scenarios:
WORKER_CLASS: 'wsl2'
# to be re-enabled after GA, when 15.6 is available in the Store.
# - wsl2-install-msstore:
# testsuite: null
# machine: [win10_64bit, win10_uefi, win11_uefi]
# <<: *wsl2_defaults
# description: |
# Basic WSL test Test scope:
# 1) Prepare WSL and other features in Windows
# 2) Download the winget utility and install it
# 3) Install WSL image from the MS Store via CLI
# 2) Install WSL image from the MS Store via CLI
# settings:
# YAML_SCHEDULE: 'schedule/wsl/wsl_main.yaml'
# WSL2: '1'
# QEMUCPU: 'host,kvm=off,vmx=on,hypervisor=off,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_frequencies,hv_reenlightenment,hv_vpindex,hv-synic,hv-stimer,hv-stimer-direct'
# QEMUMACHINE: 'q35,accel=whpx'
# WORKER_CLASS: 'wsl2'
# WSL_VERSION: 'openSUSE Leap 15.6'
# WSL_INSTALL_FROM: 'msstore'
- wsl2-systemd:
<<: *wsl2_defaults
description: 'Enable and test systemd in WSL'
settings:
WSL_SYSTEMD: '1'
18 changes: 8 additions & 10 deletions job_groups/opensuse_tumbleweed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ scenarios:
YAML_SCHEDULE: 'schedule/wsl/wsl_main.yaml'
WSL_INSTALL_FROM: 'build'
QEMU_ENABLE_SMBD: '1'
- wsl2-main:
- wsl2-main: &wsl2_defaults
testsuite: null
machine: [win10_64bit, win10_uefi, win11_uefi]
settings:
Expand All @@ -1150,18 +1150,16 @@ scenarios:
QEMUMACHINE: 'q35,accel=whpx'
WORKER_CLASS: 'wsl2'
- wsl2-install-msstore:
testsuite: null
machine: [win10_64bit, win10_uefi, win11_uefi]
<<: *wsl2_defaults
description: |
Basic WSL test Test scope:
1) Prepare WSL and other features in Windows
2) Download the winget utility and install it
3) Install WSL image from the MS Store via CLI
2) Install WSL image from the MS Store via CLI
settings:
YAML_SCHEDULE: 'schedule/wsl/wsl_main.yaml'
WSL2: '1'
QEMUCPU: 'host,kvm=off,vmx=on,hypervisor=off,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_frequencies,hv_reenlightenment,hv_vpindex,hv-synic,hv-stimer,hv-stimer-direct'
QEMUMACHINE: 'q35,accel=whpx'
WORKER_CLASS: 'wsl2'
WSL_VERSION: 'openSUSE Tumbleweed'
WSL_INSTALL_FROM: 'msstore'
- wsl2-systemd:
<<: *wsl2_defaults
description: 'Enable and test systemd in WSL'
settings:
WSL_SYSTEMD: '1'

0 comments on commit 1925d60

Please sign in to comment.