diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-09 06:07:44 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-14 06:26:07 +0800 |
commit | a91908e5678397a466060aa614081974a4a36455 (patch) | |
tree | 978be70e63397722f6bec971f045418096995fab /tests/files/ansible/roles/testrunner | |
parent | ae33883c2fd72b960e774833708deb1ce10e3fe4 (diff) | |
download | go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.gz go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.bz2 go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.lz go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.xz go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.zst go-tangerine-a91908e5678397a466060aa614081974a4a36455.zip |
tests: updated
Diffstat (limited to 'tests/files/ansible/roles/testrunner')
-rw-r--r-- | tests/files/ansible/roles/testrunner/tasks/main.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/files/ansible/roles/testrunner/tasks/main.yml b/tests/files/ansible/roles/testrunner/tasks/main.yml new file mode 100644 index 000000000..41c195f24 --- /dev/null +++ b/tests/files/ansible/roles/testrunner/tasks/main.yml @@ -0,0 +1,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 }} |