Official Go implementation of the Ethereum protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-ethereum/ansible/roles/testrunner/tasks/main.yml

37 lines
1.0 KiB

---
10 years ago
- name: update C++ client
docker_image:
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-cppjit
name: cppjit
10 years ago
state: build
# command: docker build -t cpp /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-cpp
10 years ago
async: 1200
poll: 5
10 years ago
- name: update Go client
docker_image:
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-go
name: go
state: build
# command: docker build -t go /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-go
10 years ago
async: 1200
poll: 5
10 years ago
- name: update Python client
docker_image:
path: /home/{{ ansible_ssh_user }}/git/ansible/test-files/docker-python
name: python
state: build
10 years ago
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
10 years ago
# 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 }}