Integration test runner tweaks

This commit is contained in:
James Cammarata 2015-12-21 15:48:58 -05:00
parent 75695f5c70
commit c0248873da
2 changed files with 4 additions and 2 deletions

View file

@ -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'

View file

@ -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