From ab16a5791e5afa9e2e3c9e7f4c0adda41cc21d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Wed, 25 May 2022 13:21:22 +0200 Subject: [PATCH 1/4] Let's try if the virtual provision would work --- .fmf/version | 1 + .packit.yaml | 6 ++++++ plan.fmf | 4 ++++ test.fmf | 5 +++++ 4 files changed, 16 insertions(+) create mode 100644 .fmf/version create mode 100644 .packit.yaml create mode 100644 plan.fmf create mode 100644 test.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..eb110c7 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,6 @@ +jobs: + - job: tests + trigger: pull_request + metadata: + targets: [fedora-all] + skip_build: true diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..e6427de --- /dev/null +++ b/plan.fmf @@ -0,0 +1,4 @@ +discover: + how: fmf +execute: + how: tmt diff --git a/test.fmf b/test.fmf new file mode 100644 index 0000000..d73f992 --- /dev/null +++ b/test.fmf @@ -0,0 +1,5 @@ +test: | + cd /tmp + systemctl start libvirtd + tmt run -avvvddd execute --how tmt --script "bash --version" +require: tmt-provision-virtual From bd98e694d1d6f13572deac03ceeba751e6809e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Wed, 25 May 2022 16:40:48 +0200 Subject: [PATCH 2/4] Increase the duration --- test.fmf | 1 + 1 file changed, 1 insertion(+) diff --git a/test.fmf b/test.fmf index d73f992..83cbd8a 100644 --- a/test.fmf +++ b/test.fmf @@ -3,3 +3,4 @@ test: | systemctl start libvirtd tmt run -avvvddd execute --how tmt --script "bash --version" require: tmt-provision-virtual +duration: 1h From d7ac1f34e86bd729addd837cbe22fa57ed5d2402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Wed, 23 Nov 2022 13:52:50 +0100 Subject: [PATCH 3/4] Fetch fresh `testcloud` from the copr repo --- plan.fmf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plan.fmf b/plan.fmf index e6427de..af334b2 100644 --- a/plan.fmf +++ b/plan.fmf @@ -1,4 +1,8 @@ discover: how: fmf +prepare: + how: install + copr: frantisekz/testcloud-wip + package: python3-testcloud execute: how: tmt From 40416443e190afdad6d5d3bf2a9a41375d5d6e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Thu, 24 Nov 2022 11:19:00 +0100 Subject: [PATCH 4/4] Request specific package version And if there is some text included? --- plan.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plan.fmf b/plan.fmf index af334b2..983812c 100644 --- a/plan.fmf +++ b/plan.fmf @@ -3,6 +3,6 @@ discover: prepare: how: install copr: frantisekz/testcloud-wip - package: python3-testcloud + package: python3-testcloud-0.8.2 execute: how: tmt