lnie / taskotron / libtaskotron

Forked from taskotron/libtaskotron 6 years ago
Clone

db85bdf Support for Ansible Tasks

Authored and Committed by mkrizek 6 years ago
    Support for Ansible Tasks
    
    This patch removes libtaskotron formula format for writing tasks and
    introduces support for running tasks in form of an ansible playbook.
    
    The following parts are removed:
    * task formula handling code
    * remote execution (Paramiko Wrapper)
    * concept of overlord and minion
    * the exitcode directive (hasn't been really used)
    
    When running locally, user is asked for sudo password since tasks are ran
    as root.
    
    https://fedoraproject.org/wiki/Changes/InvokingTestsAnsible
    
    Test Plan:
    $ git clone https://pagure.io/task-rpmlint-ansible
    $ runtask -d -i gzip -t koji_build -a x86_64 task-rpmlint-ansible/run_tests.yml
    $ runtask -d -i gzip -t koji_build -a x86_64 --ssh $IP_ADDRESS --ssh-privkey conf/id_taskotron task-rpmlint-ansible/run_tests.yml
    $ runtask -d -i gzip -t koji_build -a x86_64 --libvirt --ssh-privkey conf/id_taskotron task-rpmlint-ansible/run_tests.yml
    
    Differential Revision: https://phab.qa.fedoraproject.org/D1195
    
        
file modified
+3 -0
file modified
+5 -5
file modified
+1 -1
file modified
+96 -171
file modified
+12 -23
file removed
-257
file removed
-100
file modified
+1 -1
file added
+49
file removed
-466
file modified
+0 -5
file removed
-159
file removed
-123