go-ethereum/tests/files/ansible/roles/testrunner/tasks/main.yml
obscuren 0823254c3b Add 'tests/files/' from commit 'ce7204fa17560f6a76c7592bf5f23d29f22042d6'
git-subtree-dir: tests/files
git-subtree-mainline: 4f3f881c9be0b590e6e28fda295257e8d15d5f02
git-subtree-split: ce7204fa17560f6a76c7592bf5f23d29f22042d6
2015-03-02 16:43:12 +01:00

35 lines
946 B
YAML

---
- name: update C++ client
docker_image:
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-cppjit
name: ethereum/cppjit-testrunner
state: build
async: 1200
poll: 5
- name: update Go client
docker_image:
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-go
name: ethereum/go-testrunner
state: build
async: 1200
poll: 5
- name: update Python client
docker_image:
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-python
name: ethereum/python-testrunner
state: build
async: 1200
poll: 5
- name: Run infinite tests
shell: seq {{ ansible_processor_vcpus }} | parallel --max-args=0 /home/{{ ansible_ssh_user }}/git/ansible/test-files/testrunner.sh
# run for two months
async: "{{ 60 * 60 * 24 * 30 * 2 }}"
poll: 0
register: log_runner
- name: verify previous task
async_status: jid={{ log_runner.ansible_job_id }}