[gnome-build-meta.wiki] Update OpenQA for GNOME developers - name container
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta.wiki] Update OpenQA for GNOME developers - name container
- Date: Wed, 3 Nov 2021 10:18:40 +0000 (UTC)
commit 564438f517153a329b008f4928e0aff41ba41cc6
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Nov 3 10:18:40 2021 +0000
Update OpenQA for GNOME developers - name container
openqa/OpenQA-for-GNOME-developers.md | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/openqa/OpenQA-for-GNOME-developers.md b/openqa/OpenQA-for-GNOME-developers.md
index d5d60ba..37d820c 100644
--- a/openqa/OpenQA-for-GNOME-developers.md
+++ b/openqa/OpenQA-for-GNOME-developers.md
@@ -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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]