Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: SLE-M: introduced the ownership filter #20797

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions lib/main_micro_alp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ sub is_dvd {
return get_required_var('FLAVOR') =~ /dvd/i;
}

sub is_qec_test_run {
return check_var('QEC_SLEM_TESTS_FILTER', '1');
}

sub is_regproxy_required {
# For now only the Kubic kubeadm test needs a registry proxy.
# docker_image and podman_image pull with the full path themselves.
Expand Down Expand Up @@ -205,7 +209,7 @@ sub load_common_tests {
loadtest 'microos/one_line_checks';
loadtest 'microos/services_enabled';
# MicroOS -old images use wicked, but cockpit-wicked is no longer supported in TW
loadtest 'microos/cockpit_service' unless (is_microos('Tumbleweed') && is_staging) || (is_microos('Tumbleweed') && get_var('HDD_1', '') =~ /-old/) || !get_var('SCC_REGISTER');
loadtest 'microos/cockpit_service' unless (is_microos('Tumbleweed') && is_staging) || (is_microos('Tumbleweed') && get_var('HDD_1', '') =~ /-old/) || !get_var('SCC_REGISTER') || is_qec_test_run;
loadtest 'console/perl_bootloader' unless (is_bootloader_sdboot);
# Staging has no access to repos and the MicroOS-DVD does not contain ansible
# Ansible test needs Packagehub in SLE and it can't be enabled in SLEM
Expand All @@ -224,10 +228,10 @@ sub load_transactional_tests {
loadtest 'transactional/disable_timers';
loadtest 'transactional/filesystem_ro';
loadtest 'transactional/trup_smoke';
loadtest 'microos/patterns' if is_sle_micro;
loadtest 'transactional/transactional_update';
loadtest 'transactional/rebootmgr';
loadtest 'transactional/health_check' if is_bootloader_grub2; # health-checker needs GRUB2 (poo#129748)
loadtest 'microos/patterns' if is_sle_micro && !is_qec_test_run;
loadtest 'transactional/transactional_update' unless is_qec_test_run;
loadtest 'transactional/rebootmgr' unless is_qec_test_run;
loadtest 'transactional/health_check' if is_bootloader_grub2 && !is_qec_test_run; # health-checker needs GRUB2 (poo#129748)
}


Expand Down
1 change: 1 addition & 0 deletions variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ PXE_PRODUCT_NAME | string | false | Defines image name for PXE booting
PXE_BOOT_TIME | integer | 120 | Approximate time that IPMI worker needs to load and execute PXE boot payload. Should be set in the IPMI worker configuration.
QA_TESTSUITE | string | | Comma or semicolon separated a list of the automation cases' name, and these cases will be installed and triggered if you call "start_testrun" function from qa_run.pm
QAM_MINIMAL | string | "full" or "small" | Full is adding patterns x11, gnome-basic, base, apparmor in minimal/install_patterns test. Small is just base.
QEC_SLEM_TESTS_FILTER | boolean | undef | 1: SLE-micro tests flow limited to the 'qe-c owned' modules only; undef/else: no limitation.
RAIDLEVEL | integer | | Define raid level to be configured. Possible values: 0,1,5,6,10.
REBOOT_TIMEOUT | integer | 0 | Set and handle reboot timeout available in YaST installer. 0 disables the timeout and needs explicit reboot confirmation.
REGISTRY | string | docker.io | Registry to pull third-party container images from
Expand Down
Loading