... | ... | @@ -79,3 +79,18 @@ can adapt an existing test. Here are some we know of: |
|
|
|
|
|
* OpenSuSE: [web UI](http://openqa.opensuse.org/), [tests](https://github.com/os-autoinst/os-autoinst-distri-opensuse), [needles](https://github.com/os-autoinst/os-autoinst-needles-opensuse)
|
|
|
* Fedora: [web UI](https://openqa.fedoraproject.org/), [tests](https://pagure.io/fedora-qa/os-autoinst-distri-fedora/blob/master/f/tests)
|
|
|
|
|
|
## Running the test suite locally
|
|
|
|
|
|
When adding or debugging tests you probably don't want to wait for a full Gitlab CI pipeline. You can run the test suite locally if you don't mind doing some preparations. You will need Docker / Podman to run the tests, and `jq`.
|
|
|
|
|
|
1. Clone gnome-build-meta repo.
|
|
|
|
|
|
2. Get the `installer.iso` file you want to test. The simplest way is to build the 'iso-installer-x86_64` job in Gitlab CI, then use the 'Job artifacts' menu to download it.
|
|
|
|
|
|
3. Get the `vars.json` file from a successful OpenQA run. Visit https://openqa.gnome.org/tests to find the latest successful run, then visit the 'Logs & Assets' tab and download `vars.json`.
|
|
|
|
|
|
4. Run this command inside the gnome-build-meta clone to start the openqa_worker image:
|
|
|
|
|
|
podman run --privileged --rm -it -v ./openqa:/tests -v ./installer.iso:/installer.iso --entrypoint isotovideo quay.io/ssssam/openqa_worker $(jq -jr 'keys[] as $k | "\($k)=\(.[$k]) "' < vars.json) CASEDIR=/tests
|
|
|
|