mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Integration test runner tweaks
This commit is contained in:
parent
6d6822e66e
commit
45afa642c3
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
ec2:
|
||||
group_id: 'sg-07bb906d' # jenkins-slave_new
|
||||
count: 1
|
||||
instance_type: 'm3.large'
|
||||
instance_type: 'm3.xlarge'
|
||||
image: '{{ item.image }}'
|
||||
wait: true
|
||||
region: 'us-east-1'
|
||||
|
|
|
@ -3,13 +3,14 @@
|
|||
synchronize:
|
||||
src: "{{ sync_dir }}/"
|
||||
dest: "~/ansible"
|
||||
no_log: true
|
||||
|
||||
- name: Get ansible source dir
|
||||
sudo: false
|
||||
shell: "cd ~/ansible && pwd"
|
||||
register: results
|
||||
|
||||
- shell: "ls -la && . hacking/env-setup && cd test/integration && TEST_FLAGS='-e clean_working_dir=no' make -j4 {{ run_integration_make_target }}"
|
||||
- shell: "ls -la && . hacking/env-setup && cd test/integration && TEST_FLAGS='-e clean_working_dir=no' make -j2 {{ run_integration_make_target }}"
|
||||
args:
|
||||
chdir: "{{ results.stdout }}"
|
||||
async: 3600
|
||||
|
@ -27,6 +28,7 @@
|
|||
retries: 120
|
||||
delay: 30
|
||||
ignore_errors: true
|
||||
no_log: true
|
||||
|
||||
- name: save stdout test results for each host
|
||||
local_action: copy
|
||||
|
|
Loading…
Reference in a new issue