blob: 43586f77205a061f28e21e2d469a0688d0c32e0d [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"
Ann Kamyshnikova85798ea2018-05-04 17:01:39 +040090 CLOUDIFY_MANAGER_OPTIONS:
91 type: string
92 description: "Parameters for cloudify manager VM. Can be skipped if cloudify predeployed."
93 default: "CFM_IMAGE=cloudify-manager-4.3.1ga CFM_FLAVOR=cfy.mngr CFM_DISK_SIZE=80 CFM_SUBNET_CIDR=10.10.1.1/24 CFM_SUBNET_DNS=172.19.0.6 EXTERNAL_NET=public "
Ann Taradayb69a9612018-04-17 00:26:17 +040094 CFM_SSH_KEY_ID:
95 type: string
96 description: "Credentials ID of ssh key for connection to Cloudify"
97 default: "${_param:vnf_openstack_ssh_key_credentials}"
Ann Kamyshnikova85798ea2018-05-04 17:01:39 +040098 CLOUDIFY_AGENT_OPTIONS:
Ann Taradayb69a9612018-04-17 00:26:17 +040099 type: string
Ann Kamyshnikova85798ea2018-05-04 17:01:39 +0400100 description: "Parameters for cloudify agent VMs."
101 default: "CFY_AGENT_NET=cfm-net-shared CFY_AGENT_FLAVOR=cfy.agent CFY_AGENT_BACKEND_FLAVOR=backend.avi CFY_AGENT_IMAGE=agent_vm CFY_AGENT_BASE_IMAGE=base_agent_vm CFY_AGENT_BACKEND_IMAGE=base_backend_vm"
Ann Taradayc9938ad2018-03-30 01:46:13 +0400102 VNF_ARTIFACTORY_URL:
103 type: string
104 default: "${_param:vnf_artifactory_url}"
105 VNF_ARTIFACTORY_PLUGINS_DIR:
106 type: string
107 default: "${_param:vnf_artifactory_url}/cloudify/plugins/"
108 VNF_DOCKER_REGISTRY_PATH:
109 type: string
110 default: "${_param:vnf_docker_registry_path}"
111 VNF_DOCKER_CLI_TAG:
112 type: string
113 default: "latest"
114 VNF_DOCKER_SCRUN_TAG:
115 type: string
116 default: "latest"
117 VNF_DOCKER_AVICFG_TAG:
118 type: string
119 default: "latest"
120 VNF_PLUGINS:
121 type: string
122 description: "Plugins to fetch from artifactory and install during build package step"
123 default: "vnf_onboarding_tools-0.1-py27-none-linux_x86_64_Ubuntu_xenial"
Elena Ezhova9885d762018-01-30 17:10:06 +0400124 VNF_OPTIONS:
125 type: string
126 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 +0400127 VNF_DOCKER_CLI_PLATFORM:
128 type: string
129 default: "ubuntu"
Ann Taradayb69a9612018-04-17 00:26:17 +0400130 CLOUDIFY_DEPLOYMENT_TIMEOUT:
131 type: string
132 description: "Set up timeout for cloudify deployment (depends on each VNF specific and network throughput)."
133 default: 1800