Automation adds ric-app-ric-sdk-py.yaml
[ci-management.git] / jjb / ric-plt-e2mgr / ric-plt-e2mgr.yaml
1 ---
2 - project:
3     name: ric-plt-e2mgr-project-view
4     project-name: ric-plt-e2mgr
5     views:
6       - project-view
7
8 - project:
9     name: ric-plt-e2mgr-info
10     project: ric-plt/e2mgr
11     project-name: ric-plt-e2mgr
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - e2mgr_docker_common: &e2mgr_docker_common
17     # values apply to all E2MGR docker projects
18     name: e2mgr-docker-common
19     # git repo
20     project: ric-plt/e2mgr
21     # jenkins job name prefix
22     project-name: ric-plt-e2mgr
23     # maven settings file has docker credentials
24     mvn-settings: ric-plt-e2mgr-settings
25
26 - project:
27     <<: *e2mgr_docker_common
28     name: ric-plt-e2mgr
29     # image name
30     docker-name: 'o-ran-sc/{name}'
31     # Dockerfile is in a subdir
32     docker-root: E2Manager
33     # source of docker tag
34     container-tag-method: yaml-file
35     # use host network to clone from our gerrit
36     docker-build-args: '--network=host'
37     jobs:
38       - '{project-name}-gerrit-docker-jobs'
39     stream:
40       - master:
41           branch: master
42
43 - project:
44     <<: *e2mgr_docker_common
45     name: ric-plt-e2mgr-release
46     # maven release requires sigul which requires centos
47     # container release requires docker
48     build-node: centos7-docker-2c-8g
49     jobs:
50       - '{project-name}-gerrit-release-jobs'
51
52 - project:
53     name: ric-plt-e2mgr-sonar
54     project: ric-plt/e2mgr
55     project-name: ric-plt-e2mgr
56     # prescan script requires ubuntu
57     # golang is only on docker-enabled nodes
58     build-node: ubuntu1804-docker-4c-4g
59     sonar-prescan-script: !include-raw-escape: prescan-e2mgr-ubuntu.sh
60     sonar-project-file: ""
61     # use sonarcloud values from defaults.yaml
62     sonar-properties: |
63         # Required metadata
64         sonar.login={sonarcloud_api_token}
65         sonar.projectKey={sonarcloud_project_organization}_{project-name}
66         sonar.projectName={project-name}
67         sonar.organization={sonarcloud_project_organization}
68         # Encoding
69         sonar.build.sourceEncoding=UTF-8
70         # Language
71         sonar.language=go
72         # Source
73         sonar.sources=E2Manager
74         # Unit tests
75         sonar.go.coverage.reportPaths=E2Manager/coverage.txt
76         # Inclusions
77         sonar.inclusions=**/**.go
78         # Exclusions
79         sonar.exclusions=**/mocks/**.go,**/tests/**.go
80         # Test inclusions
81         sonar.test.inclusions=**/*_test.go
82     jobs:
83       - gerrit-sonar-prescan-script