Role to install and bootstrap open.qa for openSUSE Linux
A basic openSUSE Linux installation with internet connectivity and installed python-xml
(Required for the ansible zypper module)
zypper in python-xml
The following variables are set
firewall_configure: true # Enable firewall configuration
firewall_interface: "public" # Firewall interface to configure
- hosts: servers
roles:
- { role: openqa, firewall_configure: true }
Checkout the OpenQA Documentation for the first steps after installing. The following is just a jump-start guide.
You find the API keys in your web frontend. Configure your client by editing either /etc/openqa/client.conf
(global config) or ~/.config/openqa/client.conf
(user config).
Set the API key and API secret accordingly.
$ mkdir -p ~/.config/openqa/
$ vim ~/.config/openqa/client.conf
[localhost]
key = 1234567890ABCDEF
secret = 1234567890ABCDEF
ISOs to be tested should be stored in /var/lib/openqa/share/factory/iso
. Download your first iso
# wget -P /var/lib/openqa/share/factory/iso/ https://download.opensuse.org/distribution/leap/15.1/iso/openSUSE-Leap-15.1-DVD-x86_64.iso
Run a full product test for a DVD
$ openqa-client isos post ISO=openSUSE-Leap-15.1-DVD-x86_64.iso DISTRI=opensuse VERSION=Leap FLAVOR=DVD ARCH=x86_64
Run a single test
$ openqa-client jobs post ISO=openSUSE-Leap-15.1-DVD-x86_64.iso DISTRI=opensuse VERSION=Leap FLAVOR=DVD ARCH=x86_64 TEST=lvm MACHINE=64bit
Depending on the number of cores and available memory (Up to 4GB RAM
per worker!), you might want to enable more workers
## Enable and start 4 workers (4 cores)
# systemctl enable --now openqa-worker@1
# systemctl enable --now openqa-worker@2
# systemctl enable --now openqa-worker@3
# systemctl enable --now openqa-worker@4