Integration test runner tweaks

pull/13663/head
James Cammarata 9 years ago
parent 75695f5c70
commit c0248873da

@ -2,7 +2,7 @@
ec2: ec2:
group_id: 'sg-07bb906d' # jenkins-slave_new group_id: 'sg-07bb906d' # jenkins-slave_new
count: 1 count: 1
instance_type: 'm3.large' instance_type: 'm3.xlarge'
image: '{{ item.image }}' image: '{{ item.image }}'
wait: true wait: true
region: 'us-east-1' region: 'us-east-1'

@ -3,13 +3,14 @@
synchronize: synchronize:
src: "{{ sync_dir }}/" src: "{{ sync_dir }}/"
dest: "~/ansible" dest: "~/ansible"
no_log: true
- name: Get ansible source dir - name: Get ansible source dir
sudo: false sudo: false
shell: "cd ~/ansible && pwd" shell: "cd ~/ansible && pwd"
register: results 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: args:
chdir: "{{ results.stdout }}" chdir: "{{ results.stdout }}"
async: 3600 async: 3600
@ -27,6 +28,7 @@
retries: 120 retries: 120
delay: 30 delay: 30
ignore_errors: true ignore_errors: true
no_log: true
- name: save stdout test results for each host - name: save stdout test results for each host
local_action: copy local_action: copy

Loading…
Cancel
Save