iec: Add jobs for testing usecases
[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
70     # -------------------------------
71     # USECASE DEFINITIONS
72     # -------------------------------
73     usecase:
74       - seba_on_arm
75
76     phase:
77       - install
78       - test
79
80     jobs:
81       - akraino-iec-install
82       - akraino-iec-deploy
83       - akraino-iec-destroy
84       - akraino-iec-phase-usecase
85       - gerrit-sonar:
86           sonar-project-file: ""
87           build-node: centos7-builder-2c-1g
88           sonar-properties: |
89             # Required metadata
90             sonar.projectKey=iec
91             sonar.projectName=iec
92             sonar.organization=akraino-edge-stack
93
94             #Source
95             sonar.sources=.
96             sonar.exclusions=**/*_test.go,**/vendor/**
97
98             # Language
99             sonar.language=go
100
101             # Encoding
102             sonar.build.sourceEncoding=UTF-8
103
104             # Inclusions
105             sonar.inclusions=**/**.go
106
107             # Test Execution
108             sonar.tests=.
109             sonar.test.inclusions=**/*_test.go
110             sonar.test.exclusions=**/vendor/**