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 | |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 8 | - project: |
lf-jobbuilder | 2a64d21 | 2022-10-13 14:23:06 +0000 | [diff] [blame] | 9 | name: nonrtric-plt-sme-info |
| 10 | project: nonrtric/plt/sme |
| 11 | project-name: nonrtric-plt-sme |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 12 | # maven settings file has docker credentials |
lf-jobbuilder | 2a64d21 | 2022-10-13 14:23:06 +0000 | [diff] [blame] | 13 | build-node: centos7-builder-1c-1g |
| 14 | branch: master |
| 15 | jobs: |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 16 | - gerrit-info-yaml-verify |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 17 | |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 18 | - nonrtric_plt_sme_common: &nonrtric_plt_sme_common |
| 19 | # values apply to all projects here |
| 20 | name: nonrtric-plt-sme-common |
| 21 | # git repo |
| 22 | project: nonrtric/plt/sme |
| 23 | # jenkins job name prefix |
| 24 | project-name: nonrtric-plt-sme |
| 25 | # maven settings file has docker credentials |
| 26 | mvn-settings: nonrtric-plt-sme-settings |
| 27 | # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml |
| 28 | java-version: openjdk11 |
| 29 | mvn-version: mvn36 |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 30 | |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 31 | - project: |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 32 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 33 | name: nonrtric-plt-sme-capifcore |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 34 | project-name: '{name}' |
| 35 | # image name |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 36 | docker-name: 'o-ran-sc/nonrtric-plt-capifcore' |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 37 | # get tag from YAML |
| 38 | container-tag-method: yaml-file |
| 39 | # use host network to clone from our gerrit |
| 40 | docker-build-args: '--network=host' |
| 41 | # Directory with Dockerfile |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 42 | docker-root: 'capifcore' |
| 43 | # Limit build trigger to appropriate files |
| 44 | gerrit_trigger_file_paths: |
| 45 | - compare-type: REG_EXP |
| 46 | pattern: 'capifcore/.*' |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 47 | # Directory where go test should be run |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 48 | go-root: 'capifcore' |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 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: |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 59 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 60 | name: nonrtric-plt-sme-capifcore-sonar |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame^] | 61 | # prescan script requires ubuntu |
| 62 | # golang is only on docker-enabled nodes |
| 63 | build-node: ubuntu1804-docker-4c-4g |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 64 | gerrit_trigger_file_paths: |
| 65 | - compare-type: REG_EXP |
| 66 | pattern: 'capifcore/.*' |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame^] | 67 | sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh |
elinuxhenrik | dc9413c | 2022-10-24 17:02:26 +0200 | [diff] [blame] | 68 | sonar-project-file: "" |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame^] | 69 | java-version: openjdk11 |
| 70 | # use sonarcloud values from defaults.yaml |
| 71 | sonar-properties: !include-raw: sonar-project.properties |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 72 | jobs: |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame^] | 73 | - gerrit-sonar-prescan-script |