blob: 91b9656fc90b93daf4db578c4ee3402f7c9058f3 [file] [log] [blame]
minhac.leeb11a26f2022-12-02 16:24:13 +09001---
2- project:
3 name: ric-app-qp-aimlfw-project-view
4 project-name: ric-app-qp-aimlfw
5 views:
6 - project-view
7
8- project:
9 name: ric-app-qp-aimlfw-info
10 project: ric-app/qp-aimlfw
11 project-name: ric-app-qp-aimlfw
12 build-node: centos7-builder-1c-1g
13 branch: master
Anil Belur4e0d56a2023-04-18 11:49:03 +100014 jobs:
minhac.leeb11a26f2022-12-02 16:24:13 +090015 - gerrit-info-yaml-verify
16
Anil Belur439502c2023-05-07 12:39:38 +100017- _qp_aimlfw_docker_common:
18 &qp_aimlfw_docker_common # values apply to all training manager projects
minhac.leeb11a26f2022-12-02 16:24:13 +090019 name: ric-app-qp-aimlfw-docker-common
20 # git repo
21 project: ric-app/qp-aimlfw
22 # jenkins job name prefix
23 project-name: ric-app-qp-aimlfw
24 # maven settings file has docker credentials
25 mvn-settings: ric-app-qp-aimlfw-settings
26
27- project:
28 <<: *qp_aimlfw_docker_common
minhac.leeb8402fb2022-12-15 11:33:24 +090029 name: ric-app-qp-aimlfw
Anil Belur439502c2023-05-07 12:39:38 +100030 project-name: "{name}"
minhac.leeb11a26f2022-12-02 16:24:13 +090031 # image name
Anil Belur439502c2023-05-07 12:39:38 +100032 docker-name: "o-ran-sc/{name}"
minhac.leeb11a26f2022-12-02 16:24:13 +090033 # Dockerfile is in a subdir
Anil Belur439502c2023-05-07 12:39:38 +100034 docker-root: "."
minhac.leeb11a26f2022-12-02 16:24:13 +090035 # source of docker tag
36 # dockerfile is in subdir of docker root
Anil Belur439502c2023-05-07 12:39:38 +100037 docker-build-args: "--network=host"
minhac.leeb11a26f2022-12-02 16:24:13 +090038 container-tag-method: yaml-file
minhac.leeb11a26f2022-12-02 16:24:13 +090039 jobs:
40 - "{project-name}-gerrit-docker-jobs"
41 stream:
42 - master:
43 branch: master
44
45- project:
46 <<: *qp_aimlfw_docker_common
47 name: ric-app-qp-aimlfw-sonarqube
48 # the install script assumes an ubuntu image
minhac.lee3adfa652022-12-15 13:00:14 +090049 build-node: ubuntu1804-docker-4c-4g
minhac.leeb8402fb2022-12-15 11:33:24 +090050 sonar-prescan-script: !include-raw-escape: prescan-ric-app-qp-aimlfw-ubuntu.sh
minhac.leeb11a26f2022-12-02 16:24:13 +090051 sonar-project-file: ""
52 sonar-properties: |
Anil Belur439502c2023-05-07 12:39:38 +100053 sonar.login={sonarcloud_api_token}
54 sonar.projectKey={sonarcloud_project_organization}_{project-name}
55 sonar.projectName={project-name}
56 sonar.organization={sonarcloud_project_organization}
57 sonar.build.sourceEncoding=UTF-8
58 sonar.sources=.
59 sonar.language=go
60 sonar.go.coverage.reportPaths=**/cover.out
61 sonar.inclusions=**/*.go
62 sonar.exclusions=**/*_test.go
minhac.leeb11a26f2022-12-02 16:24:13 +090063 jobs:
minhac.leeb8402fb2022-12-15 11:33:24 +090064 - gerrit-sonar-prescan-script
65
66- project:
67 <<: *qp_aimlfw_docker_common
68 name: ric-app-qp-aimlfw-release
69 build-node: centos7-docker-2c-8g
70 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100071 - "{project-name}-gerrit-release-jobs"