From 61a4ba7f0f6813d20983ff134b7b920373c9f4aa Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 22 Jan 2024 16:01:12 +0100 Subject: [PATCH] separate play for TF --- .../integration-tests/setup-playbook/play-tf.yml | 16 ++++++++++++++++ testing-farm/plans/behave.fmf | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 mock/integration-tests/setup-playbook/play-tf.yml diff --git a/mock/integration-tests/setup-playbook/play-tf.yml b/mock/integration-tests/setup-playbook/play-tf.yml new file mode 100644 index 000000000..9296417d5 --- /dev/null +++ b/mock/integration-tests/setup-playbook/play-tf.yml @@ -0,0 +1,16 @@ +--- +- name: Prepare the testing machine for running Mock tests + hosts: all + user: "root" + vars: + mock_test_username: mockbuild + mock_test_workdir: /home/mock/mock-testing + mock_gpg_dir: "/home/mockbuild/gpg" + mock_gpg_wrapper: "/home/mockbuild/gpg-mock" + mock_test_rpmmacros: /home/mockbuild/.rpmmacros + mock_lvm_volume: /test-lvm-disk + mock_clone: /home/mockbuild/mock + + tasks: + - include_tasks: tasks/main.yml + tags: always diff --git a/testing-farm/plans/behave.fmf b/testing-farm/plans/behave.fmf index 268f1ffe2..4e474ffd1 100644 --- a/testing-farm/plans/behave.fmf +++ b/testing-farm/plans/behave.fmf @@ -6,7 +6,7 @@ discover: prepare: how: ansible - playbook: ../mock/integration-tests/setup-playbook/setup-playbook.yml + playbook: ../mock/integration-tests/setup-playbook/play-tf.yml execute: how: tmt