Fix Yamllint violations for jjb/securedlab 47/42547/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 20 Sep 2017 16:54:30 +0000 (18:54 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 20 Sep 2017 16:55:58 +0000 (18:55 +0200)
JIRA: RELENG-254

Change-Id: Iaf0c4a23f5d9b6117ec7a455ee1650e68893f4b3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
jjb/securedlab/check-jinja2.yml

index 36d5e3a..155be17 100644 (file)
@@ -1,3 +1,4 @@
+---
 ########################
 # Job configuration to validate jinja2 files
 ########################
@@ -8,15 +9,15 @@
     project: 'securedlab'
 
     jobs:
-        - 'validate-jinja2-templates-{stream}'
+      - 'validate-jinja2-templates-{stream}'
 
     stream:
-        - master:
-            branch: '{stream}'
-            disabled: false
-        - euphrates:
-            branch: 'stable/{stream}'
-            disabled: false
+      - master:
+          branch: '{stream}'
+          disabled: false
+      - euphrates:
+          branch: 'stable/{stream}'
+          disabled: false
 
 ########################
 # job templates
     concurrent: true
 
     parameters:
-        - project-parameter:
-            project: $GERRIT_PROJECT
-            branch: '{branch}'
-        - node:
-            name: SLAVE_NAME
-            description: Slave to execute jnija template test
-            default-slaves:
-                - lf-build1
-            allowed-multiselect: true
-            ignore-offline-nodes: true
+      - project-parameter:
+          project: $GERRIT_PROJECT
+          branch: '{branch}'
+      - node:
+          name: SLAVE_NAME
+          description: Slave to execute jnija template test
+          default-slaves:
+            - lf-build1
+          allowed-multiselect: true
+          ignore-offline-nodes: true
 
     scm:
-        - git-scm-gerrit
+      - git-scm-gerrit
 
     triggers:
-        - gerrit:
-            server-name: 'gerrit.opnfv.org'
-            trigger-on:
-                - patchset-created-event:
-                    exclude-drafts: 'false'
-                    exclude-trivial-rebase: 'false'
-                    exclude-no-code-change: 'false'
-                - draft-published-event
-                - comment-added-contains-event:
-                    comment-contains-value: 'recheck'
-                - comment-added-contains-event:
-                    comment-contains-value: 'reverify'
-            projects:
-              - project-compare-type: 'REG_EXP'
-                project-pattern: '{project}'
-                branches:
-                  - branch-compare-type: 'ANT'
-                    branch-pattern: '**/{branch}'
-                file-paths:
-                  - compare-type: ANT
-                    pattern: '**/*.yaml'
-                  - compare-type: ANT
-                    pattern: 'check-jinja2.sh'
-            skip-vote:
-                successful: true
-                failed: true
-                unstable: true
-                notbuilt: true
+      - gerrit:
+          server-name: 'gerrit.opnfv.org'
+          trigger-on:
+            - patchset-created-event:
+                exclude-drafts: 'false'
+                exclude-trivial-rebase: 'false'
+                exclude-no-code-change: 'false'
+            - draft-published-event
+            - comment-added-contains-event:
+                comment-contains-value: 'recheck'
+            - comment-added-contains-event:
+                comment-contains-value: 'reverify'
+          projects:
+            - project-compare-type: 'REG_EXP'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: ANT
+                  pattern: '**/*.yaml'
+                - compare-type: ANT
+                  pattern: 'check-jinja2.sh'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
 
     builders:
-        - check-jinja
+      - check-jinja
 
 - builder:
     name: check-jinja
     builders:
-        - shell: |
-            $WORKSPACE/check-jinja2.sh
+      - shell: |
+          $WORKSPACE/check-jinja2.sh