36b7cfb84312ee75238d4bfb8661313b1e2b5e13
[ci-management.git] / jjb / iec / iec.yaml
1 ---
2 - project:
3     name: 'iec'
4     project-name: 'iec'
5     project: '{project-name}'
6     views:
7       - common-view:
8           view-name: iec
9           view-regex: '^{project-name}-(tox|type1|type2)-(verify|fuel|compass)-.*'
10     # -------------------------------
11     # BRANCH DEFINITIONS
12     # -------------------------------
13     stream:
14       - master:
15           branch: '{stream}'
16           gs-pathname: ''
17           disabled: false
18
19     # -------------------------------
20     # INSTALLER DEFINITIONS
21     # -------------------------------
22     installer:
23       - fuel
24       - compass
25
26     # -------------------------------
27     # OPERATING SYSTEM DEFINITIONS
28     # -------------------------------
29     os:
30       - ubuntu1604
31       - ubuntu1804
32       - centos7
33     #--------------------------------
34     # IEC TYPE DEFINITINONS
35     # type1 Mcbin embeded board
36     # type2 Arm Server
37     # -------------------------------
38     iecType:
39       - type1
40       - type2
41     # -------------------------------
42     # DEPLOY TYPE DEFINITIONS
43     # -------------------------------
44     deploy_type:
45       - baremetal:
46           slave-label: 'aarch64_baremetal_dev'
47           scenario: 'k8-calico-iec-noha'
48       - virtual:
49           slave-label: 'aarch64_dev'
50           scenario: 'k8-calico-iec-noha'
51
52     exclude:
53       # Compass does not run against baremetal PODs yet
54       - installer: compass
55         deploy_type: baremetal
56       - installer: compass
57         os: centos7
58       - installer: compass
59         os: ubuntu1804
60       - iecType: type1
61         installer: fuel
62       # Fuel baremetal provisioning only supports Ubuntu 18.04
63       - installer: fuel
64         deploy_type: baremetal
65         os: centos7
66       - installer: fuel
67         deploy_type: baremetal
68         os: ubuntu1604
69       # SEBA on virtual PODs should be excluded
70       - deploy_type: virtual
71         usecase: seba_on_arm
72
73     # -------------------------------
74     # USECASE DEFINITIONS
75     # -------------------------------
76     usecase:
77       - seba_on_arm
78
79     phase:
80       - install
81       - test
82
83     jobs:
84       - akraino-iec-install
85       - akraino-iec-deploy
86       - akraino-iec-destroy
87       - akraino-iec-phase-usecase
88       - gerrit-sonar:
89           sonar-project-file: ""
90           build-node: centos7-builder-2c-1g
91           sonar-properties: |
92             # Required metadata
93             sonar.projectKey=iec
94             sonar.projectName=iec
95             sonar.organization=akraino-edge-stack
96
97             #Source
98             sonar.sources=.
99             sonar.exclusions=**/*_test.go,**/vendor/**
100
101             # Language
102             sonar.language=go
103
104             # Encoding
105             sonar.build.sourceEncoding=UTF-8
106
107             # Inclusions
108             sonar.inclusions=**/**.go
109
110             # Test Execution
111             sonar.tests=.
112             sonar.test.inclusions=**/*_test.go
113             sonar.test.exclusions=**/vendor/**