From 22056494a96ca55703952d84cd8112e3bac6411e Mon Sep 17 00:00:00 2001 From: "Ziqian SUN (Zamir)" Date: Thu, 27 Jun 2024 11:25:06 +0800 Subject: [PATCH] Port gating from RHEL-9 to RHEL-10 Resolves: RHEL-45249 Signed-off-by: Ziqian SUN (Zamir) --- bpftrace.spec | 2 ++ gating.yaml | 6 ++++++ tests/tests.yml | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/bpftrace.spec b/bpftrace.spec index 1669bf4..591f0fa 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -88,6 +88,8 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ - Resolves: RHEL-36076 - Rebuilt for LLVM 18 - Resolves: RHEL-27729 +- Enable gating +- Resolves: RHEL-45249 * Mon Jun 24 2024 Troy Dawson - 0.20.1-2 - Bump release for June 2024 mass rebuild diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..ec4fbdc --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,14 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://pkgs.devel.redhat.com/git/tests/bpftrace" + dest: gating + required_packages: + - bpftrace + - bash + - kernel-devel + tests: + - gating