Lott, Christopher (cl778h) | 72b4e6a | 2019-06-17 15:24:31 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-e2mgr-project-view |
| 4 | project-name: ric-plt-e2mgr |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Lott, Christopher (cl778h) | 72b4e6a | 2019-06-17 15:24:31 -0400 | [diff] [blame] | 8 | - project: |
| 9 | name: ric-plt-e2mgr-info |
| 10 | project: ric-plt/e2mgr |
| 11 | project-name: ric-plt-e2mgr |
| 12 | build-node: centos7-builder-1c-1g |
Lott, Christopher (cl778h) | 72b4e6a | 2019-06-17 15:24:31 -0400 | [diff] [blame] | 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 15 | |
| 16 | - e2mgr_docker_common: &e2mgr_docker_common |
| 17 | # values apply to all E2MGR docker projects |
| 18 | name: e2mgr-docker-common |
| 19 | # git repo |
| 20 | project: ric-plt/e2mgr |
| 21 | # jenkins job name prefix |
| 22 | project-name: ric-plt-e2mgr |
| 23 | # maven settings file has docker credentials |
| 24 | mvn-settings: ric-plt-e2mgr-settings |
| 25 | |
| 26 | - project: |
| 27 | <<: *e2mgr_docker_common |
| 28 | name: ric-plt-e2mgr |
| 29 | # image name |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 30 | docker-name: 'o-ran-sc/{name}' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 31 | # Dockerfile is in a subdir |
| 32 | docker-root: E2Manager |
| 33 | # source of docker tag |
| 34 | container-tag-method: yaml-file |
| 35 | # use host network to clone from our gerrit |
| 36 | docker-build-args: '--network=host' |
| 37 | jobs: |
| 38 | - '{project-name}-gerrit-docker-jobs' |
| 39 | stream: |
| 40 | - master: |
| 41 | branch: master |
wrider | 5bf1275 | 2019-11-19 01:00:23 -0500 | [diff] [blame] | 42 | |
| 43 | - project: |
| 44 | <<: *e2mgr_docker_common |
| 45 | name: ric-plt-e2mgr-release |
| 46 | branch: master |
| 47 | # maven release requires sigul which requires centos |
| 48 | # container release requires docker |
| 49 | build-node: centos7-docker-2c-8g |
| 50 | jobs: |
| 51 | - '{project-name}-gerrit-release-jobs' |
Lott, Christopher (cl778h) | 6f1e4a5 | 2020-02-07 13:38:19 -0500 | [diff] [blame] | 52 | |
| 53 | - project: |
| 54 | name: ric-plt-e2mgr-sonar |
| 55 | project: ric-plt/e2mgr |
| 56 | project-name: ric-plt-e2mgr |
| 57 | # prescan script requires ubuntu |
| 58 | # golang is only on docker-enabled nodes |
| 59 | build-node: ubuntu1804-docker-4c-4g |
| 60 | sonar-prescan-script: !include-raw-escape: prescan-e2mgr-ubuntu.sh |
| 61 | sonar-project-file: "" |
| 62 | # use sonarcloud values from defaults.yaml |
| 63 | sonar-properties: | |
| 64 | # Required metadata |
| 65 | sonar.login={sonarcloud_api_token} |
| 66 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 67 | sonar.projectName={project-name} |
| 68 | sonar.organization={sonarcloud_project_organization} |
| 69 | # Encoding |
| 70 | sonar.build.sourceEncoding=UTF-8 |
| 71 | # Language |
| 72 | sonar.language=go |
| 73 | # Source |
| 74 | sonar.sources=E2Manager |
| 75 | # Unit tests |
| 76 | sonar.go.coverage.reportPaths=coverage.xml |
| 77 | # Inclusions |
| 78 | sonar.inclusions=**/**.go |
| 79 | # Exclusions |
| 80 | sonar.exclusions=**/mocks/**.go,**/tests/**.go |
| 81 | jobs: |
| 82 | - gerrit-sonar-prescan-script |