From ddb90f9d9c473718d2731dfe348bbf021f1a4aab Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Mar 04 2019 08:56:56 +0000 Subject: Add an example with a fresh test bed requirement A simple example demonstrating how a clean test environment could be requested for each test. Resolves #10 and is related to: https://pagure.io/fedora-ci/general/issue/11 --- diff --git a/examples/bed.fmf b/examples/bed.fmf new file mode 100644 index 0000000..e63d80b --- /dev/null +++ b/examples/bed.fmf @@ -0,0 +1,20 @@ +# Tests which need a fresh test bed for each +/test/build/smoke: + summary: Basic smoke test + # List tests manually + discover: + how: list + tests: + - test/one + - test/two + - test/three + # Setup with ansible + prepare: + how: ansible + playbooks: + - 'dependencies.yml' + - 'selenium.yml' + # Use restraint with isolation enabled + execute: + how: restraint + isolate: true