4db8f3aae885105a6a55371cefc7d87e75a6f8d8
[ci-management.git] / akraino-iec-macros.yaml
1 ---
2 ##############
3 # PARAMETERS #
4 ##############
5 - parameter:
6     name: 'iec-defaults'
7     parameters:
8       - string:
9           name: INSTALLER_IP
10           default: '10.20.0.2'
11           description: 'IP of the installer'
12       - string:
13           name: SSH_KEY
14           default: '/var/lib/opnfv/mcp.rsa'
15           description: 'Path to private SSH key to access environment nodes'
16       - string:
17           name: EXTERNAL_NETWORK
18           default: 'floating_net'
19           description: 'external network for test'
20       - string:
21           name: CI_DEBUG
22           default: 'false'
23           description: 'Show debug output information'
24       - string:
25           name: ARCHIVE_ARTIFACTS
26           default: '**/*.log'
27           description: Artifacts to archive to the logs server.
28
29 # Usecase params are both installer and OS specific
30 - parameter: &k8s_fuel_ubuntu1604_parameter
31     name: 'fuel-ubuntu1604-defaults'
32     parameters:
33       - string: &k8s_master_ip
34           name: K8S_MASTER_IP
35           default: '172.16.10.36'
36           description: 'IP address to connect to the K8s master'
37       - string: &k8s_ssh_user
38           name: K8S_SSH_USER
39           default: 'ubuntu'
40           description: 'SSH username to connect to the K8s master '
41       - string: &k8s_ssh_password
42           name: K8S_SSH_PASSWORD
43           default: ''
44           description: 'SSH password to connect to the K8s master'
45       - string: &k8s_ssh_key
46           name: K8S_SSH_KEY
47           default: '/var/lib/opnfv/mcp.rsa'
48           description: 'SSH key to connect to the K8s master'
49
50 - parameter:
51     <<: *k8s_fuel_ubuntu1604_parameter
52     name: 'fuel-ubuntu1804-defaults'
53 - parameter:
54     name: 'fuel-centos7-defaults'
55     parameters:
56       - string:
57           <<: *k8s_master_ip
58       - string:
59           <<: *k8s_ssh_user
60           default: 'centos'
61       - string:
62           <<: *k8s_ssh_password
63       - string:
64           <<: *k8s_ssh_key
65
66 - parameter:
67     name: 'compass-ubuntu1604-defaults'
68     parameters:
69       - string:
70           <<: *k8s_master_ip
71           default: '10.1.0.50'
72       - string:
73           <<: *k8s_ssh_user
74           default: 'root'
75       - string:
76           <<: *k8s_ssh_password
77           default: 'root'
78       - string:
79           <<: *k8s_ssh_key
80           default: ''
81
82 # IEC usecase(s) parameters
83 - parameter:
84     name: 'seba_on_arm-defaults'
85     parameters:
86       - string:
87           name: PON_TYPE
88           default: 'ponsim'
89
90 ########################
91 # publisher macros
92 ########################
93 - publisher:
94     name: 'iec-default-publisher'
95     publishers:
96       - email:
97           recipients: armband@enea.com
98       - lf-infra-publish
99
100 - publisher:
101     name: 'iec-install-usecase-publisher'
102     publishers:
103       - iec-default-publisher
104
105 - publisher:
106     name: 'iec-test-usecase-publisher'
107     publishers:
108       - iec-default-publisher
109       - robot:
110           output-path: 'results'
111           report-html: '**/report.html'
112           log-html: '**/log.html'
113           output-xml: '**/output.xml'
114
115 ########################
116 # trigger macros
117 ########################
118 # CI PODs
119 # ----------------------------------------------------------------
120 # Akraino IEC CI Baremetal Triggers running against master branch
121 # ----------------------------------------------------------------
122 - trigger:
123     name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
124     triggers:
125       - timed: '0 1 * * 1,3,5'
126 - trigger:
127     name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
128     triggers:
129       - timed: '0 13 * * *'
130 - trigger:
131     name: 'iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger'
132     triggers:
133       - timed: '0 1 * * 2,6'
134 - trigger:
135     name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
136     triggers:
137       - timed: '0 1 * * *'
138 - trigger:
139     name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
140     triggers:
141       - timed: '0 1 * * 4,7'
142 - trigger:
143     name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
144     triggers:
145       - timed: '0 19 * * *'