blob: 2bc206bf88a06c5ed6e1f51afd4042c25bc9f75e [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}"
Elena Ezhova9885d762018-01-30 17:10:06 +040082 CI_OPTIONS:
83 type: string
84 default: "CFY_AGENT_NET=cfm-net CFY_AGENT_FLAVOR=cfy.agent CFY_AGENT_IMAGE=ubuntu1 CFY_AGENT_USER=cfyuser CFY_SG=cfm-sg CFY_SSH_KEY_ID=openstack_key"
Ann Taradayc9938ad2018-03-30 01:46:13 +040085 VNF_ARTIFACTORY_URL:
86 type: string
87 default: "${_param:vnf_artifactory_url}"
88 VNF_ARTIFACTORY_PLUGINS_DIR:
89 type: string
90 default: "${_param:vnf_artifactory_url}/cloudify/plugins/"
91 VNF_DOCKER_REGISTRY_PATH:
92 type: string
93 default: "${_param:vnf_docker_registry_path}"
94 VNF_DOCKER_CLI_TAG:
95 type: string
96 default: "latest"
97 VNF_DOCKER_SCRUN_TAG:
98 type: string
99 default: "latest"
100 VNF_DOCKER_AVICFG_TAG:
101 type: string
102 default: "latest"
103 VNF_PLUGINS:
104 type: string
105 description: "Plugins to fetch from artifactory and install during build package step"
106 default: "vnf_onboarding_tools-0.1-py27-none-linux_x86_64_Ubuntu_xenial"
Elena Ezhova9885d762018-01-30 17:10:06 +0400107 VNF_OPTIONS:
108 type: string
109 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 +0400110 VNF_DOCKER_CLI_PLATFORM:
111 type: string
112 default: "ubuntu"