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 |
| 30 | sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' |
| 31 | sonarcloud-project-name: '{project-name}' |
| 32 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 33 | |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 34 | - project: |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame^] | 35 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 36 | name: nonrtric-plt-sme-capifcore |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 37 | project-name: '{name}' |
| 38 | # image name |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 39 | docker-name: 'o-ran-sc/nonrtric-plt-capifcore' |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 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 |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 45 | docker-root: 'capifcore' |
| 46 | # Limit build trigger to appropriate files |
| 47 | gerrit_trigger_file_paths: |
| 48 | - compare-type: REG_EXP |
| 49 | pattern: 'capifcore/.*' |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 50 | # Directory where go test should be run |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 51 | go-root: 'capifcore' |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 52 | build-node: ubuntu1804-docker-4c-4g |
| 53 | # Includes verify and merge jobs |
| 54 | jobs: |
| 55 | - "{project-name}-gerrit-docker-jobs" |
| 56 | - gerrit-go-verify |
| 57 | stream: |
| 58 | - master: |
| 59 | branch: master |
| 60 | |
| 61 | - project: |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame^] | 62 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 63 | name: nonrtric-plt-sme-capifcore-sonar |
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 | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 67 | build-node: ubuntu1804-docker-4c-4g |
elinuxhenrik | dc9413c | 2022-10-24 17:02:26 +0200 | [diff] [blame] | 68 | sonarcloud: true |
| 69 | sonar-project-file: "" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 70 | jobs: |
elinuxhenrik | dc9413c | 2022-10-24 17:02:26 +0200 | [diff] [blame] | 71 | - gerrit-cli-sonar |