-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrpminspect.fmf
45 lines (40 loc) · 1.1 KB
/
rpminspect.fmf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
summary: TMT/FMF plan for running rpminspect.
discover:
how: shell
tests:
- name: rpminspect
framework: shell
test: rpminspect_runner.sh $TASK_ID $PREVIOUS_TAG
result: custom
duration: 720m
description: |
Runs rpminspect tests in Fedora CI — https://github.com/fedora-ci/rpminspect-pipeline.
provision:
how: container
# source: https://github.com/fedora-ci/rpminspect-image
image: quay.io/fedoraci/rpminspect:c1521ed
prepare:
how: shell
script: |
if [ -z "$TASK_ID" ]; then
echo "TASK_ID not specified"
exit 1
fi
if [ -z "$PREVIOUS_TAG" ]; then
echo "PREVIOUS_TAG not specified"
exit 1
fi
if [ -z "$DEFAULT_RELEASE_STRING" ]; then
echo "DEFAULT_RELEASE_STRING not specified"
exit 1
fi
if [ -z "$REPOSITORY_URL" ]; then
echo "REPOSITORY_URL not specified"
exit 1
fi
if [ -z "$GIT_COMMIT" ]; then
echo "GIT_COMMIT not specified"
exit 1
fi
execute:
how: tmt