... | ... | @@ -92,19 +92,19 @@ 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 --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) \
|
|
|
CASEDIR=/tests
|
|
|
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) \
|
|
|
CASEDIR=/tests
|
|
|
|
|
|
The test log will be written to stdout, the other data is still inside the container.
|
|
|
|
|
|
6. Copy the test results and video out of the container:
|
|
|
|
|
|
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
|
|
|
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
|
|
|
|
|
|
7. Remove the container with `podman rm openqa` when you are done.
|
|
|
|
... | ... | |