Merge pull request #788 from moreati/tests-resource_intensive-tag

tests: Tag resource intensive tasks, to skip when strategy=linear
pull/739/head
Alex Willmer 4 years ago committed by GitHub
commit 522085ab35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,6 +30,7 @@ jobs:
MODE: localhost_ansible MODE: localhost_ansible
VER: 2.10.0 VER: 2.10.0
STRATEGY: linear STRATEGY: linear
ANSIBLE_SKIP_TAGS: resource_intensive
- job: Linux - job: Linux

@ -1,3 +1,4 @@
- include: setup/all.yml
- include: regression/all.yml - include: regression/all.yml
- include: integration/all.yml - include: integration/all.yml

@ -66,3 +66,6 @@
copy: copy:
src: /tmp/bigbigfile.in src: /tmp/bigbigfile.in
dest: /tmp/bigbigfile.out dest: /tmp/bigbigfile.out
tags:
- resource_intensive

@ -2,3 +2,5 @@
tasks: tasks:
- include_tasks: _includes.yml - include_tasks: _includes.yml
with_sequence: start=1 end=1000 with_sequence: start=1 end=1000
tags:
- resource_intensive

@ -24,3 +24,8 @@
mode: 0644 mode: 0644
with_filetree: /tmp/filetree.in with_filetree: /tmp/filetree.in
when: item.state == 'file' when: item.state == 'file'
loop_control:
label: "/tmp/filetree.out/{{ item.path }}"
tags:
- resource_intensive

@ -8,3 +8,5 @@
tasks: tasks:
- command: hostname - command: hostname
with_sequence: start=1 end="{{end|default(100)}}" with_sequence: start=1 end="{{end|default(100)}}"
tags:
- resource_intensive

@ -110,3 +110,5 @@
- command: hostname - command: hostname
- command: hostname - command: hostname
- command: hostname - command: hostname
tags:
- resource_intensive

@ -29,3 +29,8 @@
mode: 0644 mode: 0644
with_filetree: /tmp/filetree.in with_filetree: /tmp/filetree.in
when: item.state == 'file' when: item.state == 'file'
loop_control:
label: "/tmp/filetree.out/{{ item.path }}"
tags:
- resource_intensive

@ -0,0 +1 @@
- include: report.yml

@ -0,0 +1,8 @@
- name: Report runtime settings
hosts: localhost
gather_facts: false
tasks:
- debug: {var: ansible_forks}
- debug: {var: ansible_run_tags}
- debug: {var: ansible_skip_tags}
- debug: {var: ansible_version.full}

@ -4,3 +4,5 @@
content: "{% for x in range(126977) %}x{% endfor %}" content: "{% for x in range(126977) %}x{% endfor %}"
- include: _file_service_loop.yml - include: _file_service_loop.yml
with_sequence: start=1 end=100 with_sequence: start=1 end=100
tags:
- resource_intensive

Loading…
Cancel
Save