LF Jenkins CI | f58c57c | 2020-02-26 18:40:17 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 3 | name: ric-plt-alarm-go-project-view |
| 4 | project-name: ric-plt-alarm-go |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
LF Jenkins CI | f58c57c | 2020-02-26 18:40:17 +0000 | [diff] [blame] | 9 | name: ric-plt-alarm-go-info |
| 10 | project: ric-plt/alarm-go |
| 11 | project-name: ric-plt-alarm-go |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 15 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 16 | - _alarm_go_common: &alarm_go_common # values apply to all projects |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 17 | name: alarm-go-common |
| 18 | # git repo |
| 19 | project: ric-plt/alarm-go |
| 20 | # jenkins job name prefix |
| 21 | project-name: ric-plt-alarm-go |
| 22 | # maven settings file has docker credentials |
| 23 | mvn-settings: ric-plt-alarm-go-settings |
| 24 | |
| 25 | - project: |
| 26 | <<: *alarm_go_common |
| 27 | name: ric-plt-alarm-go-docker |
| 28 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 29 | docker-name: "o-ran-sc/ric-plt-alarmmanager" |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 30 | # source of docker tag |
| 31 | container-tag-method: yaml-file |
Mohamed Abukar | 50e147b | 2020-09-21 17:57:30 +0300 | [diff] [blame] | 32 | container-tag-yaml-dir: build |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 33 | # use host network |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 34 | docker-build-args: "-f build/Dockerfile --network=host" |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 35 | build-node: ubuntu1804-docker-4c-4g |
| 36 | stream: |
| 37 | - master: |
| 38 | branch: master |
| 39 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 40 | - "{project-name}-gerrit-docker-jobs" |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 41 | |
| 42 | - project: |
| 43 | <<: *alarm_go_common |
| 44 | name: ric-plt-alarm-go-sonarqube |
| 45 | # docker-enabled nodes have golang |
| 46 | # build script needs ubuntu |
Lott, Christopher (cl778h) | da0038e | 2020-03-13 15:22:49 -0400 | [diff] [blame] | 47 | build-node: ubuntu1804-docker-4c-4g |
Lott, Christopher (cl778h) | e5e2a4e | 2020-03-16 10:02:28 -0400 | [diff] [blame] | 48 | sonar-prescan-script: !include-raw-escape: prescan-alarm-go-ubuntu.sh |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 49 | sonar-project-file: "" |
| 50 | # use sonarcloud values from defaults.yaml |
| 51 | sonar-properties: | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 52 | # Required metadata |
| 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 | # Encoding |
| 58 | sonar.build.sourceEncoding=UTF-8 |
| 59 | # Language |
| 60 | sonar.language=go |
| 61 | # Source |
| 62 | sonar.sources=. |
| 63 | # Unit tests |
| 64 | sonar.go.coverage.reportPaths=manager/cover.out,alarm/cover.out |
| 65 | # Inclusions |
| 66 | sonar.inclusions=**/*.go |
| 67 | # Exclusions |
| 68 | sonar.exclusions=**/*_test.go |
Lott, Christopher (cl778h) | 1df0a79 | 2020-03-13 10:09:01 -0400 | [diff] [blame] | 69 | jobs: |
| 70 | - gerrit-sonar-prescan-script |
Lusheng Ji | 8bf37c0 | 2020-06-18 22:51:48 -0400 | [diff] [blame] | 71 | |
| 72 | - project: |
| 73 | <<: *alarm_go_common |
| 74 | name: ric-plt-alarm-go-release |
| 75 | build-node: centos7-docker-2c-8g |
| 76 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 77 | - "{project-name}-gerrit-release-jobs" |