1 ###################################
2 # job configuration for cperf
3 ###################################
8 #--------------------------------
10 #--------------------------------
17 #--------------------------------
18 # POD, INSTALLER, AND BRANCH MAPPING
19 #--------------------------------
21 #--------------------------------
23 #--------------------------------
28 #--------------------------------
34 - 'cperf-{installer}-{pod}-{testsuite}-{stream}'
36 ################################
38 ################################
40 name: 'cperf-{installer}-{pod}-{testsuite}-{stream}'
51 name: '$BUILD_NUMBER Suite: $CPERF_SUITE_NAME Scenario: $DEPLOY_SCENARIO'
60 - '{installer}-defaults'
62 testsuite: '{testsuite}'
63 gs-pathname: '{gs-pathname}'
64 docker-tag: '{docker-tag}'
68 credentials-id: '{ssh-credentials}'
73 - 'cperf-{testsuite}-builder'
75 ########################
77 ########################
82 name: CPERF_SUITE_NAME
83 default: '{testsuite}'
84 description: "Suite name to run"
87 default: '{gs-pathname}'
88 description: "Version directory where the opnfv documents will be stored in gs repository"
92 description: "Show debug output information"
95 default: '{docker-tag}'
96 description: 'Tag to pull docker image'
98 ########################
100 ########################
102 ########################
104 ########################
106 name: cperf-daily-builder
111 # TODO: need to figure out the logic to get ${CONTROLLER_IP} used below
112 docker pull opnfv/cperf:$DOCKER_TAG
113 robot_cmd="pybot -e exclude -v ODL_SYSTEM_IP:${CONTROLLER_IP} -v switch_count:100 -v loops:10 \
114 -v TOOLS_SYSTEM_IP:localhost -v duration_in_seconds:60"
115 robot_suite="/home/opnfv/repos/test/csit/suites/openflowplugin/Performance/010_Cbench.robot"
116 sudo docker run opnfv/cperf:$DOCKER_TAG ${robot_cmd} ${robot_suite}