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