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 |
| 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.lee | b8402fb | 2022-12-15 11:33:24 +0900 | [diff] [blame] | 29 | name: ric-app-qp-aimlfw |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 30 | 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.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: | |
| 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.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: |
| 71 | - '{project-name}-gerrit-release-jobs' |
minhac.lee | b11a26f | 2022-12-02 16:24:13 +0900 | [diff] [blame] | 72 | |