Add ci validation script
[ci-management.git] / jjb / validation / lab.yaml
1 ---
2 #
3 # copyright (c) 2019 at&t intellectual property.
4 # copyright (c) 2019 enea
5 #
6 # licensed under the apache license, version 2.0 (the "license"); you may
7 # not use this file except in compliance with the license.
8 #
9 # you may obtain a copy of the license at
10 #       http://www.apache.org/licenses/license-2.0
11 #
12 # unless required by applicable law or agreed to in writing, software
13 # distributed under the license is distributed on an "as is" basis, without
14 # warranties or conditions of any kind, either express or implied.
15 # see the license for the specific language governing permissions and
16 # limitations under the license.
17 #
18 - project:
19     name: lab
20     project-name: validation
21     project: validation
22     build-node: '{build-node}'
23     stream:
24       - master:
25           branch: '{stream}'
26           gs-pathname: ''
27           disabled: false
28     validation_lab:
29       - enea
30     jobs:
31       - validation-{validation_lab}-daily-{stream}
32
33 ##############
34 # PARAMETERS #
35 ##############
36 - parameter:
37     name: 'lab_params'
38     parameters:
39       - string:
40           <<: *k8s_master_ip
41       - string:
42           <<: *k8s_ssh_user
43       - string:
44           <<: *k8s_ssh_password
45       - string:
46           <<: *k8s_ssh_key
47       - string:
48           <<: *blueprint_name
49       - string:
50           <<: *layer
51       - string:
52           <<: *version
53       - string:
54           <<: *optional
55
56 - job-template:
57     name: 'validation-{validation_lab}-daily-{stream}'
58     parameters:
59       - {'lab_params'}
60     builders:
61       - trigger-builds:
62           - project: 'bluval-daily-{stream}'
63             same-node: true
64             current-parameters: true