openQA----test based on the iso image of the specified version of openSUSE added by openQA

[Original link] openQA----test based on the iso image of the specified version of openSUSE added by openQA

(1) Execute the following command to download the openSUSE test script, which will be from the openSUSE test script github address

/usr/share/openqa/script/fetchneedles

(2) Then execute the following command to obtain the configuration of openQA, where API_KEY and API_SECRET can be queried in the WEB of openQA. For details, please refer to step 11 and step 12 in openQA----deploying openQA based on openSUSE

/var/lib/openqa/share/tests/opensuse/products/opensuse/templates [--apikey API_KEY] [--apisecret API_SECRET]

(3) Find an openSUSE ISO image, for example, open the openSUSE image download address , select an x86_64 media image, and right-click to copy the link, for example, the link here is: http://download.opensuse.org/distribution/leap/15.3/ iso/openSUSE-Leap-15.3-3-DVD-x86_64-Media.iso

(4) Then download the image to the /var/lib/openqa/share/factory/iso directory, that is, execute the following command

cd /var/lib/openqa/share/factory/iso
wget http://download.opensuse.org/distribution/leap/15.3/iso/openSUSE-Leap-15.3-3-DVD-x86_64-Media.iso

(5) Then execute the following command

openqa-cli api -X POST isos \
         ISO=openSUSE-Leap-15.3-3-DVD-x86_64-Media.iso \
         DISTRI=opensuse \
         VERSION=Leap-15.3-3 \
         FLAVOR=DVD \
         ARCH=x86_64

(6) Then refresh the WEB page of the openQA command, and the test task shown below will appear. As shown in the figure below, the current test task is being executed

So far, the script based on openQA for the specified version of the iso operating system has been run

Guess you like

Origin blog.csdn.net/redrose2100/article/details/130493466