THIS PROJECT IS NOW UNMAINTAINED.
This is kept around for archival purposes. It's not clear whether we'll use this project in the future.
This task is meant to run new standard interface tests in Taskotron.
For now, it uses the soon-to-be-legacy taskyaml but that will change as libtaskotron starts to support Ansible natively.
Assumptions that are made:
- if any tests currently exist, they are stored in a git repo on the upstream first forge
Dependencies to run the task:
dnf install libtaskotron
- An appropriate VM image to start from
To run the task, use something like:
runtask -i <build> -t koji_build runtask.yml
Note: Since running this shim manually will run the package test playbook locally in "classic" mode, you'll likely want to do so on a disposable VM that you "snapshot" just before running the tests so you can easily recover from whatever the tests may do to your local system!
libtaskotron package on your system:
$ sudo dnf install libtaskotron
Clone this repo to your system and make it your current directory:
$ git clone https://pagure.io/taskotron/task-standard-interface-shim.git $ cd task-standard-interface-shim
Locate a recent Koji build for the package for which you want to run tests.
runtask command to run the shim task, providing
it with the NVR of the Koji build identified in the previous step.
$ sudo runtask -i sed-4.4-1.fc26 -t koji_build runtask.yml
That's it! The task will install the required packages for the standard
test interface and run the tests locally.
The last line of the output will tell you the location of the test