LF Jenkins CI | 276ed29 | 2022-02-02 21:03:58 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: nonrtric-plt-dmaapmediatorproducer-project-view |
| 4 | project-name: nonrtric-plt-dmaapmediatorproducer |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: nonrtric-plt-dmaapmediatorproducer-info |
| 10 | project: nonrtric/plt/dmaapmediatorproducer |
| 11 | project-name: nonrtric-plt-dmaapmediatorproducer |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
elinuxhenrik | 12e1429 | 2022-02-28 11:03:50 +0100 | [diff] [blame] | 15 | |
| 16 | - dmaapmediatorproducer_common: &dmaapmediatorproducer_common |
| 17 | name: dmaapmediatorproducer-common |
| 18 | # git repo |
| 19 | project: nonrtric/plt/dmaapmediatorproducer |
| 20 | # jenkins job name prefix |
| 21 | project-name: nonrtric-plt-dmaapmediatorproducer |
| 22 | # maven settings file has docker credentials |
| 23 | mvn-settings: nonrtric-plt-dmaapmediatorproducer-settings |
| 24 | |
| 25 | - project: |
| 26 | <<: *dmaapmediatorproducer_common |
| 27 | name: nonrtric-plt-dmaapmediatorproducer-release |
| 28 | # maven release requires sigul which requires centos |
| 29 | # container release requires docker |
| 30 | build-node: centos7-docker-2c-8g |
| 31 | jobs: |
| 32 | - '{project-name}-gerrit-release-jobs' |
| 33 | |
| 34 | - project: |
| 35 | <<: *dmaapmediatorproducer_common |
| 36 | name: nonrtric-plt-dmaapmediatorproducer |
| 37 | project-name: '{name}' |
| 38 | # image name |
| 39 | docker-name: 'o-ran-sc/nonrtric-plt-dmaapmediatorproducer' |
| 40 | # get tag from YAML |
| 41 | container-tag-method: yaml-file |
| 42 | # use host network to clone from our gerrit |
| 43 | docker-build-args: '--network=host' |
| 44 | # Directory with Dockerfile |
| 45 | docker-root: '.' |
| 46 | # Directory where go test should be run |
| 47 | go-root: '.' |
| 48 | build-node: ubuntu1804-docker-4c-4g |
| 49 | # Includes verify and merge jobs |
| 50 | jobs: |
| 51 | - "{project-name}-gerrit-docker-jobs" |
| 52 | - gerrit-go-verify |
elinuxhenrik | c6be42a | 2022-06-09 13:10:12 +0200 | [diff] [blame] | 53 | - gerrit-maven-docker-stage |
elinuxhenrik | 12e1429 | 2022-02-28 11:03:50 +0100 | [diff] [blame] | 54 | stream: |
| 55 | - master: |
| 56 | branch: master |
| 57 | |
| 58 | - project: |
| 59 | <<: *dmaapmediatorproducer_common |
| 60 | name: nonrtric-plt-dmaapmediatorproducer-sonar |
| 61 | project-name: nonrtric-plt-dmaapmediatorproducer |
| 62 | # prescan script requires ubuntu |
| 63 | # golang is only on docker-enabled nodes |
| 64 | build-node: ubuntu1804-docker-4c-4g |
| 65 | sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh |
| 66 | sonar-project-file: "" |
| 67 | java-version: openjdk11 |
| 68 | # use sonarcloud values from defaults.yaml |
| 69 | sonar-properties: !include-raw: sonar-project.properties |
| 70 | jobs: |
| 71 | - gerrit-sonar-prescan-script |