add ccsdk-sli-northbound
[infra/cicd.git] / jjb / onap-offline / build_jobs / jjb / 1_build_stack_creation.yaml
1 - job:
2     name: '1.1_onap_offline_build_stack_creation'
3     description: 'This job creates a stack consisting of an instance and a volume attached to this instance to accommodate storage of the downloaded files and the created tar files'
4     node: onap-offline-ubuntu1804
5     parameters:
6       - string:
7           name: 'heat_environment'
8           default: 'onap_offline_heat.env'
9           description: 'Name of the heat environment file'
10       - string:
11           name: 'heat_template'
12           default: 'onap_offline_heat.tmpl'
13           description: 'Name of the heat template file'
14       - string:
15           name: 'remote_user'
16           default: 'centos'
17           description: 'User on target nodes'
18       - string:
19           name: 'openstack_build_stack_name'
20           default: 'onap_offline_auto_build'
21           description: 'Name of ONAP Offline build stack'
22       - string:
23           name: 'openstack_image'
24           default: 'est-centos7-1901'
25           description: 'Openstack Image name for Offline Build VM'
26       - string:
27           name: 'openstack_flavor'
28           default: '16C-32GB-500GB'
29           description: 'Openstack Flavor name for Offline Build VM'
30       - string:
31           name: 'openstack_network'
32           default: 'network.onap-offline'
33           description: 'Openstack Network name'
34       - string:
35           name: 'openstack_security_group'
36           default: 'sg.onap-offline'
37           description: 'Openstack Security Group'
38       - string:
39           name: 'openstack_ssh_key'
40           default: 'nordix-onap-offline-install'
41           description: 'Openstack SSH Key'
42       - string:
43           name: 'openstack_net_id'
44           default: 'network.onap-offline'
45           description: 'Openstack Network ID'
46       - string:
47           name: 'openstack_net_subnet'
48           default: 'network.onap-offline-subnet-ipv4'
49           description: 'Openstack SubNetwork ID'
50       - string:
51           name: 'openstack_volume'
52           default: 'onap_offline_build_volume'
53           description: 'Openstack Volume name'
54       - string:
55           name: 'openstack_volume_size'
56           default: '400'
57           description: 'Openstack Volume size (GB)'
58       - string:
59           name: 'offline_install_git_repo'
60           default: ''
61           description: 'Location of Offline Install script gerrit repository'
62       - string:
63           name: 'ssh_timeout'
64           default: '60'
65           description: 'SSH Timeout in seconds'
66     builders:
67       - shell:
68           !include-raw: ../scripts/1_build_stack_creation_1.sh
69       - shell:
70           !include-raw: ../scripts/1_build_stack_creation_2.sh
71       - shell:
72           !include-raw: ../scripts/1_build_stack_creation_3.sh
73       - build-name-setter:
74           template: '#${BUILD_NUMBER}'
75           macro: true
76     wrappers:
77       - timestamps
78       - credentials-binding:
79           - file:
80               credential-id: 'est-jenkins-openrcfile-city-frankfurt-onap'
81               variable: OPENRC_FILE