CSIT: Unify path for robot plugin
[ci-management.git] / jjb / vpp / vpp.yaml
index 95d8882..e911264 100644 (file)
@@ -12,7 +12,7 @@
 #         TODO: see if there is a refspec that works without requiring
 #               use of get_gerrit_refspec and hand entering the result
 #               in the WebUI 'Build With Parameters' gerrit refspec field.
-#   - Use the following to import get_gerrit_refspec into a bash shell 
+#   - Use the following to import get_gerrit_refspec into a bash shell
 #         from the ci-management directory:
 #         $ eval "$(grep -A12 get_gerrit ./docker/scripts/lib_common.sh)"
 # [end] NOTES
@@ -21,7 +21,7 @@
 - project:
     name: vpp-checkstyle-x86_64
     jobs:
-      - 'vpp-checkstyle-verify-{stream}-{executor-arch}'
+      - 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
     project: 'vpp'
     stream:
       - master:
           branch: 'stable/1908'
           repo-stream-part: 'stable.1908'
           branch-head-refspec: ''
-      - '2001':
-          branch: 'stable/2001'
-          repo-stream-part: 'stable.2001'
-          branch-head-refspec: ''
       - '2005':
           branch: 'stable/2005'
           repo-stream-part: 'stable.2005'
           branch: 'stable/1908'
           repo-stream-part: 'stable.1908'
           branch-head-refspec: ''
-      - '2001':
-          branch: 'stable/2001'
-          repo-stream-part: 'stable.2001'
-          branch-head-refspec: ''
       - '2005':
           branch: 'stable/2005'
           repo-stream-part: 'stable.2005'
     os:
       - ubuntu1804:
           repo-os-part: 'ubuntu.bionic.main'
+    executor-arch: 'x86_64'
+# [end] VPP-X86_64 PROJECT
+
+# VPP-OS-EOL-X86_64 PROJECT
+- project:
+    name: vpp-os-eol-x86_64
+    jobs:
+      - 'vpp-verify-{stream}-{os}-{executor-arch}'
+      - 'vpp-merge-{stream}-{os}-{executor-arch}'
+    project: 'vpp'
+    make-parallel-jobs: '4'
+    stream:
+      - '1908':
+          branch: 'stable/1908'
+          repo-stream-part: 'stable.1908'
+          branch-head-refspec: ''
+      - '2005':
+          branch: 'stable/2005'
+          repo-stream-part: 'stable.2005'
+          branch-head-refspec: ''
+      - '2009':
+          branch: 'stable/2009'
+          repo-stream-part: 'stable.2009'
+          branch-head-refspec: ''
+    os:
       - centos7:
           repo-os-part: 'centos7'
     executor-arch: 'x86_64'
-# [end] VPP-X86_64 PROJECT
+# [end] VPP-OS-EOL-X86_64 PROJECT
 
 # VPP-OS-IN-2009-X86_64 PROJECT
 #
           repo-stream-part: 'stable.2009'
           branch-head-refspec: ''
     os:
+      - centos8:
+          repo-os-part: 'centos8'
+      - debian9:
+          repo-os-part: 'stretch'
+      - debian10:
+          repo-os-part: 'buster'
       - ubuntu2004:
           repo-os-part: 'ubuntu.focal.main'
     executor-arch: 'x86_64'
 # 'vpp-os-in-XXXX-x86_64' project. If no OSes are being
 # tested then this project should be commented out.
 #
-- project:
-    name: vpp-beta-x86_64
-    jobs:
-      - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
-          comment-trigger-value: 'vpp-beta-verify'
-      - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
-          comment-trigger-value: 'vpp-beta-merge'
-    project: 'vpp'
-    make-parallel-jobs: '4'
-    stream:
-      - master:
-          branch: 'master'
-          repo-stream-part: 'master'
-          branch-head-refspec: ''
-    os:
-      - centos8:
-          repo-os-part: 'centos8'
-      - debian9:
-          repo-os-part: 'stretch'
-      - debian10:
-          repo-os-part: 'buster'
-    executor-arch: x86_64
+#- project:
+#    name: vpp-beta-x86_64
+#    jobs:
+#      - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
+#          comment-trigger-value: 'vpp-beta-verify'
+#      - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
+#          comment-trigger-value: 'vpp-beta-merge'
+#    project: 'vpp'
+#    make-parallel-jobs: '4'
+#    stream:
+#      - master:
+#          branch: 'master'
+#          repo-stream-part: 'master'
+#          branch-head-refspec: ''
+#    os:
+#      - debian10:
+#          repo-os-part: 'buster'
+#    executor-arch: x86_64
 # [end] VPP-BETA-X86_64 PROJECT
 
 # VPP-GCC-X86_64 PROJECT
       - master:
           branch: 'master'
           repo-stream-part: 'master'
+          branch-head-refspec: ''
       - '2009':
           branch: 'stable/2009'
           repo-stream-part: 'stable.2009'
+          branch-head-refspec: ''
 # [end] VPP-GCC-X86_64 PROJECT
 
 # VPP-AARCH64 PROJECT
           branch: 'stable/1908'
           repo-stream-part: 'stable.1908'
           branch-head-refspec: ''
-      - '2001':
-          branch: 'stable/2001'
-          repo-stream-part: 'stable.2001'
-          branch-head-refspec: ''
       - '2005':
           branch: 'stable/2005'
           repo-stream-part: 'stable.2005'
     device-executor: 'vpp-csit-device'
     executor: '{os}-us'
     skip-vote: 'false'
-    trigger: 'gerrit-trigger-vpp-csit-devicetest-full'
     stream:
       - master:
           branch: 'master'
       - '1908':
           branch: 'stable/1908'
           repo-stream-part: 'stable.1908'
-      - '2001':
-          branch: 'stable/2001'
-          repo-stream-part: 'stable.2001'
       - '2005':
           branch: 'stable/2005'
           repo-stream-part: 'stable.2005'
       - 1n-skx
       - 1n-tx2:
           device-executor: 'vpp-csit-arm-ubuntu18'
-          trigger: 'gerrit-trigger-vpp-csit-devicetest-manual'
+          skip-vote: 'true'
     node-arch:
       - 2n-clx
       - 2n-skx
       - 3n-tsh:
           executor: 'ubuntu1804arm-s'
           make-parallel-jobs: '16'
+    exclude:
+      - stream: '1908'
+        device-node-arch: '1n-tx2'
+      - stream: '2001'
+        device-node-arch: '1n-tx2'
+      - stream: '2005'
+        device-node-arch: '1n-tx2'
+
 # [end] VPP-CSIT-PERPATCH PROJECT
 
 # VPP-CSIT-API-CRC PROJECT
 
 # VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
 - job-template:
-    name: 'vpp-checkstyle-verify-{stream}-{executor-arch}'
+    name: 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
 
     project-type: freestyle
     node: 'builder-{os}-prod-{executor-arch}'
             notbuilt: false
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/vpp/checkstyle.sh
           branch: '{branch}'
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh
           branch: '{branch}'
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh
               target: '/root'
       - shell:
           !include-raw-escape:
-          - ../scripts/vpp/checkstyle.sh
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh
           branch: '{branch}'
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh
           files:
             - file-id: 'packagecloud_api'
               target: '/root'
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/vpp/checkstyle.sh
           description: Artifacts to archive to the logs server.
       - make-parallel-jobs-parameter:
           make-parallel-jobs: '{make-parallel-jobs}'
-      - gerrit-refspec-parameter
+      - gerrit-refspec-parameter:
+          refspec: '{branch-head-refspec}'
 
     scm:
       - gerrit-trigger-scm:
           branch: '{branch}'
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh
           build-timeout: '90'
 
     triggers:
-      - '{trigger}':
+      - 'gerrit-trigger-vpp-csit-devicetest-full':
           name: '{project}'
           branch: '{branch}'
           skip-vote: '{skip-vote}'
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh
 
     publishers:
       - robot-report:
-          output-path: 'csit_current/'
+          output-path: 'archives'
 
       - fdio-infra-shiplogs:
           maven-version: 'mvn36'
           skip-vote: true
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh
           branch: '{branch}'
 
     builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
       - shell:
           !include-raw-escape:
           - ../scripts/setup_vpp_ubuntu_docker_test.sh