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