blob: 7caf52c74dd3278aef6651e8f334ccaffcdbcb9f [file] [log] [blame]
Elena Ezhova9885d762018-01-30 17:10:06 +04001parameters:
2 jenkins:
3 client:
4 plugin:
5 gerrit-trigger: {}
6 job:
7 test_avi_loadbalancer:
8 type: workflow-scm
9 name: test-avi-loadbalancer
10 display_name: "Onboarding tests for the AVI Loadbalancer VNF"
11 discard:
12 build:
13 keep_num: 20
14 scm:
15 type: git
16 url: "${_param:jenkins_gerrit_url}/vnf-onboarding/pipelines"
17 credentials: "${_param:vnf_gerrit_credentials}"
18 script: test_vnf_onboarding.groovy
19 trigger:
20 gerrit:
21 project:
22 "vnf-onboarding/avi-loadbalancer":
23 branches:
24 - compare_type: "ANT"
25 name: "**"
26 event:
27 patchset:
28 - created:
29 excludeDrafts: false
30 excludeTrivialRebase: false
31 excludeNoCodeChange: false
32 change:
33 - merged
34 comment:
35 - addedContains:
36 commentAddedCommentContains: '(retest|recheck|reverify)'
37 message:
38 build_successful: "Build successful"
39 build_unstable: "Build unstable"
40 build_failure: "Build failed"
41 param:
42 DEFAULT_GIT_URL:
43 type: string
44 default: "${_param:jenkins_gerrit_url}/vnf-onboarding/avi-loadbalancer"
45 DEFAULT_GIT_REF:
46 type: string
47 default: master
48 OPENSTACK_API_URL:
49 type: string
50 default: "${_param:vnf_openstack_api_url}"
51 OPENSTACK_API_CREDENTIALS:
52 type: string
53 default: "${_param:vnf_openstack_api_credentials}"
54 OPENSTACK_API_TENANT:
55 type: string
56 default: "test-avi"
57 GERRIT_CREDENTIALS:
58 type: string
59 default: "${_param:vnf_gerrit_credentials}"
60 ELASTIC_URL:
61 type: string
62 default: "${_param:vnf_elastic_url}"
63 DEBUG_OPTIONS:
64 type: string
65 description: "Example: skip_all=1 skip_deploy=1 skip_inspection=1"
66 NFV_PLATFORM_REPO:
67 type: string
68 description: "Take Cloudify blueprints, Dockerfile and CI scripts from this repo"
69 default: "${_param:jenkins_gerrit_url}/vnf-onboarding/nfv-platform"
70 NFV_PLATFORM_REPO_BRANCH:
71 type: string
72 default: "master"
73 NFV_PLATFORM_REPO_CREDENTIALS:
74 type: string
75 default: "${_param:vnf_gerrit_credentials}"
Ann Taradayc9938ad2018-03-30 01:46:13 +040076 CONTRAIL_ENABLED:
77 type: boolean
78 default: false
79 CONTRAIL_API_URL:
80 type: string
81 default: "${_param:contrail_api_url}"
Ann Taradayb69a9612018-04-17 00:26:17 +040082 SETUP_OWN_CLOUDIFY:
83 type: boolean
84 description: "Use temporary private Cloudify instance"
85 default: false
86 CLOUDIFY_MANAGER_IP:
Elena Ezhova9885d762018-01-30 17:10:06 +040087 type: string
Ann Taradayb69a9612018-04-17 00:26:17 +040088 description: "IP address of extrenal Cloudify. \"auto\" refers to address of deploy_cloudify job Cloudify instance"
89 default: "auto"
90 CFM_SSH_KEY_ID:
91 type: string
92 description: "Credentials ID of ssh key for connection to Cloudify"
93 default: "${_param:vnf_openstack_ssh_key_credentials}"
94 CFY_AGENT_NET:
95 type: string
96 description: "Network for Cloudify agents that has access to Cloudify Manager"
97 default: "cfm-net-shared"
98 CFY_AGENT_FLAVOR:
99 type: string
100 default: "cfy.agent"
101 CFY_AGENT_IMAGE:
102 type: string
103 default: "ubuntu-xenial"
Ann Taradayc9938ad2018-03-30 01:46:13 +0400104 VNF_ARTIFACTORY_URL:
105 type: string
106 default: "${_param:vnf_artifactory_url}"
107 VNF_ARTIFACTORY_PLUGINS_DIR:
108 type: string
109 default: "${_param:vnf_artifactory_url}/cloudify/plugins/"
110 VNF_DOCKER_REGISTRY_PATH:
111 type: string
112 default: "${_param:vnf_docker_registry_path}"
113 VNF_DOCKER_CLI_TAG:
114 type: string
115 default: "latest"
116 VNF_DOCKER_SCRUN_TAG:
117 type: string
118 default: "latest"
119 VNF_DOCKER_AVICFG_TAG:
120 type: string
121 default: "latest"
122 VNF_PLUGINS:
123 type: string
124 description: "Plugins to fetch from artifactory and install during build package step"
125 default: "vnf_onboarding_tools-0.1-py27-none-linux_x86_64_Ubuntu_xenial"
Elena Ezhova9885d762018-01-30 17:10:06 +0400126 VNF_OPTIONS:
127 type: string
128 default: "AVI_VERSION=17.2.3 AVI_USERNAME=admin AVI_PASSWORD=Swordfish1234 AVI_IMAGE_PASSWORD=58NFaGDJm(PJH0G AVI_OS_FLAVOR=avi_ctrl.small AVI_OS_IMAGE=avi-control-17.2.3"
Ann Taradayc9938ad2018-03-30 01:46:13 +0400129 VNF_DOCKER_CLI_PLATFORM:
130 type: string
131 default: "ubuntu"
Ann Taradayb69a9612018-04-17 00:26:17 +0400132 CLOUDIFY_DEPLOYMENT_TIMEOUT:
133 type: string
134 description: "Set up timeout for cloudify deployment (depends on each VNF specific and network throughput)."
135 default: 1800