jjb: fix yamllint issues 07/8807/5
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 15 Mar 2017 22:49:43 +0000 (15:49 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 17 Mar 2017 21:00:29 +0000 (14:00 -0700)
Linting ci-AGL-verify and ci-management files

Change-Id: I81f50f82e0a43e09d4ec8c8d108b0f6ea1f19527
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
jjb/ci-AGL-verify/ci-platform-jjb.yaml
jjb/ci-management/ci-management.yaml

index 5f95948..ee287f5 100644 (file)
@@ -1,31 +1,32 @@
+---
 - project:
     name: ci-platform-AGL
     machine:
-        - porter-nogfx
-        - raspberrypi3
-        - intel-corei7-64
-        - dra7xx-evm
-        - qemux86-64
+      - porter-nogfx
+      - raspberrypi3
+      - intel-corei7-64
+      - dra7xx-evm
+      - qemux86-64
     project:
-        - meta-agl
-        - meta-agl-demo
-        - meta-agl-devel
-        - meta-agl-extra
-        - AGL-repo
-        - meta-renesas
+      - meta-agl
+      - meta-agl-demo
+      - meta-agl-devel
+      - meta-agl-extra
+      - AGL-repo
+      - meta-renesas
     jobs:
-        - ci-platform-{project}-verify
-#        - ci-platform-{project}-verify-CIB-start
-        - ci-platform-{project}-verify-CIB-{machine}
-        - ci-platform-{project}-verify-CIB-finish-success
-        - ci-platform-{project}-verify-failure
-#        - ci-platform-{project}-verify-CIBT-start
-        - ci-platform-{project}-verify-CIBT-{machine}
-        - ci-platform-{project}-verify-CIBT-finish-success
+      - ci-platform-{project}-verify
+      # - ci-platform-{project}-verify-CIB-start
+      - ci-platform-{project}-verify-CIB-{machine}
+      - ci-platform-{project}-verify-CIB-finish-success
+      - ci-platform-{project}-verify-failure
+      # - ci-platform-{project}-verify-CIBT-start
+      - ci-platform-{project}-verify-CIBT-{machine}
+      - ci-platform-{project}-verify-CIBT-finish-success
 
 #
 # -verify  = trigger from gerrit and control job
-################################################
+# ###############################################
 
 - job-template:
     name: 'ci-platform-{project}-verify'
@@ -61,8 +62,8 @@
 
     triggers:
       - gerrit-trigger-patch-submitted-manual-verified:
-            name: 'AGL/{project}'
-            branch: '**/**/**'
+          name: 'AGL/{project}'
+          branch: '**/**/**'
 
     wrappers:
       - agl-infra-wrappers:
     builders:
       - shell: |
           set
-          #export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,')
+          # export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,')
           ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 --label ci-image-build=0 --label ci-image-boot-test=0 -n NONE --message="CI-cycle\ started.\ URL:\ ${{BUILD_URL}}" || true
-#      - multijob:
-#          name: CIB-{project}-start
-#          condition: SUCCESSFUL
-#          projects:
-#            - name: 'ci-platform-{project}-verify-CIB-start'
-#              current-parameters: true
-#              abort-all-job: true
-#              kill-phase-on: FAILURE
+          # - multijob:
+          #     name: CIB-{project}-start
+          #     condition: SUCCESSFUL
+          #     projects:
+          #       - name: 'ci-platform-{project}-verify-CIB-start'
+          #         current-parameters: true
+          #         abort-all-job: true
+          #         kill-phase-on: FAILURE
       - multijob:
           name: CIB-{project}
           condition: SUCCESSFUL
               current-parameters: true
               abort-all-job: true
               kill-phase-on: FAILURE
-#      - multijob:
-#          name: 'CIBT-{project}-start'
-#          condition: SUCCESSFUL
-#          projects:
-#            - name: 'ci-platform-{project}-verify-CIBT-start'
-#              current-parameters: true
-#              abort-all-job: true
-#              kill-phase-on: FAILURE
+              # - multijob:
+              #     name: 'CIBT-{project}-start'
+              #     condition: SUCCESSFUL
+              #     projects:
+              #       - name: 'ci-platform-{project}-verify-CIBT-start'
+              #         current-parameters: true
+              #         abort-all-job: true
+              #         kill-phase-on: FAILURE
       - multijob:
           name: CIBT-{project}
           condition: SUCCESSFUL
 
 #
 # -verify-failure
-####################
+# ###################
 
 - job-template:
     name: 'ci-platform-{project}-verify-failure'
 
 #
 # CIB-{machine}
-###############
+# ##############
 
 - job-template:
     name: 'ci-platform-{project}-verify-CIB-{machine}'
 
     builders:
       - shell:
-            !include-raw-escape:
-                - ../common/include-agl-header.sh
-                - ../common/include-agl-repo.sh
-                - ../common/include-agl-select.sh
-                - ../common/include-agl-source-aglsetup.sh
-                - ../common/include-agl-auto-conf.sh
-                - ../common/include-agl-limit-parallelism.sh
-                - ../common/include-agl-local-conf-fstypes.sh
-                - ../common/include-agl-cat-auto-conf.sh
-                - ../common/include-agl-bitbake-image.sh
-                - ../common/include-agl-run-test-prepare.sh
-                - ../common/include-agl-run-test-rsync-changeid.sh
+          !include-raw-escape:
+          - ../common/include-agl-header.sh
+          - ../common/include-agl-repo.sh
+          - ../common/include-agl-select.sh
+          - ../common/include-agl-source-aglsetup.sh
+          - ../common/include-agl-auto-conf.sh
+          - ../common/include-agl-limit-parallelism.sh
+          - ../common/include-agl-local-conf-fstypes.sh
+          - ../common/include-agl-cat-auto-conf.sh
+          - ../common/include-agl-bitbake-image.sh
+          - ../common/include-agl-run-test-prepare.sh
+          - ../common/include-agl-run-test-rsync-changeid.sh
     publishers:
       - naginator:
           rerun-unstable-builds: true
 
 #
 # CIB-start
-############
+# ###########
 
 - job-template:
     name: 'ci-platform-{project}-verify-CIB-start'
     builders:
       - shell: |
           set
-          #export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,')
-          #ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 --label ci-image-build=0 --label ci-image-boot-test=0 -n NONE --message="CI-Image-Build\ started.\ URL:\ ${{BUILD_URL}}" || true
+          # export TRIGGERURL=$(echo ${{BUILD_URL}} | sed -e 's,-CIB-start.*,,')
+          # ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified=0 --label ci-image-build=0 --label ci-image-boot-test=0 -n NONE --message="CI-Image-Build\ started.\ URL:\ ${{BUILD_URL}}" || true
 
 #
 # CIB-finish-success
-####################
+# ###################
 
 - job-template:
     name: 'ci-platform-{project}-verify-CIB-finish-success'
           echo "#### CIB +1 #### Verified +1 ####"
           ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified +1 --label ci-image-build=+1 -n NONE --message="CI-Image-Build\ finished,\ CIB+1,\ Verified+1" || true
 
-
-
 #
 # CIBT-{machine} 'BOOT TEST'
-############################
+# ###########################
 
 - job-template:
     name: 'ci-platform-{project}-verify-CIBT-{machine}'
 
     builders:
       - shell:
-            !include-raw-escape:
-                - ../common/include-agl-header.sh
-                - ../common/include-agl-repo.sh
-                - ../common/include-agl-select.sh
-                - ../common/include-agl-run-test-prepare.sh
-                - ../common/include-agl-run-test-short.sh
+          !include-raw-escape:
+          - ../common/include-agl-header.sh
+          - ../common/include-agl-repo.sh
+          - ../common/include-agl-select.sh
+          - ../common/include-agl-run-test-prepare.sh
+          - ../common/include-agl-run-test-short.sh
 
     publishers:
       - naginator:
 
 #
 # CIBT-start
-################
+# ###############
 
 - job-template:
     name: 'ci-platform-{project}-verify-CIBT-start'
     builders:
       - shell: |
           echo "CIBT Started"
-          #set
-          #ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --label ci-image-boot-test=0 -n NONE --message='CI-Image-Boot-Test\ started' || true
+          # set
+          # ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --label ci-image-boot-test=0 -n NONE --message='CI-Image-Boot-Test\ started' || true
 
 
 #
 # CIBT-finish-success
-#####################
+# ####################
 
 - job-template:
     name: 'ci-platform-{project}-verify-CIBT-finish-success'
 
     builders:
       - shell: |
-          #set
+          # set
           echo "#### CIBT +1 ####"
           ssh -p 29418 agl-jobbuilder@gerrit.automotivelinux.org gerrit review ${{GERRIT_CHANGE_NUMBER}},${{GERRIT_PATCHSET_NUMBER}} --verified +1 --label ci-image-build=+1 --label ci-image-boot-test=+1 -n NONE --message='CI-Image-Boot-Test\ finished' || true
index ceb8df8..a519b75 100644 (file)
     wrappers:
       - ssh-agent-credentials:
           users:
-              - '{ssh-credentials}'
+            - '{ssh-credentials}'
 
     triggers:
-        - gerrit-trigger-patch-submitted:
-            name: '{project}'
-            branch: '{branch}'
+      - gerrit-trigger-patch-submitted:
+          name: '{project}'
+          branch: '{branch}'
 
     builders:
       - shell: |
@@ -70,8 +70,8 @@
 
     triggers:
       - gerrit-trigger-patch-merged:
-            name: '{project}'
-            branch: '{branch}'
+          name: '{project}'
+          branch: '{branch}'
 
     builders:
       - shell: