-# Copyright (c) 2020 Cisco and/or its affiliates.
+# Copyright (c) 2021 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
- project:
name: csit-vpp-device
description: 'CSIT jenkins jobs.'
- os:
- - 'ubuntu1804'
node-arch:
- - '1n-skx'
+ - '1n-skx':
+ os: 'ubuntu2004'
+ executor-arch: 'x86_64'
+ make-parallel-jobs: '32'
+ skip-vote: 'false'
+ - '1n-tx2':
+ os: 'ubuntu2004'
+ executor-arch: 'aarch64'
+ make-parallel-jobs: '32'
+ skip-vote: 'true'
jobs:
- - 'csit-vpp-device-{stream}-{os}-{node-arch}'
- - 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly':
+ - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
+ - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly':
stream:
- master:
branch: 'master'
branch-id: 'oper'
- - '1908_2':
- branch: 'rls1908_2'
- branch-id: 'oper-rls1908_2'
- - '2009':
- branch: 'rls2009'
- branch-id: 'oper-rls2009'
- - 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly':
+ - '2009_lts':
+ branch: 'rls2009_lts'
+ branch-id: 'oper-rls2009_lts'
+ - '2101':
+ branch: 'rls2101'
+ branch-id: 'oper-rls2101'
+ - '2106':
+ branch: 'rls2106'
+ branch-id: 'oper-rls2106'
+ - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly':
stream:
- master:
branch: 'master'
branch-id: 'oper'
- - '1908_2':
- branch: 'rls1908_2'
- branch-id: 'oper-rls1908_2'
- - '2009':
- branch: 'rls2009'
- branch-id: 'oper-rls2009'
+ - '2009_lts':
+ branch: 'rls2009_lts'
+ branch-id: 'oper-rls2009_lts'
+ - '2101':
+ branch: 'rls2101'
+ branch-id: 'oper-rls2101'
+ - '2106':
+ branch: 'rls2106'
+ branch-id: 'oper-rls2106'
project: 'csit'
- executor: 'vpp-csit-device'
branch: 'master'
branch-id: 'oper'
- trigger: 'gerrit-trigger-csit-vpp-devicetest-full'
stream:
- master:
branch: 'master'
branch-id: 'oper'
- - '1908_2':
- branch: 'rls1908_2'
- branch-id: 'oper-rls1908_2'
- - '2005':
- branch: 'rls2005'
- branch-id: 'oper-rls2005'
- '2009':
branch: 'rls2009'
branch-id: 'oper-rls2009'
+ - '2009_lts':
+ branch: 'rls2009_lts'
+ branch-id: 'oper-rls2009_lts'
+ - '2101':
+ branch: 'rls2101'
+ branch-id: 'oper-rls2101'
+ - '2106':
+ branch: 'rls2106'
+ branch-id: 'oper-rls2106'
- job-template:
- name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
- description: |
- <ul>
- <li>objective
- <ul>
- <li>vpp-device verify - per csit gerrit patch
- </ul>
- <li>job
- <ul>
- <li>name: <b>csit-vpp-device-{stream}-{os}-{node-arch}</b>
- <li>trigger: keyword in comment to csit patch:
- <b>csit-devicetest tag_list</b>
- </ul>
- <li>executor
- <ul>
- <li>{executor}
- </ul>
- <li>test-cases selection
- <ul>
- <li>test-cases selected using trigger keyword followed by tags
- <li>all test-cases are labelled with CSIT RF topic tags
- defined in <i>csit/docs/tag_documentation.rst</i>
- </ul>
- <li>default tags for vpp-device test type
- <ul>
- <li>devicetest
- </ul>
- <li>results
- <ul>
- <li>jjb verify: PASS/FAIL
- <li>present: no
- <li>analyse: no
- </ul>
- </ul>
+ name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
project-type: freestyle
- node: '{executor}'
+ node: 'csit-builder-{os}-prod-{executor-arch}'
concurrent: true
archive-artifacts: 'archive/*.*'
latest-only: false
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
+ - make-parallel-jobs-parameter:
+ make-parallel-jobs: '{make-parallel-jobs}'
- os-parameter:
os: '{os}'
- gerrit-refspec-parameter
build-timeout: '{build-timeout}'
triggers:
- - '{trigger}':
+ - gerrit-trigger-csit-vpp-devicetest-full:
project: '{project}'
branch: '{branch}'
skip-vote: '{skip-vote}'
publishers:
- robot:
- output-path: archive
+ output-path: 'archives'
other-files:
- '*.*'
- - fdio-infra-shiplogs:
- maven-version: 'mvn33-new'
+ - fdio-infra-publish
- job-template:
- name: 'csit-vpp-device-{stream}-{os}-{node-arch}-semiweekly'
- description: |
- <ul>
- <li>objective
- <ul>
- <li>Validate latest vpp build from corresponding branch stored
- in nexus against verified CSIT codebase of corresponding
- branch.
- </ul>
- <li>executor
- <ul>
- <li>{executor}
- </ul>
- <li>test-cases selection
- <ul>
- <li>pre-selected test-cases
- <li>all test-cases are labelled with CSIT RF topic tags
- defined in <i>csit/docs/tag_documentation.rst</i>
- </ul>
- <li>default tags for vpp-device test type
- <ul>
- <li>devicetest
- </ul>
- <li>results
- <ul>
- <li>jjb verify: PASS/FAIL
- <li>present: no
- <li>analyse: no
- </ul>
- </ul>
+ name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
project-type: freestyle
- node: '{executor}'
+ node: 'csit-builder-{os}-prod-{executor-arch}'
concurrent: false
archive-artifacts: 'csit/archive/*.*'
latest-only: false
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
+ - make-parallel-jobs-parameter:
+ make-parallel-jobs: '{make-parallel-jobs}'
- os-parameter:
os: '{os}'
- string:
publishers:
- robot:
- output-path: 'csit/archive'
+ output-path: 'archives'
other-files:
- '*.*'
- - fdio-infra-shiplogs:
- maven-version: 'mvn33-new'
+ - fdio-infra-publish
- job-template:
- name: 'csit-vpp-device-{stream}-{os}-{node-arch}-weekly'
- description: |
- <ul>
- <li>objective
- <ul>
- <li>Validate CSIT code of corresponding branch against
- verified vpp build from corresponding branch.
- </ul>
- <li>executor
- <ul>
- <li>{executor}
- </ul>
- <li>test-cases selection
- <ul>
- <li>pre-selected test-cases
- <li>all test-cases are labelled with CSIT RF topic tags
- defined in <i>csit/docs/tag_documentation.rst</i>
- </ul>
- <li>default tags for vpp-device test type
- <ul>
- <li>devicetest
- </ul>
- <li>results
- <ul>
- <li>jjb verify: PASS/FAIL
- <li>present: no
- <li>analyse: no
- </ul>
- </ul>
+ name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
project-type: freestyle
- node: '{executor}'
+ node: 'csit-builder-{os}-prod-{executor-arch}'
concurrent: false
archive-artifacts: 'archive/*.*'
latest-only: false
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
+ - make-parallel-jobs-parameter:
+ make-parallel-jobs: '{make-parallel-jobs}'
- os-parameter:
os: '{os}'
- string:
publishers:
- robot:
- output-path: archive
+ output-path: 'archives'
other-files:
- '*.*'
- - fdio-infra-shiplogs:
- maven-version: 'mvn33-new'
+ - fdio-infra-publish