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