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 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 18 | - _nonrtric_plt_sme_common: |
| 19 | &nonrtric_plt_sme_common # values apply to all projects here |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 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 | 528e46e | 2022-10-31 10:55:14 +0100 | [diff] [blame] | 33 | name: nonrtric-plt-sme-release |
| 34 | # maven release requires sigul which requires centos |
| 35 | # container release requires docker |
| 36 | build-node: centos7-docker-2c-8g |
| 37 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 38 | - "{project-name}-gerrit-release-jobs" |
elinuxhenrik | 528e46e | 2022-10-31 10:55:14 +0100 | [diff] [blame] | 39 | |
| 40 | - project: |
| 41 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 42 | name: nonrtric-plt-sme-capifcore |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 43 | project-name: "{name}" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 44 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 45 | docker-name: "o-ran-sc/nonrtric-plt-capifcore" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 46 | # get tag from YAML |
| 47 | container-tag-method: yaml-file |
elinuxhenrik | d8a4e1c | 2022-11-10 13:01:59 +0100 | [diff] [blame] | 48 | container-tag-yaml-dir: capifcore |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 49 | # use host network to clone from our gerrit |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 50 | docker-build-args: "--network=host" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 51 | # Directory with Dockerfile |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 52 | docker-root: "capifcore" |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 53 | # Limit build trigger to appropriate files |
| 54 | gerrit_trigger_file_paths: |
| 55 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 56 | pattern: "capifcore/.*" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 57 | # Directory where go test should be run |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 58 | go-root: "capifcore" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 59 | build-node: ubuntu1804-docker-4c-4g |
| 60 | # Includes verify and merge jobs |
| 61 | jobs: |
| 62 | - "{project-name}-gerrit-docker-jobs" |
| 63 | - gerrit-go-verify |
| 64 | stream: |
| 65 | - master: |
| 66 | branch: master |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 67 | - g-release: |
| 68 | branch: g-release |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 69 | |
| 70 | - project: |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 71 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 72 | name: nonrtric-plt-sme-capifcore-sonar |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 73 | # prescan script requires ubuntu |
| 74 | # golang is only on docker-enabled nodes |
| 75 | build-node: ubuntu1804-docker-4c-4g |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 76 | gerrit_trigger_file_paths: |
| 77 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame^] | 78 | pattern: "capifcore/.*" |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 79 | sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh |
elinuxhenrik | dc9413c | 2022-10-24 17:02:26 +0200 | [diff] [blame] | 80 | sonar-project-file: "" |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 81 | java-version: openjdk11 |
| 82 | # use sonarcloud values from defaults.yaml |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 83 | sonar-properties: !include-raw-escape: sonar-project.properties |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 84 | jobs: |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 85 | - gerrit-sonar-prescan-script |