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/ci.fmf b/plans/ci.fmf new file mode 100644 index 0000000..f5041a6 --- /dev/null +++ b/plans/ci.fmf @@ -0,0 +1,13 @@ +summary: CI Gating Plan +discover: + how: fmf + url: https://src.fedoraproject.org/rpms/systemtap.git + ref: rawhide + directory: tests + filter: 'tier: 1' +prepare: + - name: prepare + how: shell + script: ./plans/prepare.sh +execute: + how: tmt diff --git a/plans/prepare.sh b/plans/prepare.sh new file mode 100755 index 0000000..2495d65 --- /dev/null +++ b/plans/prepare.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -xe + +# Install needed packages +dnf -y install /usr/bin/stap-prep +stap-prep + +# Report installed packages +stap-report + +# Set up SELinux so that it allows for userspace probing +setsebool allow_execmod on +setsebool allow_execstack on +setsebool deny_ptrace off + +set +xe