forked from os-autoinst/os-autoinst-distri-opensuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RFC] Implement module for Slowroll testing
Slowroll is Beta. Repos are provided in download.o.o for testing. This commit introduce a new module which adds those repos in the system. it should be used after the main installation. The update and staging repos are the most interesting to test. Signed-off-by: Ioannis Bonatakis <[email protected]>
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# SUSE's openQA tests | ||
# | ||
# Copyright 2024 SUSE LLC | ||
# SPDX-License-Identifier: FSFAP | ||
|
||
# Summary: Add slowroll repos in the system | ||
# Maintainer: Yiannis Bonatakis <[email protected]> | ||
|
||
use Mojo::Base 'opensusebasetest'; | ||
use testapi; | ||
use serial_terminal 'select_serial_terminal'; | ||
use utils 'zypper_call'; | ||
sub run { | ||
my $self = shift; | ||
select_serial_terminal; | ||
# select_console 'root-console'; | ||
assert_script_run "rm /etc/zypp/repos.d/*"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh http://cdn.opensuse.org/slowroll/repo/oss/ base-oss"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh http://cdn.opensuse.org/slowroll/repo/non-oss/ base-non-oss"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh -p 80 http://cdn.opensuse.org/update/slowroll/repo/oss/ update"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh --disable http://cdn.opensuse.org/slowroll/repo/src-oss/ base-src-oss"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh --disable https://download.opensuse.org/debug/slowroll/repo/oss/ base-oss-debug"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed/ h264"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh -p 70 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Slowroll/Essentials/ packmam"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys dup"; | ||
} | ||
|
||
sub test_flags { | ||
return {fatal => 1}; | ||
} | ||
|
||
1; |