6ed345ecce539904c31b99f5b3a1d49d6c703c39
[releng.git] / jjb / container4nfv / yardstick-arm64.yaml
1 ---
2 ###################################
3 # job configuration for yardstick
4 ###################################
5 - project:
6     name: yardstick-arm64
7
8     project: 'yardstick'
9
10     # -------------------------------
11     # BRANCH ANCHORS
12     # -------------------------------
13     master: &master
14       stream: master
15       branch: '{stream}'
16       gs-pathname: ''
17       docker-tag: 'latest'
18     fraser: &fraser
19       stream: fraser
20       branch: '{stream}'
21       gs-pathname: 'stable/{stream}'
22       docker-tag: 'stable'
23     # -------------------------------
24     # POD, INSTALLER, AND BRANCH MAPPING
25     # -------------------------------
26     #    Installers using labels
27     #            CI PODs
28     # This section should only contain the installers
29     # that have been switched using labels for slaves
30     # -------------------------------
31     pod:
32       # apex CI PODs
33       - arm-virtual03:
34           slave-label: arm-packet01
35           installer: compass
36           auto-trigger-name: 'daily-trigger-disabled'
37           <<: *master
38     # -------------------------------
39     testsuite:
40       - 'daily'
41
42     jobs:
43       - 'yardstick-arm64-{installer}-{pod}-{testsuite}-{stream}'
44
45 ################################
46 # job templates
47 ################################
48 - job-template:
49     name: 'yardstick-arm64-{installer}-{pod}-{testsuite}-{stream}'
50     disabled: false
51
52     concurrent: true
53
54     properties:
55       - logrotate-default
56       - throttle:
57           enabled: true
58           max-per-node: 1
59           option: 'project'
60
61     wrappers:
62       - build-name:
63           name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
64       - timeout:
65           timeout: 60
66           abort: true
67
68     triggers:
69       - '{auto-trigger-name}'
70
71     parameters:
72       - project-parameter:
73           project: '{project}'
74           branch: '{branch}'
75       - '{installer}-defaults'
76       - 'yardstick-params-{slave-label}'
77       - string:
78           name: DEPLOY_SCENARIO
79           default: 'k8-nosdn-lb-noha_daily'
80       - string:
81           name: DOCKER_TAG
82           default: '{docker-tag}'
83           description: 'Tag to pull docker image'
84       - string:
85           name: YARDSTICK_SCENARIO_SUITE_NAME
86           default: opnfv_${{DEPLOY_SCENARIO}}_{testsuite}.yaml
87           description: 'Path to test scenario suite'
88       - string:
89           name: CI_DEBUG
90           default: 'false'
91           description: "Show debut output information"
92       - string:
93           name: GIT_BASE
94           default: https://gerrit.opnfv.org/gerrit/$PROJECT
95           description: "Used for overriding the GIT URL coming from Global Jenkins configuration."
96
97     scm:
98       - git-scm
99
100     builders:
101       - description-setter:
102           description: "POD: $NODE_NAME"
103       - 'yardstick-arm64'
104
105     publishers:
106       - email:
107           recipients: trevor.tao@arm.com yibo.cai@arm.com
108       - email-jenkins-admins-on-failure
109
110 ########################
111 # builder macros
112 ########################
113 - builder:
114     name: yardstick-arm64
115     builders:
116       - shell:
117           !include-raw: arm64/yardstick-arm64.sh
118
119 ########################
120 # parameter macros
121 ########################
122
123
124 - parameter:
125     name: 'yardstick-params-arm-packet01'
126     parameters:
127       - string:
128           name: YARDSTICK_DB_BACKEND
129           default: '-i 104.197.68.199:8086'
130           description: 'Arguments to use in order to choose the backend DB'