CI Tests: Introduce FMF based test plan
This commit is contained in:
parent
d37863f5cd
commit
dfb3554b15
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
13
plans/ci.fmf
Normal file
13
plans/ci.fmf
Normal file
@ -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
|
17
plans/prepare.sh
Executable file
17
plans/prepare.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user