Merge "Move iec jenkins job in jjb/akraino-templates"
[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_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
63     # -------------------------------
64     # USECASE DEFINITIONS
65     # -------------------------------
66     usecase:
67       - seba_on_arm:
68           slave-label: 'aarch64_dev'
69           scenario: 'k8-calico-iec-noha'
70
71     jobs:
72       - akraino-iec-install
73       - akraino-iec-deploy
74       - akraino-iec-destroy
75       - akraino-iec-install-usecase
76       - gerrit-sonar:
77           sonar-project-file: ""
78           build-node: centos7-builder-2c-1g
79           sonar-properties: |
80             # Required metadata
81             sonar.projectKey=iec
82             sonar.projectName=iec
83             sonar.organization=akraino-edge-stack
84
85             #Source
86             sonar.sources=.
87             sonar.exclusions=**/*_test.go,**/vendor/**
88
89             # Language
90             sonar.language=go
91
92             # Encoding
93             sonar.build.sourceEncoding=UTF-8
94
95             # Inclusions
96             sonar.inclusions=**/**.go
97
98             # Test Execution
99             sonar.tests=.
100             sonar.test.inclusions=**/*_test.go
101             sonar.test.exclusions=**/vendor/**