2015-01-14 17:10:33 +02:00
|
|
|
---
|
2015-01-14 19:06:28 +02:00
|
|
|
- name: update C++ client
|
|
|
|
docker_image:
|
2015-01-25 23:52:38 +02:00
|
|
|
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-cppjit
|
|
|
|
name: cppjit
|
2015-01-14 19:06:28 +02:00
|
|
|
state: build
|
2015-01-25 23:52:38 +02:00
|
|
|
# command: docker build -t cpp /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-cpp
|
2015-01-26 00:15:41 +02:00
|
|
|
async: 1200
|
2015-01-25 23:52:38 +02:00
|
|
|
poll: 5
|
2015-01-14 19:06:28 +02:00
|
|
|
|
2015-01-14 17:10:33 +02:00
|
|
|
- name: update Go client
|
|
|
|
docker_image:
|
2015-01-25 23:52:38 +02:00
|
|
|
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-go
|
2015-01-14 17:10:33 +02:00
|
|
|
name: go
|
|
|
|
state: build
|
2015-01-25 23:52:38 +02:00
|
|
|
# command: docker build -t go /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-go
|
2015-01-26 00:15:41 +02:00
|
|
|
async: 1200
|
2015-01-25 23:52:38 +02:00
|
|
|
poll: 5
|
2015-01-14 19:06:28 +02:00
|
|
|
|
2015-01-25 23:52:38 +02:00
|
|
|
- name: update Python client
|
|
|
|
docker_image:
|
|
|
|
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-python
|
|
|
|
name: python
|
|
|
|
state: build
|
2015-01-26 00:28:47 +02:00
|
|
|
async: 1200
|
2015-01-25 23:52:38 +02:00
|
|
|
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
|
2015-01-26 00:28:47 +02:00
|
|
|
# run for two months
|
|
|
|
async: "{{ 60 * 60 * 24 * 30 * 2 }}"
|
2015-01-25 23:52:38 +02:00
|
|
|
poll: 0
|
|
|
|
register: log_runner
|
|
|
|
|
|
|
|
- name: verify previous task
|
|
|
|
async_status: jid={{ log_runner.ansible_job_id }}
|