Revert "CI: Rename global-settings to mvn-glob..."
[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}-(sonar|(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       - ubuntu1804
31       - centos7
32     #--------------------------------
33     # IEC TYPE DEFINITINONS
34     # type1 Mcbin embeded board
35     # type2 Arm Server
36     # -------------------------------
37     iecType:
38       - type1
39       - type2
40     # -------------------------------
41     # DEPLOY TYPE DEFINITIONS
42     # -------------------------------
43     deploy_type:
44       - baremetal:
45           slave_label: 'aarch64_baremetal_dev'
46           scenario: 'k8-calico-iec-noha'
47       - virtual:
48           slave_label: 'aarch64_dev'
49           scenario: 'k8-calico-iec-noha'
50
51     exclude:
52       # Compass does not run against baremetal PODs yet
53       - installer: compass
54         deploy_type: baremetal
55       - installer: compass
56         os: centos7
57       - installer: compass
58         os: ubuntu1804
59       - iecType: type1
60         installer: fuel
61       # Fuel baremetal provisioning only supports Ubuntu 18.04
62       - installer: fuel
63         deploy_type: baremetal
64         os: centos7
65       - installer: fuel
66         deploy_type: baremetal
67         os: ubuntu1804
68       # SEBA on virtual PODs should be excluded
69       - deploy_type: virtual
70         usecase: seba_on_arm
71
72     # -------------------------------
73     # USECASE DEFINITIONS
74     # -------------------------------
75     usecase:
76       - seba_on_arm
77
78     phase:
79       - install
80       - test
81
82     jobs:
83       # - akraino-iec-install
84       # - akraino-iec-deploy
85       # - akraino-iec-destroy
86       # - akraino-usecase-phase-iec
87       - gerrit-sonar:
88           sonar-project-file: ""
89           build-node: centos7-builder-2c-1g
90           submodule-recursive: false
91           submodule-disable: true
92           sonar-properties: |
93             # Required metadata
94             sonar.projectKey=iec
95             sonar.projectName=iec
96             sonar.organization=akraino-edge-stack
97
98             #Source
99             sonar.sources=.
100             sonar.exclusions=**/*_test.go,**/vendor/**
101
102             # Language
103             sonar.language=go
104
105             # Encoding
106             sonar.build.sourceEncoding=UTF-8
107
108             # Inclusions
109             sonar.inclusions=**/**.go
110
111             # Test Execution
112             sonar.tests=.
113             sonar.test.inclusions=**/*_test.go
114             sonar.test.exclusions=**/vendor/**