mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Integration test runner tweaks
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user