blob: 06b0dd09b021f9304f354ee9764e54dc2627b703 [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
30 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
31 sonarcloud-project-name: '{project-name}'
32 sonarcloud-project-organization: '{sonarcloud_project_organization}'
33
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020034- project:
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020035 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020036 name: nonrtric-plt-sme-capifcore
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020037 project-name: '{name}'
38 # image name
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020039 docker-name: 'o-ran-sc/nonrtric-plt-capifcore'
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020040 # get tag from YAML
41 container-tag-method: yaml-file
42 # use host network to clone from our gerrit
43 docker-build-args: '--network=host'
44 # Directory with Dockerfile
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020045 docker-root: 'capifcore'
46 # Limit build trigger to appropriate files
47 gerrit_trigger_file_paths:
48 - compare-type: REG_EXP
49 pattern: 'capifcore/.*'
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020050 # Directory where go test should be run
elinuxhenrik7e8d25d2022-10-20 13:06:19 +020051 go-root: 'capifcore'
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020052 build-node: ubuntu1804-docker-4c-4g
53 # Includes verify and merge jobs
54 jobs:
55 - "{project-name}-gerrit-docker-jobs"
56 - gerrit-go-verify
57 stream:
58 - master:
59 branch: master
60
61- project:
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020062 <<: *nonrtric_plt_sme_common
elinuxhenrikec5058e2022-10-21 15:07:51 +020063 name: nonrtric-plt-sme-capifcore-sonar
elinuxhenrik45ad6fa2022-10-25 13:33:54 +020064 gerrit_trigger_file_paths:
65 - compare-type: REG_EXP
66 pattern: 'capifcore/.*'
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020067 build-node: ubuntu1804-docker-4c-4g
elinuxhenrikdc9413c2022-10-24 17:02:26 +020068 sonarcloud: true
69 sonar-project-file: ""
elinuxhenrikcdc5ce12022-10-19 09:06:58 +020070 jobs:
elinuxhenrikdc9413c2022-10-24 17:02:26 +020071 - gerrit-cli-sonar