blob: bb4f0f2e25ab66bd8cc829d25ddf56b4f4e4001a [file] [log] [blame]
LF Jenkins CIe31c7e62022-02-02 19:27:08 +00001---
2- project:
3 name: nonrtric-rapp-ransliceassurance-project-view
4 project-name: nonrtric-rapp-ransliceassurance
5 views:
6 - project-view
7
Anil Belur4e0d56a2023-04-18 11:49:03 +10008- _ransliceassurance_common: &ransliceassurance_common
ychacon64026962022-02-18 09:51:37 +01009 name: ransliceassurance-common
10 # git repo
11 project: nonrtric/rapp/ransliceassurance
12 # jenkins job name prefix
13 project-name: nonrtric-rapp-ransliceassurance
14 # maven settings file has docker credentials
15 mvn-settings: nonrtric-rapp-ransliceassurance-settings
16
17- project:
18 <<: *ransliceassurance_common
19 name: nonrtric-rapp-ransliceassurance-release
20 # maven release requires sigul which requires centos
21 # container release requires docker
22 build-node: centos7-docker-2c-8g
23 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100024 - "{project-name}-gerrit-release-jobs"
ychacon64026962022-02-18 09:51:37 +010025
26- project:
27 <<: *ransliceassurance_common
28 name: nonrtric-rapp-ransliceassurance
Anil Belur439502c2023-05-07 12:39:38 +100029 project-name: "{name}"
ychacon64026962022-02-18 09:51:37 +010030 # image name
Anil Belur439502c2023-05-07 12:39:38 +100031 docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance"
ychacon64026962022-02-18 09:51:37 +010032 # get tag from YAML
33 container-tag-method: yaml-file
34 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100035 docker-build-args: "--network=host"
ychacon64026962022-02-18 09:51:37 +010036 # Directory with Dockerfile
Anil Belur439502c2023-05-07 12:39:38 +100037 docker-root: "smoversion"
ychacon64026962022-02-18 09:51:37 +010038 # Directory where go test should be run
Anil Belur439502c2023-05-07 12:39:38 +100039 go-root: "smoversion"
ychacon64026962022-02-18 09:51:37 +010040 build-node: ubuntu1804-docker-4c-4g
41 # Includes verify and merge jobs
42 jobs:
43 - "{project-name}-gerrit-docker-jobs"
44 - gerrit-go-verify
45 stream:
46 - master:
47 branch: master
elinuxhenrik0778b2c2022-06-29 08:25:57 +020048 - f-release:
49 branch: f-release
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010050 - g-release:
51 branch: g-release
ychacon64026962022-02-18 09:51:37 +010052
53- project:
54 <<: *ransliceassurance_common
ychacondf031572022-03-14 13:50:40 +010055 name: nonrtric-rapp-ransliceassurance-icsversion
Anil Belur439502c2023-05-07 12:39:38 +100056 project-name: "{name}"
ychacondf031572022-03-14 13:50:40 +010057 # image name
Anil Belur439502c2023-05-07 12:39:38 +100058 docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance-icsversion"
ychacondf031572022-03-14 13:50:40 +010059 # get tag from YAML
60 container-tag-method: yaml-file
61 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100062 docker-build-args: "--network=host"
ychacondf031572022-03-14 13:50:40 +010063 # Directory with Dockerfile
Anil Belur439502c2023-05-07 12:39:38 +100064 docker-root: "icsversion"
ychacondf031572022-03-14 13:50:40 +010065 # Directory where go test should be run
Anil Belur439502c2023-05-07 12:39:38 +100066 go-root: "icsversion"
ychacondf031572022-03-14 13:50:40 +010067 build-node: ubuntu1804-docker-4c-4g
68 # Includes verify and merge jobs
69 jobs:
70 - "{project-name}-gerrit-docker-jobs"
71 - gerrit-go-verify
72 stream:
73 - master:
74 branch: master
elinuxhenrik0778b2c2022-06-29 08:25:57 +020075 - f-release:
76 branch: f-release
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010077 - g-release:
78 branch: g-release
ychacondf031572022-03-14 13:50:40 +010079
80- project:
81 <<: *ransliceassurance_common
ychacon64026962022-02-18 09:51:37 +010082 name: nonrtric-rapp-ransliceassurance-sonar
83 project-name: nonrtric-rapp-ransliceassurance
84 # prescan script requires ubuntu
85 # golang is only on docker-enabled nodes
86 build-node: ubuntu1804-docker-4c-4g
87 sonar-prescan-script: !include-raw-escape: prescan-ransliceassurance-ubuntu.sh
88 sonar-project-file: ""
89 java-version: openjdk11
90 # use sonarcloud values from defaults.yaml
Anil Belur4e0d56a2023-04-18 11:49:03 +100091 sonar-properties: !include-raw-escape: sonar-project.properties
ychacon64026962022-02-18 09:51:37 +010092 jobs:
elinuxhenrikc6be42a2022-06-09 13:10:12 +020093 - gerrit-sonar-prescan-script