blob: 54d82fc617adae875829e04db9fe79e26694916d [file] [log] [blame]
Anastasia Kuznetsovabf692cc2018-06-09 17:07:21 +04001parameters:
2 _param:
3 vnf_onboarding_avi_jobs: []
4 jenkins:
5 client:
6 plugin:
7 gerrit-trigger: {}
8 job-template:
9 test_avi_loadbalancer:
10 name: "test-avi-loadbalancer-{{edition}}"
11 template:
12 type: workflow-scm
13 display_name: "Onboarding tests for the AVI Loadbalancer VNF against CFY {{edition}} edition"
14 discard:
15 build:
16 keep_num: 20
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/vnf-onboarding/pipelines"
20 credentials: "${_param:vnf_gerrit_credentials}"
21 script: test_vnf_onboarding.groovy
22 trigger:
23 gerrit:
24 project:
25 "vnf-onboarding/avi-loadbalancer":
26 branches:
27 - compare_type: "ANT"
28 name: "**"
29 event:
30 patchset:
31 - created:
32 excludeDrafts: false
33 excludeTrivialRebase: false
34 excludeNoCodeChange: false
35 change:
36 - merged
37 comment:
38 - addedContains:
39 commentAddedCommentContains: '(retest|recheck|reverify)'
40 message:
41 build_successful: "Build successful"
42 build_unstable: "Build unstable"
43 build_failure: "Build failed"
44 param:
45 DEFAULT_GIT_URL:
46 type: string
47 default: "${_param:jenkins_gerrit_url}/vnf-onboarding/avi-loadbalancer"
48 DEFAULT_GIT_REF:
49 type: string
50 default: master
51 OPENSTACK_API_URL:
52 type: string
53 default: "${_param:vnf_openstack_api_url}"
54 OPENSTACK_API_CREDENTIALS:
55 type: string
56 default: "${_param:vnf_openstack_api_credentials}"
57 OPENSTACK_API_TENANT:
58 type: string
59 default: "test-avi"
60 GERRIT_CREDENTIALS:
61 type: string
62 default: "${_param:vnf_gerrit_credentials}"
63 ELASTIC_URL:
64 type: string
65 default: "${_param:vnf_elastic_url}"
66 DEBUG_OPTIONS:
67 type: string
68 description: "Example: skip_all=1 skip_deploy=1 skip_inspection=1"
69 NFV_PLATFORM_REPO:
70 type: string
71 description: "Take Cloudify blueprints, Dockerfile and CI scripts from this repo"
72 default: "${_param:jenkins_gerrit_url}/vnf-onboarding/nfv-platform"
73 NFV_PLATFORM_REPO_BRANCH:
74 type: string
75 default: "master"
76 NFV_PLATFORM_REPO_CREDENTIALS:
77 type: string
78 default: "${_param:vnf_gerrit_credentials}"
79 CONTRAIL_ENABLED:
80 type: boolean
81 default: false
82 CONTRAIL_API_URL:
83 type: string
84 default: "${_param:contrail_api_url}"
85 SETUP_OWN_CLOUDIFY:
86 type: boolean
87 description: "Use temporary private Cloudify instance"
88 default: false
89 CLOUDIFY_MANAGER_IP:
90 type: string
91 description: "IP address of extrenal Cloudify. \"auto\" refers to address of deploy_cloudify_enterprise job Cloudify instance"
92 default: "auto"
93 CLOUDIFY_MANAGER_OPTIONS:
94 type: string
95 description: "Parameters for cloudify manager VM. Can be skipped if cloudify predeployed."
96 default: "CFM_IMAGE={{cfy_image}} 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 "
97 CFM_SSH_KEY_ID:
98 type: string
99 description: "Credentials ID of ssh key for connection to Cloudify"
100 default: "${_param:vnf_openstack_ssh_key_credentials}"
101 CLOUDIFY_AGENT_OPTIONS:
102 type: string
103 description: "Parameters for cloudify agent VMs."
104 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"
105 CLOUDIFY_MANAGER_VERSION:
106 type: choice
107 choices:
108 - enterprise
109 - community
110 default: "{{edition}}"
111 description: "CFY edition version, make sure that it is consistent with CFY Manager image"
112 VNF_ARTIFACTORY_URL:
113 type: string
114 default: "${_param:vnf_artifactory_url}"
115 VNF_ARTIFACTORY_PLUGINS_DIR:
116 type: string
117 default: "${_param:vnf_artifactory_url}/cloudify/plugins/"
118 VNF_DOCKER_REGISTRY_PATH:
119 type: string
120 default: "${_param:vnf_docker_registry_path}"
121 VNF_DOCKER_CLI_TAG:
122 type: string
123 default: "latest"
124 VNF_DOCKER_SCRUN_TAG:
125 type: string
126 default: "latest"
127 VNF_DOCKER_AVICFG_TAG:
128 type: string
129 default: "latest"
130 VNF_PLUGINS:
131 type: string
132 description: "Plugins to fetch from artifactory and install during build package step"
133 default: "vnf_onboarding_tools-0.2-py27-none-linux_x86_64_CentOS_Core"
134 VNF_OPTIONS:
135 type: string
136 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"
137 VNF_DOCKER_CLI_PLATFORM:
138 type: string
139 default: "ubuntu"
140 VNF_DEPLOYMENT_TIMEOUT:
141 type: string
142 description: "Set up timeout for cloudify deployment (depends on each VNF specific and network throughput)."
143 default: 1800