-
Notifications
You must be signed in to change notification settings - Fork 4
/
rpmdeplint.fmf
65 lines (60 loc) · 2.51 KB
/
rpmdeplint.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
summary: TMT/FMF plan for running the rpmdeplint tests
description: |
Runs rpmdeplint tests in Fedora CI — https://github.com/fedora-ci/rpmdeplint-pipeline.
discover:
how: shell
tests:
# for x86_64
- name: check-sat-x86_64
test: /rpmdeplint_runner/run.py run-test --name check-sat --task-id $TASK_ID --release $RELEASE_ID --arch x86_64
result: custom
duration: 20m
# Feel free to uncomment, but beware it takes around an hour because it checks every package in repo
# - name: check-repoclosure-x86_64
# test: /rpmdeplint_runner/run.py run-test --name check-repoclosure --task-id $TASK_ID --release $RELEASE_ID --arch x86_64
# result: custom
# duration: 180m
- name: check-upgrade-x86_64
test: /rpmdeplint_runner/run.py run-test --name check-upgrade --task-id $TASK_ID --release $RELEASE_ID --arch x86_64
result: custom
duration: 20m
- name: check-conflicts-x86_64
test: /rpmdeplint_runner/run.py run-test --name check-conflicts --task-id $TASK_ID --release $RELEASE_ID --arch x86_64
result: custom
duration: 360m
# for aarch64
- name: check-sat-aarch64
test: /rpmdeplint_runner/run.py run-test --name check-sat --task-id $TASK_ID --release $RELEASE_ID --arch aarch64
result: custom
duration: 20m
# Feel free to uncomment, but beware it takes around an hour because it checks every package in repo
# - name: check-repoclosure-aarch64
# test: /rpmdeplint_runner/run.py run-test --name check-repoclosure --task-id $TASK_ID --release $RELEASE_ID --arch aarch64
# result: custom
# duration: 180m
- name: check-upgrade-aarch64
test: /rpmdeplint_runner/run.py run-test --name check-upgrade --task-id $TASK_ID --release $RELEASE_ID --arch aarch64
result: custom
duration: 20m
- name: check-conflicts-aarch64
test: /rpmdeplint_runner/run.py run-test --name check-conflicts --task-id $TASK_ID --release $RELEASE_ID --arch aarch64
result: custom
duration: 360m
provision:
how: container
# source: https://github.com/fedora-ci/rpmdeplint-runner
image: quay.io/fedoraci/rpmdeplint:d961339
prepare:
how: shell
script: |
if [ -z "$RELEASE_ID" ]; then
echo "RELEASE_ID not specified"
exit 1
fi
if [ -z "$TASK_ID" ]; then
echo "TASK_ID not specified"
exit 1
fi
/rpmdeplint_runner/run.py prepare --task-id $TASK_ID --release $RELEASE_ID --arch x86_64,aarch64
execute:
how: tmt