sudo curl https://copr-fe.cloud.fedoraproject.org/coprs/tflink/taskotron/repo/fedora-23/tflink-taskotron-fedora-23.repo \
-o /etc/yum.repos.d/tflink-taskotron-fedora-23.repo
sudo yum install libtaskotron
This will install libtaskotron-core and all of its modules, see detailed install instructions for more information on installing individual modules.
runtask -i <item> -t <type> -a <arch> <yaml formula>
Note
By default, runtask will attempt to execute tasks locally. More command line flags are needed in order to enable disposable clients. More details on running tasks can be found here
name: polyjuice potion
desc: potion that allows to take the form of someone else
maintainer: hermione
input:
args:
- arg1 # supported args:
- arg2 # arch, koji_build, bodhi_id, koji_tag
environment:
rpm:
- dependency1 # libtaskotron installs these when in production or --local mode,
- dependency2 # otherwise users are expected to install them on libtaskotron machine
actions:
- name: pick fluxweed on a full moon
directivename: # e.g. koji, bodhi, python, ...
arg1: value1
arg2: ${some_variable} # e.g. input arg
export: firststep_output # export usable as input arg of next directive
- name: next step of formula
nextdirectivename:
arg1: ${firststep_output}