From 4d158a123e682e7701739242bec05813a1ff6854 Mon Sep 17 00:00:00 2001 From: Alex Jia Date: Mon, 16 Dec 2024 08:52:28 +0800 Subject: [PATCH] Add tmt plan for crun aarch64 gating tests Signed-off-by: Alex Jia --- .fmf/version | 1 + plans/main.fmf | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/main.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/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..b9f6681 --- /dev/null +++ b/plans/main.fmf @@ -0,0 +1,30 @@ +summary: Test plan for crun +description: Test plan for crun +contact: Alex Jia + +provision: + how: container + +prepare: + - name: Install packages + how: install + package: [crun, podman, podman-tests, git] + - name: Prepare bats + how: shell + script: + - rm -rf /tmp/bats + - git clone https://github.com/bats-core/bats-core.git /tmp/bats + - /tmp/bats/install.sh /usr + +discover: + how: fmf + filter: 'tag: gate' + url: https://gitlab.cee.redhat.com/ajia/crun + ref: rhel-9 + +execute: + how: tmt + +adjust: + enabled: false + when: distro == centos-stream or distro == fedora