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 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _nonrtric_plt_sme_common: |
| 9 | &nonrtric_plt_sme_common # values apply to all projects here |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 10 | name: nonrtric-plt-sme-common |
| 11 | # git repo |
| 12 | project: nonrtric/plt/sme |
| 13 | # jenkins job name prefix |
| 14 | project-name: nonrtric-plt-sme |
| 15 | # maven settings file has docker credentials |
| 16 | mvn-settings: nonrtric-plt-sme-settings |
| 17 | # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml |
| 18 | java-version: openjdk11 |
| 19 | mvn-version: mvn36 |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 20 | |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 21 | - project: |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 22 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | 528e46e | 2022-10-31 10:55:14 +0100 | [diff] [blame] | 23 | name: nonrtric-plt-sme-release |
| 24 | # maven release requires sigul which requires centos |
| 25 | # container release requires docker |
| 26 | build-node: centos7-docker-2c-8g |
| 27 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 28 | - "{project-name}-gerrit-release-jobs" |
elinuxhenrik | 528e46e | 2022-10-31 10:55:14 +0100 | [diff] [blame] | 29 | |
| 30 | - project: |
| 31 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 32 | name: nonrtric-plt-sme-capifcore |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 33 | project-name: "{name}" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 34 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 35 | docker-name: "o-ran-sc/nonrtric-plt-capifcore" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 36 | # get tag from YAML |
| 37 | container-tag-method: yaml-file |
elinuxhenrik | d8a4e1c | 2022-11-10 13:01:59 +0100 | [diff] [blame] | 38 | container-tag-yaml-dir: capifcore |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 39 | # use host network to clone from our gerrit |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 40 | docker-build-args: "--network=host" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 41 | # Directory with Dockerfile |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 42 | docker-root: "capifcore" |
elinuxhenrik | 7e8d25d | 2022-10-20 13:06:19 +0200 | [diff] [blame] | 43 | # Limit build trigger to appropriate files |
| 44 | gerrit_trigger_file_paths: |
| 45 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 46 | pattern: "capifcore/.*" |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 47 | # Directory where go test should be run |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [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 |
JohnKeeney | 9199e55 | 2023-06-15 00:23:21 +0100 | [diff] [blame] | 57 | - h-release: |
| 58 | branch: h-release |
JohnKeeney | 45e8cd0 | 2023-12-13 15:23:11 +0000 | [diff] [blame] | 59 | - i-release: |
| 60 | branch: i-release |
JohnKeeney | 4e5525f | 2024-06-24 12:24:16 +0100 | [diff] [blame] | 61 | - j-release: |
| 62 | branch: j-release |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 63 | |
| 64 | - project: |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 65 | <<: *nonrtric_plt_sme_common |
JohnKeeney | 304f332 | 2024-03-01 16:18:42 +0000 | [diff] [blame] | 66 | name: nonrtric-plt-sme-servicemanager |
| 67 | project-name: "{name}" |
| 68 | # image name |
| 69 | docker-name: "o-ran-sc/nonrtric-plt-servicemanager" |
| 70 | # get tag from YAML |
| 71 | container-tag-method: yaml-file |
| 72 | container-tag-yaml-dir: servicemanager |
| 73 | # use host network to clone from our gerrit |
DenisGNoonan | ea137f4 | 2024-04-09 16:04:53 +0100 | [diff] [blame] | 74 | docker-build-args: "--network=host -f servicemanager/Dockerfile" |
| 75 | # Dockerfile is in a subdir |
| 76 | docker-root: "." |
JohnKeeney | 304f332 | 2024-03-01 16:18:42 +0000 | [diff] [blame] | 77 | # Limit build trigger to appropriate files |
| 78 | gerrit_trigger_file_paths: |
| 79 | - compare-type: REG_EXP |
| 80 | pattern: "servicemanager/.*" |
| 81 | # Directory where go test should be run |
| 82 | go-root: "servicemanager" |
| 83 | build-node: ubuntu1804-docker-4c-4g |
| 84 | # Includes verify and merge jobs |
| 85 | jobs: |
| 86 | - "{project-name}-gerrit-docker-jobs" |
| 87 | - gerrit-go-verify |
| 88 | stream: |
| 89 | - master: |
| 90 | branch: master |
JohnKeeney | 4e5525f | 2024-06-24 12:24:16 +0100 | [diff] [blame] | 91 | - j-release: |
| 92 | branch: j-release |
JohnKeeney | 304f332 | 2024-03-01 16:18:42 +0000 | [diff] [blame] | 93 | |
| 94 | - project: |
| 95 | <<: *nonrtric_plt_sme_common |
elinuxhenrik | ec5058e | 2022-10-21 15:07:51 +0200 | [diff] [blame] | 96 | name: nonrtric-plt-sme-capifcore-sonar |
JohnKeeney | 304f332 | 2024-03-01 16:18:42 +0000 | [diff] [blame] | 97 | project-name: nonrtric-plt-sme-capifcore |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 98 | build-node: ubuntu1804-docker-4c-4g |
elinuxhenrik | 45ad6fa | 2022-10-25 13:33:54 +0200 | [diff] [blame] | 99 | gerrit_trigger_file_paths: |
| 100 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 101 | pattern: "capifcore/.*" |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 102 | sonar-prescan-script: !include-raw-escape: prescan-capifcore-ubuntu.sh |
elinuxhenrik | dc9413c | 2022-10-24 17:02:26 +0200 | [diff] [blame] | 103 | sonar-project-file: "" |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 104 | java-version: openjdk11 |
JohnKeeney | 304f332 | 2024-03-01 16:18:42 +0000 | [diff] [blame] | 105 | sonar-properties: | |
| 106 | sonar.login={sonarcloud_api_token} |
| 107 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 108 | sonar.organization={sonarcloud_project_organization} |
| 109 | sonar.projectName={project-name} |
| 110 | sonar.build.sourceEncoding=UTF-8 |
| 111 | sonar.language=go |
| 112 | sonar.projectBaseDir=capifcore |
| 113 | sonar.go.coverage.reportPaths=coverage.txt |
| 114 | sonar.inclusions=**/*.go |
| 115 | sonar.exclusions=**/*_test.go |
elinuxhenrik | cdc5ce1 | 2022-10-19 09:06:58 +0200 | [diff] [blame] | 116 | jobs: |
elinuxhenrik | b08aee3 | 2022-10-27 10:01:31 +0200 | [diff] [blame] | 117 | - gerrit-sonar-prescan-script |
JohnKeeney | 304f332 | 2024-03-01 16:18:42 +0000 | [diff] [blame] | 118 | |
| 119 | - project: |
| 120 | <<: *nonrtric_plt_sme_common |
| 121 | name: nonrtric-plt-sme-servicemanager-sonar |
| 122 | project-name: nonrtric-plt-sme-servicemanager |
| 123 | build-node: ubuntu1804-docker-4c-4g |
| 124 | gerrit_trigger_file_paths: |
| 125 | - compare-type: REG_EXP |
| 126 | pattern: "servicemanager/.*" |
| 127 | sonar-prescan-script: !include-raw-escape: prescan-servicemanager-ubuntu.sh |
| 128 | sonar-project-file: "" |
| 129 | java-version: openjdk11 |
| 130 | jobs: |
| 131 | - gerrit-sonar-prescan-script |
| 132 | sonar-properties: | |
| 133 | sonar.login={sonarcloud_api_token} |
| 134 | sonar.projectKey={sonarcloud_project_organization}_{project-name} |
| 135 | sonar.organization={sonarcloud_project_organization} |
| 136 | sonar.projectName={project-name} |
| 137 | sonar.build.sourceEncoding=UTF-8 |
| 138 | sonar.language=go |
| 139 | sonar.projectBaseDir=servicemanager |
| 140 | sonar.go.coverage.reportPaths=coverage.txt |
| 141 | sonar.inclusions=**/*.go |
| 142 | sonar.exclusions=**/*_test.go |