forked from fedora-python/taskotron-python-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
runtask.yml
37 lines (32 loc) · 927 Bytes
/
runtask.yml
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
name: python-versions
namespace: dist
desc: |
Download specified Koji build and check each RPM for Python dependencies,
if a binary RPM depends on Python 2 and 3 at the same time,
it usually indicates some packaging errors, except for rare whitelisted cases.
maintainer: churchyard
input:
args:
- koji_build
environment:
rpm:
- rpm-python
- python2-dnf
actions:
- name: download rpms from koji
koji:
action: download
koji_build: ${koji_build}
arch: ['all']
src: True
- name: check each rpm for python dependencies
python:
file: python_versions_check.py
callable: run
workdir: ${workdir}
koji_build: ${koji_build}
artifactsdir: ${artifactsdir}
export: python_versions_output
- name: report results to resultsdb
resultsdb:
results: ${python_versions_output}