Mailinglist Archive: yast-devel (65 mails)

< Previous Next >
[yast-devel] Some recipes for running jobs in openQA
  • From: Ancor Gonzalez Sosa <ancor@xxxxxxx>
  • Date: Wed, 27 May 2015 18:33:44 +0200
  • Message-id: <5565F1E8.2090006@suse.de>
Before I go on vacation...

Most likely NOT all parameters are needed in all cases. These are just
examples.

1) Running an installation to generate an hard disk image (to be used
afterward for running application tests, for example). Key param
PUBLISH_HDD_1

/usr/share/openqa/script/client jobs post ARCH=x86_64 BACKEND=qemu
BUILD=132 DISTRI=opensuse DESKTOP=kde DVD=1 FLAVOR=DVD FULLURL=1
ISO=openSUSE-13.2-DVD-x86_64.iso TEST=generate-kde-hdd VERSION=13.2
PUBLISH_HDD_1=openSUSE-13.2-kde.hdd INSTALLONLY=1


2) Using the generated hard disk image to run our new distri (which only
includes our own application tests).Key params HDD_1 and DISTRI=yast-modules

/usr/share/openqa/script/client jobs post ARCH=x86_64 BACKEND=qemu
BUILD=132 DISTRI=yast-modules DESKTOP=kde TEST=yast-modules-experiment
VERSION=13.2 HDD_1=openSUSE-13.2-kde.hdd

3) Same that (2) but with an additional step to install all the updates
from YaST:Head (I don't promise it will work). Key param YAST_HEAD

/usr/share/openqa/script/client jobs post ARCH=x86_64 BACKEND=qemu
BUILD=132 DISTRI=yast-modules DESKTOP=kde TEST=yast-modules-experiment
VERSION=13.2 HDD_1=openSUSE-13.2-kde.hdd YAST_HEAD=1

4) Loading a DUD before performing the installation (with the changes
mentioned in my previous mail and still not merged into upstream
openQA). Key params DUD, ISO_1 and ADDONS

/usr/share/openqa/script/client jobs post ARCH=x86_64 BACKEND=qemu
BUILD=0951 DISTRI=sle MACHINE=64bit QEMUCPU=qemu64 VERSION=12
FLAVOR=Server-DVD ISO=SLE-12-Server-DVD-x86_64-GM-DVD1.iso DUD=iso
ISO_1=dud-sle12-whatever.iso ADDONS=1 TEST=whatever

All the examples SHOULD work with all distros (sle, 13.2, TW) and all
tests. Just take the relevant params and combine them with your our needs.

Cheers.
--
Ancor González Sosa
YaST Team at SUSE Linux GmbH
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
This Thread
  • No further messages