e87bbdb974f75df2956e52d02606b0e9c2f62d67
[ci-management.git] / nonrtric-plt-sme.yaml
1 ---
2 - project:
3     name: nonrtric-plt-sme-project-view
4     project-name: nonrtric-plt-sme
5     views:
6       - project-view
7
8 - project:
9     name: nonrtric-plt-sme-info
10     project: nonrtric/plt/sme
11     project-name: nonrtric-plt-sme
12     # maven settings file has docker credentials
13     build-node: centos7-builder-1c-1g
14     branch: master
15     jobs:
16       - gerrit-info-yaml-verify
17
18 - nonrtric_plt_sme_common: &nonrtric_plt_sme_common
19     # values apply to all projects here
20     name: nonrtric-plt-sme-common
21     # git repo
22     project: nonrtric/plt/sme
23     # jenkins job name prefix
24     project-name: nonrtric-plt-sme
25     # maven settings file has docker credentials
26     mvn-settings: nonrtric-plt-sme-settings
27     # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
28     java-version: openjdk11
29     mvn-version: mvn36
30
31 - project:
32     <<: *nonrtric_plt_sme_common
33     name: nonrtric-plt-sme-release
34     # maven release requires sigul which requires centos
35     # container release requires docker
36     build-node: centos7-docker-2c-8g
37     jobs:
38       - '{project-name}-gerrit-release-jobs'
39
40 - project:
41     <<: *nonrtric_plt_sme_common
42     name: nonrtric-plt-sme-capifcore
43     project-name: '{name}'
44     # image name
45     docker-name: 'o-ran-sc/nonrtric-plt-capifcore'
46     # get tag from YAML
47     container-tag-method: yaml-file
48     container-tag-yaml-dir: capifcore
49     # use host network to clone from our gerrit
50     docker-build-args: '--network=host'
51     # Directory with Dockerfile
52     docker-root: 'capifcore'
53     # Limit build trigger to appropriate files
54     gerrit_trigger_file_paths:
55       - compare-type: REG_EXP
56         pattern: 'capifcore/.*'
57     # Directory where go test should be run
58     go-root: 'capifcore'
59     build-node: ubuntu1804-docker-4c-4g
60     # Includes verify and merge jobs
61     jobs:
62       - "{project-name}-gerrit-docker-jobs"
63       - gerrit-go-verify
64     stream:
65       - master:
66           branch: master
67
68 - project:
69     <<: *nonrtric_plt_sme_common
70     name: nonrtric-plt-sme-capifcore-sonar
71     # prescan script requires ubuntu
72     # golang is only on docker-enabled nodes
73     build-node: ubuntu1804-docker-4c-4g
74     gerrit_trigger_file_paths:
75       - compare-type: REG_EXP
76         pattern: 'capifcore/.*'
77     sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh
78     sonar-project-file: ""
79     java-version: openjdk11
80     # use sonarcloud values from defaults.yaml
81     sonar-properties: !include-raw: sonar-project.properties
82     jobs:
83       - gerrit-sonar-prescan-script