Merge "iec: fuel: Map new UNH baremetal POD to IEC xDFs"
[ci-management.git] / jjb / akraino-templates / 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 ########################
83 # publisher macros
84 ########################
85 - publisher:
86     name: 'iec-default-publisher'
87     publishers:
88       - email:
89           recipients: armband@enea.com
90       - lf-infra-publish
91
92 ########################
93 # trigger macros
94 ########################
95 # CI PODs
96 # ----------------------------------------------------------------
97 # Akraino IEC CI Baremetal Triggers running against master branch
98 # ----------------------------------------------------------------
99 - trigger:
100     name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
101     triggers:
102       - timed: '0 1 * * 1,3,5'
103 - trigger:
104     name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
105     triggers:
106       - timed: '0 13 * * *'
107 - trigger:
108     name: 'iec-type2-fuel-virtual-ubuntu1804-daily-master-trigger'
109     triggers:
110       - timed: '0 1 * * 2,6'
111 - trigger:
112     name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
113     triggers:
114       - timed: '0 1 * * *'
115 - trigger:
116     name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
117     triggers:
118       - timed: '0 1 * * 4,7'
119 - trigger:
120     name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
121     triggers:
122       - timed: '0 19 * * *'