blob: 12d9c598b343498524979b7c0910f6450fd46630 [file] [log] [blame]
lf-jobbuilder2a64d212022-10-13 14:23:06 +00001---
2- project:
3 name: nonrtric-plt-sme-project-view
4 project-name: nonrtric-plt-sme
5 views:
6 - project-view
7
elinuxhenrik45ad6fa2022-10-25 13:33:54 +02008- project:
lf-jobbuilder2a64d212022-10-13 14:23:06 +00009 name: nonrtric-plt-sme-info
10 project: nonrtric/plt/sme
11 project-name: nonrtric-plt-sme
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020012 # maven settings file has docker credentials
lf-jobbuilder2a64d212022-10-13 14:23:06 +000013 build-node: centos7-builder-1c-1g
14 branch: master
15 jobs:
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020016 - gerrit-info-yaml-verify
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020017
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020018- 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
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020030
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020031- project:
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020032 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020033 name: nonrtric-plt-sme-capifcore
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020034 project-name: '{name}'
35 # image name
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020036 docker-name: 'o-ran-sc/nonrtric-plt-capifcore'
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020037 # get tag from YAML
38 container-tag-method: yaml-file
39 # use host network to clone from our gerrit
40 docker-build-args: '--network=host'
41 # Directory with Dockerfile
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020042 docker-root: 'capifcore'
43 # Limit build trigger to appropriate files
44 gerrit_trigger_file_paths:
45 - compare-type: REG_EXP
46 pattern: 'capifcore/.*'
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020047 # Directory where go test should be run
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020048 go-root: 'capifcore'
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020049 build-node: ubuntu1804-docker-4c-4g
50 # Includes verify and merge jobs
51 jobs:
52 - "{project-name}-gerrit-docker-jobs"
53 - gerrit-go-verify
54 stream:
55 - master:
56 branch: master
57
58- project:
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020059 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020060 name: nonrtric-plt-sme-capifcore-sonar
elinuxhenrikb08aee32022-10-27 10:01:31 +020061 # prescan script requires ubuntu
62 # golang is only on docker-enabled nodes
63 build-node: ubuntu1804-docker-4c-4g
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020064 gerrit_trigger_file_paths:
65 - compare-type: REG_EXP
66 pattern: 'capifcore/.*'
elinuxhenrikb08aee32022-10-27 10:01:31 +020067 sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh
elinuxhenrikdc9413c2022-10-24 17:02:26 +020068 sonar-project-file: ""
elinuxhenrikb08aee32022-10-27 10:01:31 +020069 java-version: openjdk11
70 # use sonarcloud values from defaults.yaml
71 sonar-properties: !include-raw: sonar-project.properties
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020072 jobs:
elinuxhenrikb08aee32022-10-27 10:01:31 +020073 - gerrit-sonar-prescan-script