-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.fmf
38 lines (34 loc) · 1.1 KB
/
main.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
summary: Run rpminspect on all srpm and binary rpms
description: |
Equivalent to bohdi job running https://github.com/fedora-ci/rpminspect-pipeline
# Update data package
# dnf update --disablerepo="fedora*" -y ${RPMINSPECT_PACKAGE_NAME} ${RPMINSPECT_DATA_PACKAGE_NAME} > update_rpminspect.log 2>&1 || :
prepare:
- name: Get necessary packages
how: install
package:
# TODO: Maybe this can be altered to use rpminspect container?
- rpminspect
- koji
- clamav-freshclam
- tree
- jq
- name: Get other files from repo
how: shell
script: >
curl --silent --show-error --fail --retry 5
--output "$TMT_PLAN_DATA/viewer.html"
https://raw.githubusercontent.com/rpminspect/rpminspect/main/contrib/viewer.html
adjust:
- prepare+:
- name: Get Fedora rpminspect data
how: install
package: [ rpminspect-data-fedora ]
when: distro == fedora
- prepare+:
- name: Get Centos rpminspect data
how: install
package: [ rpminspect-data-centos ]
when: distro == centos-stream
discover+:
filter: "tag: rpminspect"