lf-jobbuilder | 2a64d21 | 2022-10-13 14:23:06 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: nonrtric-plt-sme-project-view |
| 4 | project-name: nonrtric-plt-sme |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: nonrtric-plt-sme-info |
| 10 | project: nonrtric/plt/sme |
| 11 | project-name: nonrtric-plt-sme |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | branch: master |
| 14 | jobs: |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 15 | - gerrit-info-yaml-verify |
| 16 | |
| 17 | - sme_common: &sme_common |
| 18 | name: sme-common |
| 19 | # git repo |
| 20 | project: nonrtric/plt/sme |
| 21 | # jenkins job name prefix |
| 22 | project-name: nonrtric-plt-sme |
| 23 | # maven settings file has docker credentials |
| 24 | mvn-settings: nonrtric-plt-sme-settings |
| 25 | |
| 26 | - project: |
| 27 | <<: *sme_common |
| 28 | name: nonrtric-plt-sme-release |
| 29 | # maven release requires sigul which requires centos |
| 30 | # container release requires docker |
| 31 | build-node: centos7-docker-2c-8g |
| 32 | jobs: |
| 33 | - '{project-name}-gerrit-release-jobs' |
| 34 | |
| 35 | - project: |
| 36 | <<: *sme_common |
| 37 | name: nonrtric-plt-sme |
| 38 | project-name: '{name}' |
| 39 | # image name |
| 40 | docker-name: 'o-ran-sc/nonrtric-plt-sme' |
| 41 | # get tag from YAML |
| 42 | container-tag-method: yaml-file |
| 43 | # use host network to clone from our gerrit |
| 44 | docker-build-args: '--network=host' |
| 45 | # Directory with Dockerfile |
| 46 | docker-root: '.' |
| 47 | # Directory where go test should be run |
| 48 | go-root: '.' |
| 49 | build-node: ubuntu1804-docker-4c-4g |
| 50 | # Includes verify and merge jobs |
| 51 | jobs: |
| 52 | - "{project-name}-gerrit-docker-jobs" |
| 53 | - gerrit-go-verify |
| 54 | stream: |
| 55 | - master: |
| 56 | branch: master |
| 57 | |
| 58 | - project: |
| 59 | <<: *sme_common |
| 60 | name: nonrtric-plt-sme-sonar |
| 61 | project-name: nonrtric-plt-sme |
| 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-sme-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 |