minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 1 | --- |
| 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 Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 14 | jobs: |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 15 | - gerrit-info-yaml-verify |
| 16 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 17 | - _qp_aimlfw_docker_common: |
| 18 | &qp_aimlfw_docker_common # values apply to all training manager projects |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 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.lee | b8402fb | 2022-12-15 11:33:24 +0900 | [diff] [blame] | 29 | name: ric-app-qp-aimlfw |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 30 | project-name: "{name}" |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 31 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 32 | docker-name: "o-ran-sc/{name}" |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 33 | # Dockerfile is in a subdir |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 34 | docker-root: "." |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 35 | # source of docker tag |
| 36 | # dockerfile is in subdir of docker root |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 37 | docker-build-args: "--network=host" |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 38 | container-tag-method: yaml-file |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 39 | 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.lee | 3adfa65 | 2022-12-15 13:00:14 +0900 | [diff] [blame] | 49 | build-node: ubuntu1804-docker-4c-4g |
minhac.lee | b8402fb | 2022-12-15 11:33:24 +0900 | [diff] [blame] | 50 | sonar-prescan-script: !include-raw-escape: prescan-ric-app-qp-aimlfw-ubuntu.sh |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 51 | sonar-project-file: "" |
| 52 | sonar-properties: | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 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 |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 63 | jobs: |
minhac.lee | b8402fb | 2022-12-15 11:33:24 +0900 | [diff] [blame] | 64 | - 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 Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 71 | - "{project-name}-gerrit-release-jobs" |