Run gate-project-config-bashate on .sh files only

Like pep8 before we are trying to reduce the amount of jobs launched
in the check / gate pipelines. Over the last 200 commits only 2 or 3
files have been touched.

We are also reducing run-bashate.sh and remove unsourced files.

Change-Id: Ie77fad9a272fb41fbb48f94ceee910954e903939
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-11-11 11:22:28 -05:00
parent bc9f919a90
commit b544a361ef
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
ROOT=$(readlink -fn $(dirname $0)/.. )
find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* -and \( -name \*.sh -or -name \*rc -or -name functions\* \) -print0 | xargs -0 bashate -v
find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* -and -name \*.sh -print0 | xargs -0 bashate -v

View File

@ -1192,6 +1192,12 @@ jobs:
- name: gate-bashate-devstack
voting: false
- name: gate-project-config-bashate
files:
- '^.*\.sh$'
- 'test-requirements.txt'
- 'tox.ini'
- name: gate-project-config-irc-access
files:
- 'accessbot/channels.yaml'