aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/ansible/roles/testrunner/tasks/main.yml
blob: 41c195f245d84c0c33a67cd735a4f51caba7af2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
- 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 }}