... | ... | @@ -92,7 +92,7 @@ When adding or debugging tests you probably don't want to wait for a full Gitlab |
|
|
|
|
|
5. Run this command inside the gnome-build-meta clone to start the openqa_worker image:
|
|
|
|
|
|
podman run --privileged -it \
|
|
|
podman run --name openqa --privileged -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) \
|
... | ... | @@ -100,15 +100,13 @@ When adding or debugging tests you probably don't want to wait for a full Gitlab |
|
|
|
|
|
The test log will be written to stdout, the other data is still inside the container.
|
|
|
|
|
|
6. Find the ID of the container you just ran, using `podman ps -a -l`
|
|
|
6. Copy the test results and video out of the container:
|
|
|
|
|
|
7. Copy the test results and video out of the container:
|
|
|
|
|
|
podman cp 12345678abc:/testresults ./testresults
|
|
|
podman cp 12345678abc:/video.ogv .
|
|
|
podman cp openqa:/testresults ./testresults
|
|
|
podman cp openqa:/video.ogv .
|
|
|
# See all files in the container by running: podman export 12345678abc | tar -v -t | less
|
|
|
|
|
|
8. Remove the container with `podman rm` when you are done.
|
|
|
7. Remove the container with `podman rm openqa` when you are done.
|
|
|
|
|
|
It's common to use `save_screenshot` when writing testcases, which gives you a `.png` which you can then convert into a Needle.
|
|
|
|
... | ... | |