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:
|
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…
Add table
Reference in a new issue