hst: Add HST jobs on ubuntu 2204 & 2404 for x86_64 & aarch64 75/42475/3
authorNaveen Joy <[email protected]>
Thu, 13 Mar 2025 02:19:16 +0000 (19:19 -0700)
committerNaveen Joy <[email protected]>
Fri, 4 Apr 2025 21:31:18 +0000 (14:31 -0700)
New jobs added:
- vpp-verify-hst-debug-nonvoting-master-ubuntu2204-aarch64
- vpp-verify-hst-debug-nonvoting-master-ubuntu2404-x86_64
- vpp-verify-hst-nonvoting-master-ubuntu2204-x86_64

Change-Id: I481de9e1ce5b42d70667e74d432b112b84238125
Signed-off-by: Naveen Joy <[email protected]>
jjb/vpp/vpp.yaml

index af3ae51..1910962 100644 (file)
 
 # [end] VPP-CHECKSTYLE-X86_64 PROJECT
 
+# TODO: Change job to voting once put into production
 # VPP-HST-X86_64 PROJECT
-- project:
-#     name: vpp-verify-hst-x86_64
-    jobs:
-#       - 'vpp-verify-hst-{stream}-{os}-{executor-arch}'
-    project: 'vpp'
-    os:
-      - ubuntu2204
-    stream:
-      - 'master':
-          branch: 'master'
-          branch-refspec: ''
-    executor-arch: 'x86_64'
+- project:
+    name: vpp-verify-hst-nonvoting-x86_64
+    jobs:
+      - 'vpp-verify-hst-nonvoting-{stream}-{os}-{executor-arch}'
+    project: 'vpp'
+    os:
+      - ubuntu2204
+    stream:
+      - 'master':
+          branch: 'master'
+          branch-refspec: ''
+    executor-arch: 'x86_64'
 
 # [end] VPP-HST-X86_64 PROJECT
 
@@ -79,6 +80,8 @@
     project: 'vpp'
     os:
       - ubuntu2204
+      # TODO: Uncomment when ubuntu2404 is put into production
+      # - ubuntu2404
     stream:
       - 'master':
           # TODO: Remove when ubuntu2404 is put into production
 
 # [end] VPP-HST-DEBUG-X86_64 PROJECT
 
+# TODO: Remove when ubuntu2404 is put into production
+# VPP-HST-DEBUG-X86_64 PROJECT
+- project:
+    name: vpp-verify-hst-debug-nonvoting-x86_64
+    jobs:
+      - 'vpp-verify-hst-debug-nonvoting-{stream}-{os}-{executor-arch}'
+    project: 'vpp'
+    os:
+      - ubuntu2404
+    stream:
+      - 'master':
+          branch: 'master'
+          branch-refspec: ''
+    executor-arch: 'x86_64'
+
+# [end] VPP-HST-DEBUG-X86_64 PROJECT
+
+# TODO: Remove nonvoting from project name & jobs when aarch64 is put into production
+# VPP-HST-DEBUG-AARCH64 PROJECT
+- project:
+    name: vpp-verify-hst-debug-nonvoting-aarch64
+    jobs:
+      - 'vpp-verify-hst-debug-nonvoting-{stream}-{os}-{executor-arch}'
+    project: 'vpp'
+    os:
+      - ubuntu2204
+    stream:
+      - 'master':
+          branch: 'master'
+          branch-refspec: ''
+    executor-arch: 'aarch64'
+
+# [end] VPP-HST-DEBUG-AARCH64 PROJECT
+
 # VPP-X86_64 PROJECT
 #
 # NOTE: The list of supported branches for each OS are maintained
 
 # VPP-VERIFY-HST JOB TEMPLATE
 - job-template:
-    name: 'vpp-verify-hst-{stream}-{os}-{executor-arch}'
+    name: 'vpp-verify-hst-nonvoting-{stream}-{os}-{executor-arch}'
 
     project-type: freestyle
     node: 'hst-{os}-prod-{executor-arch}'
           build-timeout: 120
 
     triggers:
-      - gerrit-trigger-checkstyle:
+      - gerrit-trigger-checkstyle-nonvoting:
           name: '{project}'
           branch: '{branch}'
 
       - fdio-infra-publish
 # [end] VPP-VERIFY-HST-DEBUG JOB TEMPLATE
 
+# TODO: Remove when ubuntu2404 & aarch64 is put into production
+# VPP-VERIFY-HST-DEBUG JOB TEMPLATE
+- job-template:
+    name: 'vpp-verify-hst-debug-nonvoting-{stream}-{os}-{executor-arch}'
+
+    project-type: freestyle
+    node: 'hst-{os}-prod-{executor-arch}'
+    concurrent: true
+
+    properties:
+      - lf-infra-properties:
+          build-days-to-keep: "{build-days-to-keep}"
+
+    # Please keep parameters in alphabetical order
+    parameters:
+      - gerrit-parameter:
+          branch: '{branch}'
+      - gerrit-refspec-parameter:
+          refspec: '{branch-refspec}'
+      - os-parameter:
+          os: '{os}'
+      - project-parameter:
+          project: '{project}'
+      - stream-parameter:
+          stream: '{stream}'
+
+    scm:
+      - gerrit-trigger-scm:
+          credentials-id: 'jenkins-gerrit-credentials'
+          refspec: '$GERRIT_REFSPEC'
+          choosing-strategy: 'gerrit'
+
+    wrappers:
+      - fdio-infra-wrappers:
+          build-timeout: 120
+
+    triggers:
+      - gerrit-trigger-checkstyle-nonvoting:
+          name: '{project}'
+          branch: '{branch}'
+
+    builders:
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_executor_env.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_vpp_ubuntu_docker_test.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/setup_vpp_ext_deps.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/vpp/debug-hst.sh
+
+    publishers:
+      - fdio-infra-publish
+# [end] VPP-VERIFY-HST-DEBUG JOB TEMPLATE
+
+
 # VPP-VERIFY JOB TEMPLATE
 - job-template:
     name: 'vpp-verify-{stream}-{os}-{executor-arch}'