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