This a Taskotron task to run modularity-testing-framework on each new module build in Fedora.
Install libtaskotron:
sudo dnf install libtaskotron libtaskotron-fedora
It is recommended to run this in a VM, because this needs to run under root and can potentially break the system.
Replace testmodule-master-20170410111210
with modulename-stream-version
you want to test:
sudo runtask --item testmodule-master-20170410111210 --type module_build runtask.yml
If you know just a koji build URL, there's a non-trivial approach to convert it
to modulename-stream-version
. For an example build
https://koji.fedoraproject.org/koji/buildinfo?buildID=880171
you look into Tags and then do this query with that module-XXX
value:
export TAG=module-481d2dd61f4ae110; \ curl -s "https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?koji_tag=$TAG" | json_reformat \ | python -c 'import json,sys;resp=json.load(sys.stdin);print resp["results"][0]["variant_uid"]'
The answer for this example is memcached-master-20170412141649
.