Rearrange Releng Job and Parameter Files 19/24119/2
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 9 Nov 2016 20:33:46 +0000 (12:33 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 30 Nov 2016 00:03:08 +0000 (16:03 -0800)
Individual project jobs can now be tested using:

  jenkins-jobs test -r jjb/global:jjb/$project

- Rename '.yaml' files to '.yml' so they get checked by the
  verify-releng.sh script, and update the script to include checking of
  '.yaml' files.
- Move parameter and macro files under new 'global' directory.

Change-Id: I6b74f5d8af2bced3256a7f4a33983df5310511a2
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/global/installer-params.yml [moved from jjb/opnfv/installer-params.yml with 100% similarity]
jjb/global/releng-defaults.yml [moved from jjb/releng-defaults.yaml with 100% similarity]
jjb/global/releng-macros.yml [moved from jjb/releng-macros.yaml with 100% similarity]
jjb/global/slave-params.yml [moved from jjb/opnfv/slave-params.yml with 100% similarity]
jjb/releng/artifact-cleanup.yml [moved from jjb/opnfv/artifact-cleanup.yml with 100% similarity]
jjb/releng/opnfv-docker.sh [moved from jjb/opnfv/opnfv-docker.sh with 100% similarity]
jjb/releng/opnfv-docker.yml [moved from jjb/opnfv/opnfv-docker.yml with 100% similarity]
jjb/releng/opnfv-docs.yml [moved from jjb/opnfv/opnfv-docs.yml with 100% similarity]
jjb/releng/opnfv-lint.yml [moved from jjb/opnfv/opnfv-lint.yml with 100% similarity]
jjb/releng/opnfv-utils.yml [moved from jjb/opnfv/opnfv-utils.yml with 100% similarity]
jjb/releng/verify-releng.sh

index 5c2dbff..682a8be 100755 (executable)
@@ -8,7 +8,7 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 #test for non-ascii characters, these can pass the test and end up breaking things in production
-for x in $(find . -name *\.yml); do
+for x in $(find . -name *\.yml -or -name *\.yaml); do
 
   if LC_ALL=C grep -q '[^[:print:][:space:]]' "$x"; then
     echo "file "$x" contains non-ascii characters"