blob: c38271cb02bd0bf6c41713b2788137ef145e632a [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
Anil Belur439502c2023-05-07 12:39:38 +100018- _nonrtric_plt_sme_common:
19 &nonrtric_plt_sme_common # values apply to all projects here
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020020 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
elinuxhenrik528e46e2022-10-31 10:55:14 +010033 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:
Anil Belur439502c2023-05-07 12:39:38 +100038 - "{project-name}-gerrit-release-jobs"
elinuxhenrik528e46e2022-10-31 10:55:14 +010039
40- project:
41 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020042 name: nonrtric-plt-sme-capifcore
Anil Belur439502c2023-05-07 12:39:38 +100043 project-name: "{name}"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020044 # image name
Anil Belur439502c2023-05-07 12:39:38 +100045 docker-name: "o-ran-sc/nonrtric-plt-capifcore"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020046 # get tag from YAML
47 container-tag-method: yaml-file
elinuxhenrikd8a4e1c2022-11-10 13:01:59 +010048 container-tag-yaml-dir: capifcore
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020049 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100050 docker-build-args: "--network=host"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020051 # Directory with Dockerfile
Anil Belur439502c2023-05-07 12:39:38 +100052 docker-root: "capifcore"
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020053 # Limit build trigger to appropriate files
54 gerrit_trigger_file_paths:
55 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100056 pattern: "capifcore/.*"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020057 # Directory where go test should be run
Anil Belur439502c2023-05-07 12:39:38 +100058 go-root: "capifcore"
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020059 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
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010067 - g-release:
68 branch: g-release
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020069
70- project:
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020071 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020072 name: nonrtric-plt-sme-capifcore-sonar
elinuxhenrikb08aee32022-10-27 10:01:31 +020073 # prescan script requires ubuntu
74 # golang is only on docker-enabled nodes
75 build-node: ubuntu1804-docker-4c-4g
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020076 gerrit_trigger_file_paths:
77 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100078 pattern: "capifcore/.*"
elinuxhenrikb08aee32022-10-27 10:01:31 +020079 sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh
elinuxhenrikdc9413c2022-10-24 17:02:26 +020080 sonar-project-file: ""
elinuxhenrikb08aee32022-10-27 10:01:31 +020081 java-version: openjdk11
82 # use sonarcloud values from defaults.yaml
Anil Belur4e0d56a2023-04-18 11:49:03 +100083 sonar-properties: !include-raw-escape: sonar-project.properties
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020084 jobs:
elinuxhenrikb08aee32022-10-27 10:01:31 +020085 - gerrit-sonar-prescan-script