Increase ansible-lint speed (#4632)

This commit is contained in:
Andreas Krüger 2019-04-24 14:28:00 +02:00 committed by Kubernetes Prow Robot
parent 01da65252b
commit 3c5a4474ac

View file

@ -11,7 +11,7 @@ ansible-lint:
stage: unit-tests stage: unit-tests
# lint every yml/yaml file that looks like it contains Ansible plays # lint every yml/yaml file that looks like it contains Ansible plays
script: |- script: |-
grep -Rl '^- hosts: \|^ hosts: \|^- name: ' --include \*.yml --include \*.yaml . | xargs ansible-lint -v grep -Rl '^- hosts: \|^ hosts: \|^- name: ' --include \*.yml --include \*.yaml . | xargs -P 4 -n 25 ansible-lint -v
except: ['triggers', 'master'] except: ['triggers', 'master']
syntax-check: syntax-check: