blob: bb7d4b5d59358fe6ff825ebfe8d7f560461bb8f6 [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
14 jobs:
15 - gerrit-info-yaml-verify
16
17- qp_aimlfw_docker_common: &qp_aimlfw_docker_common
18 # values apply to all training manager projects
19 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
minhac.leeb11a26f2022-12-02 16:24:13 +090030 project-name: '{name}'
31 # image name
32 docker-name: 'o-ran-sc/{name}'
33 # Dockerfile is in a subdir
34 docker-root: '.'
35 # source of docker tag
36 # dockerfile is in subdir of docker root
37 docker-build-args: '--network=host'
38 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: |
53 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
63 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:
71 - '{project-name}-gerrit-release-jobs'
minhac.leeb11a26f2022-12-02 16:24:13 +090072