From f89bd0c9b7cff1bf25ffc998a7eadb906da3a198 Mon Sep 17 00:00:00 2001 From: Scott Poore Date: Wed, 3 Jul 2024 16:17:11 -0500 Subject: [PATCH] Update gating to be compatible with tmt --- {tests/.fmf => .fmf}/version | 0 tests/plans/all.fmf | 8 ++++++++ tests/scripts/main.fmf | 6 ++++++ tests/scripts/run_tests.sh | 8 ++++++++ 4 files changed, 22 insertions(+) rename {tests/.fmf => .fmf}/version (100%) create mode 100644 tests/plans/all.fmf create mode 100644 tests/scripts/main.fmf diff --git a/tests/.fmf/version b/.fmf/version similarity index 100% rename from tests/.fmf/version rename to .fmf/version diff --git a/tests/plans/all.fmf b/tests/plans/all.fmf new file mode 100644 index 0000000..d538d2d --- /dev/null +++ b/tests/plans/all.fmf @@ -0,0 +1,8 @@ +summary: Run gating tests +discover: + how: fmf + dist-git-source: true + dist-git-type: centos + +execute: + how: tmt diff --git a/tests/scripts/main.fmf b/tests/scripts/main.fmf new file mode 100644 index 0000000..4ac7772 --- /dev/null +++ b/tests/scripts/main.fmf @@ -0,0 +1,6 @@ +summary: Run tlog tier1 tests +require: + - git + - tlog +test: ./run_tests.sh -m tier1 +duration: 30m diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 609bd87..ae20f58 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -9,6 +9,14 @@ if rlIsRHEL '>=9'; then dnf --enablerepo rhel-buildroot install python3-pytest -y fi +# RHEL10 cloud-init disables password authentication +# tlog tests need this to run currently +cat > /etc/ssh/sshd_config.d/00-tlog-override.conf <