github.com/digdeepmining/go-atheios@v1.5.13-0.20180902133602-d5687a2e6f43/tests/files/ansible/roles/testrunner/tasks/main.yml (about)

     1  ---
     2  - name: update C++ client
     3    docker_image:
     4        path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-cppjit
     5        name: ethereum/cppjit-testrunner
     6        state: build
     7    async: 1200
     8    poll: 5
     9  
    10  - name: update Go client
    11    docker_image:
    12        path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-go
    13        name: ethereum/go-testrunner
    14        state: build
    15    async: 1200
    16    poll: 5
    17  
    18  - name: update Python client
    19    docker_image:
    20        path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-python
    21        name: ethereum/python-testrunner
    22        state: build
    23    async: 1200
    24    poll: 5
    25  
    26  - name: Run infinite tests 
    27    shell: seq {{ ansible_processor_vcpus }} | parallel --max-args=0 /home/{{ ansible_ssh_user }}/git/ansible/test-files/testrunner.sh
    28    # run for two months 
    29    async: "{{ 60 * 60 * 24 * 30 * 2 }}"
    30    poll: 0
    31    register: log_runner
    32  
    33  - name: verify previous task
    34    async_status: jid={{ log_runner.ansible_job_id }}