Fix yamllint for opflex 91/52591/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 2 Mar 2017 03:04:00 +0000 (22:04 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 2 Mar 2017 03:04:04 +0000 (22:04 -0500)
Preparation for patch Icd1b8d4931e15b77ee29aa179422cd652e43f2e5

Change-Id: I33bcae68202dd43d3f8c16f94eb116e397c7d6ac
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/opflex/opflex-custom.yaml
jjb/opflex/opflex-dependencies.yaml

index 73af4d97f23508ece216532b1e6c4ccf8800de51..7ca6e65cf339afb0c271b64b8afc025ba0230bfc 100644 (file)
@@ -1,19 +1,20 @@
+---
 - project:
     name: opflex
     jobs:
-        - 'opflex-verify-{stream}'
-        - 'opflex-merge-{stream}'
+      - 'opflex-verify-{stream}'
+      - 'opflex-merge-{stream}'
 
     stream:
-        - carbon:
-            branch: 'master'
-            jdk: openjdk8
-        - boron:
-            branch: 'stable/boron'
-            jdk: openjdk8
-        - beryllium:
-            branch: 'stable/beryllium'
-            jdk: openjdk8
+      - carbon:
+          branch: 'master'
+          jdk: openjdk8
+      - boron:
+          branch: 'stable/boron'
+          jdk: openjdk8
+      - beryllium:
+          branch: 'stable/beryllium'
+          jdk: openjdk8
 
     project: 'opflex'
     archive-artifacts: '**/*.tar.gz'
@@ -34,9 +35,7 @@
       - copyartifact:
           project: opflex-openvswitch_tgz-{stream}
           flatten: true
-      - shell:
-          !include-raw-escape:
-            - include-raw-opflex-build.sh
+      - shell: !include-raw-escape: include-raw-opflex-build.sh
 
 - job-template:
     name: 'opflex-verify-{stream}'
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - gerrit-trigger-scm:
-            refspec: '$GERRIT_REFSPEC'
-            choosing-strategy: 'gerrit'
+      - gerrit-trigger-scm:
+          refspec: '$GERRIT_REFSPEC'
+          choosing-strategy: 'gerrit'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            server: '{server-name}'
-            project: '{project}'
-            branch: '{branch}'
-            files: '**'
+      - gerrit-trigger-patch-submitted:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+          files: '**'
 
     builders:
-        - opflex-build:
-            mvn33: 'mvn33'
-            stream: '{stream}'
+      - opflex-build:
+          mvn33: 'mvn33'
+          stream: '{stream}'
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[opflex]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
 
 - job-template:
     name: 'opflex-merge-{stream}'
     jdk: '{jdk}'
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-        - opendaylight-infra-parameters:
-            project: '{project}'
-            branch: '{branch}'
-            refspec: 'refs/heads/{branch}'
-            artifacts: '{archive-artifacts}'
+      - opendaylight-infra-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
 
     scm:
-        - gerrit-trigger-scm:
-            refspec: ''
-            choosing-strategy: 'default'
+      - gerrit-trigger-scm:
+          refspec: ''
+          choosing-strategy: 'default'
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     triggers:
-        - gerrit-trigger-patch-merged:
-            server-name: '{server-name}'
-            name: 'opflex'
-            branch: '{branch}'
+      - gerrit-trigger-patch-merged:
+          server-name: '{server-name}'
+          name: 'opflex'
+          branch: '{branch}'
 
     builders:
-        - opflex-build:
-            mvn33: 'mvn33'
-            stream: '{stream}'
+      - opflex-build:
+          mvn33: 'mvn33'
+          stream: '{stream}'
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[opflex]'
-        - opendaylight-infra-shiplogs:
-            maven-version: 'mvn33'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - opendaylight-infra-shiplogs:
+          maven-version: 'mvn33'
index c54116c95915e131c1dfb63e2cf543c54b6150ad..a932a9c848d4206b03033eedc14036eeb3f2b7bb 100644 (file)
@@ -1,98 +1,97 @@
+---
 - project:
     name: opflex-dependencies
     jobs:
-        - 'opflex-libuv_tgz-{stream}'
-        - 'opflex-rapidjson_tgz-{stream}'
-        - 'opflex-openvswitch_tgz-{stream}'
+      - 'opflex-libuv_tgz-{stream}'
+      - 'opflex-rapidjson_tgz-{stream}'
+      - 'opflex-openvswitch_tgz-{stream}'
 
     stream:
-        - carbon:
-            branch: 'master'
-            libuv-build: v1
-            libuv-scm: v2
-            rapidjson-build: v1
-            rapidjson-scm: v2
-            openvswitch-build: v2
-            openvswitch-scm: v2
-        - boron:
-            branch: 'stable/boron'
-            libuv-build: v1
-            libuv-scm: v1
-            rapidjson-build: v1
-            rapidjson-scm: v1
-            openvswitch-build: v1
-            openvswitch-scm: v1
-        - beryllium:
-            branch: 'stable/beryllium'
-            libuv-build: v1
-            libuv-scm: v1
-            rapidjson-build: v1
-            rapidjson-scm: v1
-            openvswitch-build: v1
-            openvswitch-scm: v1
+      - carbon:
+          branch: 'master'
+          libuv-build: v1
+          libuv-scm: v2
+          rapidjson-build: v1
+          rapidjson-scm: v2
+          openvswitch-build: v2
+          openvswitch-scm: v2
+      - boron:
+          branch: 'stable/boron'
+          libuv-build: v1
+          libuv-scm: v1
+          rapidjson-build: v1
+          rapidjson-scm: v1
+          openvswitch-build: v1
+          openvswitch-scm: v1
+      - beryllium:
+          branch: 'stable/beryllium'
+          libuv-build: v1
+          libuv-scm: v1
+          rapidjson-build: v1
+          rapidjson-scm: v1
+          openvswitch-build: v1
+          openvswitch-scm: v1
 
     project: 'opflex'
 
 - scm:
     name: 'git-opflex-libuv-v1'
     scm:
-        - git:
-            url: https://github.com/libuv/libuv.git
-            branches:
-                - 'refs/tags/v1.7.5'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/libuv/libuv.git
+          branches:
+            - 'refs/tags/v1.7.5'
+          wipe-workspace: true
 
 - scm:
     name: 'git-opflex-libuv-v2'
     scm:
-        - git:
-            url: https://github.com/libuv/libuv.git
-            branches:
-                - 'refs/tags/v1.8.0'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/libuv/libuv.git
+          branches:
+            - 'refs/tags/v1.8.0'
+          wipe-workspace: true
 
 - scm:
     name: 'git-opflex-rapidjson-v1'
     scm:
-        - git:
-            url: https://github.com/miloyip/rapidjson.git
-            branches:
-                - 'refs/tags/v1.0.1'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/miloyip/rapidjson.git
+          branches:
+            - 'refs/tags/v1.0.1'
+          wipe-workspace: true
 
 - scm:
     name: 'git-opflex-rapidjson-v2'
     scm:
-        - git:
-            url: https://github.com/miloyip/rapidjson.git
-            branches:
-                - 'refs/tags/v1.0.2'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/miloyip/rapidjson.git
+          branches:
+            - 'refs/tags/v1.0.2'
+          wipe-workspace: true
 
 - scm:
     name: 'git-opflex-ovs-v1'
     scm:
-        - git:
-            url: https://github.com/noironetworks/ovs.git
-            branches:
-                - 'origin/noiro'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/noironetworks/ovs.git
+          branches:
+            - 'origin/noiro'
+          wipe-workspace: true
 
 - scm:
     name: 'git-opflex-ovs-v2'
     scm:
-        - git:
-            url: https://github.com/openvswitch/ovs.git
-            branches:
-                - 'refs/tags/v2.6.0'
-            wipe-workspace: true
+      - git:
+          url: https://github.com/openvswitch/ovs.git
+          branches:
+            - 'refs/tags/v2.6.0'
+          wipe-workspace: true
 
 - builder:
     name: 'builder-opflex-libuv-v1'
     builders:
-        - shell:
-            !include-raw-escape:
-                - deps-inc-v1/include-raw-libuv_tgz-build.sh
+      - shell: !include-raw-escape: deps-inc-v1/include-raw-libuv_tgz-build.sh
 
 - job-template:
     name: 'opflex-libuv_tgz-{stream}'
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     scm:
-        - git-opflex-libuv-{libuv-scm}
+      - git-opflex-libuv-{libuv-scm}
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - builder-opflex-libuv-{libuv-build}
+      - builder-opflex-libuv-{libuv-build}
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[opflex]'
-        - archive:
-            artifacts: 'install-root/*.tgz'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - archive:
+          artifacts: 'install-root/*.tgz'
 
 - builder:
     name: 'builder-opflex-rapidjson-v1'
     builders:
-        - shell:
-            !include-raw-escape:
-                - deps-inc-v1/include-raw-rapidjson_tgz-build.sh
+      - shell: !include-raw-escape: deps-inc-v1/include-raw-rapidjson_tgz-build.sh
 
 - job-template:
     name: 'opflex-rapidjson_tgz-{stream}'
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     scm:
-        - git-opflex-rapidjson-{rapidjson-scm}
+      - git-opflex-rapidjson-{rapidjson-scm}
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - builder-opflex-rapidjson-{rapidjson-build}
+      - builder-opflex-rapidjson-{rapidjson-build}
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[opflex]'
-        - archive:
-            artifacts: 'install-root/*.tgz'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - archive:
+          artifacts: 'install-root/*.tgz'
 
 - builder:
     name: 'builder-opflex-openvswitch-v1'
     builders:
-        - shell:
-            !include-raw:
-                - deps-inc-v1/include-raw-openvswitch_tgz-build.sh
+      - shell: !include-raw: deps-inc-v1/include-raw-openvswitch_tgz-build.sh
 
 - builder:
     name: 'builder-opflex-openvswitch-v2'
     builders:
-        - shell:
-            !include-raw:
-                - deps-inc-v2/include-raw-openvswitch_tgz-build.sh
+      - shell: !include-raw: deps-inc-v2/include-raw-openvswitch_tgz-build.sh
 
 - job-template:
     name: 'opflex-openvswitch_tgz-{stream}'
     concurrent: true
 
     properties:
-        - opendaylight-infra-properties:
-            build-days-to-keep: '{build-days-to-keep}'
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
 
     scm:
-        - git-opflex-ovs-{openvswitch-scm}
+      - git-opflex-ovs-{openvswitch-scm}
 
     wrappers:
-        - opendaylight-infra-wrappers:
-            build-timeout: '{build-timeout}'
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
 
     builders:
-        - builder-opflex-openvswitch-{openvswitch-build}
+      - builder-opflex-openvswitch-{openvswitch-build}
 
     publishers:
-        - email-notification:
-            email-recipients: '{email-recipients}'
-            email-prefix: '[opflex]'
-        - archive:
-            artifacts: 'install-root/*.tgz'
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[opflex]'
+      - archive:
+          artifacts: 'install-root/*.tgz'