Fix Yamllint Violations for jjb/ovn4nfv 51/41551/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 23 Aug 2017 02:54:29 +0000 (19:54 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 11 Sep 2017 16:54:11 +0000 (09:54 -0700)
JIRA: RELENG-254

Change-Id: If3c2d8b469c97997a3fdcbcaf4750acb61c82d75
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/ovn4nfv/ovn4nfv-daily-jobs.yml
jjb/ovn4nfv/ovn4nfv-project-jobs.yml

index ed6df41..a4c5865 100644 (file)
@@ -1,22 +1,23 @@
+---
 - project:
     name: 'ovn4nfv-daily-jobs'
 
     project: 'ovn4nfv'
 
     master: &master
-        stream: master
-        branch: '{stream}'
-        gs-pathname: ''
-        disabled: false
+      stream: master
+      branch: '{stream}'
+      gs-pathname: ''
+      disabled: false
 
     pod:
-        - virtual:
-            slave-label: 'joid-virtual'
-            os-version: 'xenial'
-            <<: *master
+      - virtual:
+          slave-label: 'joid-virtual'
+          os-version: 'xenial'
+          <<: *master
 
     jobs:
-        - 'ovn4nfv-{pod}-daily-{stream}'
+      - 'ovn4nfv-{pod}-daily-{stream}'
 
 - job-template:
     name: 'ovn4nfv-{pod}-daily-{stream}'
     concurrent: false
 
     properties:
-        - logrotate-default
-        - throttle:
-            enabled: true
-            max-total: 1
-            max-per-node: 1
-            option: 'project'
+      - logrotate-default
+      - throttle:
+          enabled: true
+          max-total: 1
+          max-per-node: 1
+          option: 'project'
 
     scm:
-        - git-scm
+      - git-scm
 
     wrappers:
-        - ssh-agent-wrapper
+      - ssh-agent-wrapper
 
-        - timeout:
-            timeout: 240
-            fail: true
+      - timeout:
+          timeout: 240
+          fail: true
 
     triggers:
-         - timed: '@daily'
+      - timed: '@daily'
 
     parameters:
-        - project-parameter:
-            project: '{project}'
-            branch: '{branch}'
-        - string:
-            name: DEPLOY_SCENARIO
-            default: os-ovn-nofeature-noha
-        - '{slave-label}-defaults'
+      - project-parameter:
+          project: '{project}'
+          branch: '{branch}'
+      - string:
+          name: DEPLOY_SCENARIO
+          default: os-ovn-nofeature-noha
+      - '{slave-label}-defaults'
 
     builders:
-        - description-setter:
-            description: "Built on $NODE_NAME"
-        - multijob:
-            name: deploy
-            condition: SUCCESSFUL
-            projects:
-                - name: 'joid-deploy-{pod}-daily-{stream}'
-                  current-parameters: false
-                  predefined-parameters: |
-                    DEPLOY_SCENARIO=os-ovn-nofeature-noha
-                    COMPASS_OS_VERSION=xenial
-                  node-parameters: true
-                  kill-phase-on: FAILURE
-                  abort-all-job: true
-        - multijob:
-            name: functest
-            condition: SUCCESSFUL
-            projects:
-                - name: 'functest-joid-{pod}-daily-{stream}'
-                  current-parameters: false
-                  predefined-parameters: |
-                    DEPLOY_SCENARIO=os-ovn-nofeature-ha
-                    FUNCTEST_SUITE_NAME=ovn4nfv_test_suite
-                  node-parameters: true
-                  kill-phase-on: NEVER
-                  abort-all-job: true
-
+      - description-setter:
+          description: "Built on $NODE_NAME"
+      - multijob:
+          name: deploy
+          condition: SUCCESSFUL
+          projects:
+            - name: 'joid-deploy-{pod}-daily-{stream}'
+              current-parameters: false
+              predefined-parameters: |
+                DEPLOY_SCENARIO=os-ovn-nofeature-noha
+                COMPASS_OS_VERSION=xenial
+              node-parameters: true
+              kill-phase-on: FAILURE
+              abort-all-job: true
+      - multijob:
+          name: functest
+          condition: SUCCESSFUL
+          projects:
+            - name: 'functest-joid-{pod}-daily-{stream}'
+              current-parameters: false
+              predefined-parameters: |
+                DEPLOY_SCENARIO=os-ovn-nofeature-ha
+                FUNCTEST_SUITE_NAME=ovn4nfv_test_suite
+              node-parameters: true
+              kill-phase-on: NEVER
+              abort-all-job: true
index 805aa04..8c82cac 100644 (file)
@@ -1,3 +1,4 @@
+---
 - project:
     name: ovn4nfv
 
@@ -5,13 +6,13 @@
 
 
     stream:
-        - master:
-            branch: '{stream}'
-            gs-pathname: ''
-            disabled: false
+      - master:
+          branch: '{stream}'
+          gs-pathname: ''
+          disabled: false
 
     jobs:
-        - 'ovn4nfv-build-{stream}'
+      - 'ovn4nfv-build-{stream}'
 
 - job-template:
     name: 'ovn4nfv-build-{stream}'
     disabled: '{obj:disabled}'
 
     properties:
-        - logrotate-default
-        - throttle:
-            enabled: true
-            max-total: 1
-            max-per-node: 1
-            option: 'project'
+      - logrotate-default
+      - throttle:
+          enabled: true
+          max-total: 1
+          max-per-node: 1
+          option: 'project'
 
     parametert:
-        - project-parameter:
-            project: '{project}'
-            branch: '{branch}'
+      - project-parameter:
+          project: '{project}'
+          branch: '{branch}'
 
     scm:
-        - git-scm
+      - git-scm
 
     triggers:
-        - timed: 'H 23 * * *'
+      - timed: 'H 23 * * *'
 
     builders:
-        - 'ovn4nfv-build-macro'
+      - 'ovn4nfv-build-macro'
 
 - builder:
     name: 'ovn4nfv-build-macro'
     builders:
-        - shell: |
-            #!/bin/bash
+      - shell: |
+          #!/bin/bash
 
-            echo "hello world"
+          echo "hello world"