# Copyright (c) 2019 Cisco and/or its affiliates. # Copyright (c) 2019 PANTHEON.tech s.r.o. 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: # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. --- - project: name: csit-perf description: 'CSIT Jenkins jobs.' jobs: - 'csit-vpp-perf-verify-{stream}-{node-arch}' - 'csit-vpp-perf-mrr-daily-master{node-arch}': node-arch: - '' - -2n-skx - -2n-dnv - -3n-skx - -3n-dnv - -3n-tsh: executor: 'ubuntu1804arm-us' - 'csit-vpp-perf-mrr-weekly-master-2n-skx' - 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}': node-arch: - 2n-skx - 3n-skx - 3n-hsw - 'csit-dpdk-perf-verify-{stream}-{node-arch}' - 'csit-dpdk-perf-mrr-weekly-master{node-arch}': node-arch: - '' - -2n-skx - -3n-skx - 'csit-ligato-perf-verify-{stream}-{node-arch}' project: 'csit' executor: 'ubuntu1804-us' ligato-executor: 'ubuntu1804-basebuild-4c-4g' branch: 'master' branch-id: 'oper' stream: - master: branch: 'master' branch-id: 'oper' executor: 'ubuntu1804-us' - '1807': branch: 'rls1807' branch-id: 'oper-rls1807' executor: 'ubuntu1604-basebuild-8c-32g' - '1810': branch: 'rls1810' branch-id: 'oper-rls1810' executor: 'ubuntu1604-basebuild-8c-32g' - '1901': branch: 'rls1901' branch-id: 'oper-rls1901' executor: 'ubuntu1604-basebuild-8c-32g' - '1904': branch: 'rls1904' branch-id: 'oper-rls1904' executor: 'ubuntu1804-us' build-artifact-num-to-keep: 10 node-arch: - 2n-skx - 2n-dnv - 3n-skx - 3n-hsw - 3n-dnv - 3n-tsh: executor: 'ubuntu1804arm-us' ligato-executor: 'ubuntu1804arm-us' - job-template: name: 'csit-vpp-perf-verify-{stream}-{node-arch}' description: | project-type: freestyle node: '{executor}' concurrent: true archive-artifacts: 'archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - gerrit-refspec-parameter - gerrit-event-type-parameter - gerrit-event-comment-text-parameter - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - gerrit: server-name: 'Primary' trigger-on: - comment-added-contains-event: comment-contains-value: 'csit-{node-arch}-perftest' projects: - project-compare-type: 'ANT' project-pattern: '{project}' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' skip-vote: successful: false failed: false unstable: false notbuilt: false builders: - shell: !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh publishers: - robot: output-path: archive other-files: - '*.*' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-vpp-perf-mrr-daily-master{node-arch}' description: | project-type: freestyle node: '{executor}' concurrent: false archive-artifacts: 'csit/archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - timed: '0 2,14 * * *' builders: - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop' - inject: properties-file: variables.prop - shell: !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh publishers: - robot: output-path: 'csit/archive' other-files: - '*.*' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-vpp-perf-mrr-weekly-master-2n-skx' description: | project-type: freestyle node: '{executor}' concurrent: false archive-artifacts: 'csit/archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - timed: '0 0 * * 6' builders: - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop' - inject: properties-file: variables.prop - shell: !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh publishers: - robot: output-path: 'csit/archive' other-files: - '*.*' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-vpp-perf-ndrpdr-weekly-master-{node-arch}' description: | project-type: freestyle node: '{executor}' concurrent: false archive-artifacts: 'csit/archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - timed: '0 0 * * 6' builders: - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop' - inject: properties-file: variables.prop - shell: !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh publishers: - robot: output-path: 'csit/archive' other-files: - '*.*' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-dpdk-perf-verify-{stream}-{node-arch}' description: | project-type: freestyle node: '{executor}' concurrent: true archive-artifacts: 'archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - gerrit: server-name: 'Primary' trigger-on: - comment-added-contains-event: comment-contains-value: 'csit-dpdk-{node-arch}-perftest' projects: - project-compare-type: 'ANT' project-pattern: '{project}' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' skip-vote: successful: false failed: false unstable: false notbuilt: false builders: - shell: !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh publishers: - robot: output-path: archive other-files: - '*.*' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-dpdk-perf-mrr-weekly-master{node-arch}' description: | project-type: freestyle node: '{executor}' concurrent: false archive-artifacts: 'csit/archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - timed: '0 0 * * 6' builders: - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop' - inject: properties-file: variables.prop - shell: !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh publishers: - robot: output-path: 'csit/archive' other-files: - '*.*' - fdio-infra-shiplogs: maven-version: 'mvn33-new' - job-template: name: 'csit-ligato-perf-verify-{stream}-{node-arch}' # yamllint disable rule:line-length description: | # yamllint enable rule:line-length project-type: freestyle # As the nomad executors are running docker containers we cannot run # ligato-perf job due to dependency on using docker inside. # TODO: Find the mechanics how to offload job logic from compiling docker # image so we can move this executor to ubuntu1804-us node: '{ligato-executor}' concurrent: true archive-artifacts: 'archive/*.*' latest-only: false build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - gerrit-refspec-parameter - gerrit-event-type-parameter - gerrit-event-comment-text-parameter - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' description: Artifacts to archive to the logs server. scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers-non-activity-timeout: build-timeout: '{build-timeout}' triggers: - gerrit: server-name: 'Primary' trigger-on: - comment-added-contains-event: comment-contains-value: 'csit-ligato-{node-arch}-perftest' projects: - project-compare-type: 'ANT' project-pattern: '{project}' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' skip-vote: successful: false failed: false unstable: false notbuilt: false builders: - shell: !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh publishers: - robot: output-path: archive other-files: - '*.*' - fdio-infra-shiplogs: maven-version: 'mvn33-new'