blob: 1dd005134b7a8cd2d46239c48478cb17a62537ec [file] [log] [blame]
Ann Taraday187bbaa2018-03-26 23:41:59 +04001parameters:
2 jenkins:
3 client:
4 plugin:
5 gerrit-trigger: {}
6 job:
7 platform_validation_pipeline:
8 type: workflow-scm
9 name: platform_validation_pipeline
10 display_name: "Validate OpenStack platform before deploy of 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_platform.groovy
19 param:
20 OPENSTACK_API_CREDENTIALS:
21 type: string
22 description: "OpenStack admin user credentials for running tests"
23 default: "${_param:vnf_openstack_api_credentials}"
24 OS_PROJECT_NAME:
25 type: string
26 description: "OpenStack project name for running tests"
27 default: "platform-test"
28 OS_AUTH_URL:
29 type: string
30 description: "OpenStack auth url"
31 default: "http://${_param:openstack_control_address}:35357/v3"
32 IMAGE_ID:
33 type: string
34 description: "Specify image id to execute tests against custom images"
35 default: ""
36 FLAVOR_ID:
37 type: string
38 description: "Specify flavor id to execute tests against custom images"
39 default: ""
40 MIN_COMPUTE_NODES:
41 type: string
42 description: "Specify number of compute nodes of environment"
43 default: '2'
44 FIXED_SHARED_NETWORK_NAME:
45 type: string
46 description: "Shared network that will be used in tests."
47 default: "test-shared"
48 COMPUTE_NODE_HOST_NAME:
49 type: string
50 description: "To run CPU pinning/NUMA topology tests against specific node"
51 default: ''
52 COMPUTE_AVAILABILITY_ZONE:
53 type: string
54 description: "To run CPU pinning/NUMA topology tests against specific node"
55 default: 'nova'
56 COMPUTE_NUMA_NODE_COUNT:
57 type: string
58 description: "Number of NUMA node for NUMA topology testing."
59 default: '2'
60 IMAGE_SSH_USER:
61 type: string
62 description: "Specify user name to login in test OpenStack VMs"
63 default: "cirros"
64 VNF_PLATFORM_TESTS_REPO:
65 type: string
66 description: "Repository with testing framework"
67 default: "${_param:jenkins_gerrit_url}vnf-onboarding/platform-tests"
68 VNF_PLATFORM_TESTS_BRANCH:
69 type: string
70 default: "master"
71 VNF_PLATFORM_TESTS_REPO_CREDENTIALS:
72 type: string
73 default: "${_param:vnf_gerrit_credentials}"
74 TEMPEST_IMAGE_DOCKER_REGISTRY_PATH:
75 type: string
76 description: "Path for docker image with testing tool. If empty, image will be build using VNF_PLATFORM_TESTS_* parameters."
77 default: ${_param:vnf_docker_registry_path}
78 TEMPEST_IMAGE_NAME:
79 type: string
80 description: "Name of docker image with testing tool"
81 default: "platform_tests:latest"
82 ELASTIC_URL:
83 type: string
84 description: "URL to elastic search API"
85 default: "${_param:vnf_elastic_url}"
86 ELASTIC_TRANSFER_REPO:
87 type: string
88 description: "Repository with scripts for transfering test results to elastic search"
89 default: "${_param:jenkins_gerrit_url}/vnf-onboarding/nfv-platform"
90 ELASTIC_TRANSFER_REPO_CREDENTIALS:
91 type: string
92 default: "${_param:vnf_gerrit_credentials}"
93 ELASTIC_TRANSFER_REPO_BRANCH:
94 type: string
95 default: "master"
96 DOCKER_TEMPEST_PARAMS:
97 type: string
98 description: "Pass custom parameters for tempest container"
99 default: ""