blob: 83bd14739b477610ebc642a67c4af1b36298f087 [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
Anil Belur439502c2023-05-07 12:39:38 +10008- _nonrtric_plt_sme_common:
9 &nonrtric_plt_sme_common # values apply to all projects here
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020010 name: nonrtric-plt-sme-common
11 # git repo
12 project: nonrtric/plt/sme
13 # jenkins job name prefix
14 project-name: nonrtric-plt-sme
15 # maven settings file has docker credentials
16 mvn-settings: nonrtric-plt-sme-settings
17 # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
18 java-version: openjdk11
19 mvn-version: mvn36
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020020
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020021- project:
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020022 <<: *nonrtric_plt_sme_common
elinuxhenrik528e46e2022-10-31 10:55:14 +010023 name: nonrtric-plt-sme-release
24 # maven release requires sigul which requires centos
25 # container release requires docker
26 build-node: centos7-docker-2c-8g
27 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100028 - "{project-name}-gerrit-release-jobs"
elinuxhenrik528e46e2022-10-31 10:55:14 +010029
30- project:
31 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020032 name: nonrtric-plt-sme-capifcore
Anil Belur439502c2023-05-07 12:39:38 +100033 project-name: "{name}"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020034 # image name
Anil Belur439502c2023-05-07 12:39:38 +100035 docker-name: "o-ran-sc/nonrtric-plt-capifcore"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020036 # get tag from YAML
37 container-tag-method: yaml-file
elinuxhenrikd8a4e1c2022-11-10 13:01:59 +010038 container-tag-yaml-dir: capifcore
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020039 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100040 docker-build-args: "--network=host"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020041 # Directory with Dockerfile
Anil Belur439502c2023-05-07 12:39:38 +100042 docker-root: "capifcore"
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020043 # Limit build trigger to appropriate files
44 gerrit_trigger_file_paths:
45 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100046 pattern: "capifcore/.*"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020047 # Directory where go test should be run
Anil Belur439502c2023-05-07 12:39:38 +100048 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
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010057 - g-release:
58 branch: g-release
JohnKeeney9199e552023-06-15 00:23:21 +010059 - h-release:
60 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000061 - i-release:
62 branch: i-release
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020063
64- project:
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020065 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020066 name: nonrtric-plt-sme-capifcore-sonar
elinuxhenrikb08aee32022-10-27 10:01:31 +020067 # prescan script requires ubuntu
68 # golang is only on docker-enabled nodes
69 build-node: ubuntu1804-docker-4c-4g
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020070 gerrit_trigger_file_paths:
71 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100072 pattern: "capifcore/.*"
elinuxhenrikb08aee32022-10-27 10:01:31 +020073 sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh
elinuxhenrikdc9413c2022-10-24 17:02:26 +020074 sonar-project-file: ""
elinuxhenrikb08aee32022-10-27 10:01:31 +020075 java-version: openjdk11
76 # use sonarcloud values from defaults.yaml
Anil Belur4e0d56a2023-04-18 11:49:03 +100077 sonar-properties: !include-raw-escape: sonar-project.properties
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020078 jobs:
elinuxhenrikb08aee32022-10-27 10:01:31 +020079 - gerrit-sonar-prescan-script