LF Jenkins CI | 9ba2efa | 2020-03-12 19:43:51 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: portal-nonrtric-controlpanel-project-view |
| 4 | project-name: portal-nonrtric-controlpanel |
| 5 | views: |
| 6 | - project-view |
| 7 | |
| 8 | - project: |
| 9 | name: portal-nonrtric-controlpanel-info |
| 10 | project: portal/nonrtric-controlpanel |
| 11 | project-name: portal-nonrtric-controlpanel |
| 12 | build-node: centos7-builder-1c-1g |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 15 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 16 | - _portal_nonrtric_controlpanel_common: |
| 17 | &portal_nonrtric_controlpanel_common # values apply to all projects here |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 18 | name: portal-nonrtric-controlpanel-common |
| 19 | # git repo |
| 20 | project: portal/nonrtric-controlpanel |
| 21 | # jenkins job name prefix |
| 22 | project-name: portal-nonrtric-controlpanel |
| 23 | # maven settings file has docker credentials |
| 24 | mvn-settings: portal-nonrtric-controlpanel-settings |
| 25 | # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml |
JohnKeeney | 31f9173 | 2023-03-23 15:05:14 +0000 | [diff] [blame] | 26 | java-version: openjdk17 |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 27 | mvn-version: mvn36 |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 28 | sonarcloud-project-key: "portal-nonrtric-controlpanel" |
| 29 | sonarcloud-project-organization: "o-ran-sc" |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 30 | |
| 31 | - project: |
| 32 | <<: *portal_nonrtric_controlpanel_common |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 33 | name: nonrtric-controlpanel-frontend |
| 34 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 35 | docker-name: "o-ran-sc/nonrtric-controlpanel" |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 36 | # get tag from YAML |
| 37 | container-tag-method: yaml-file |
| 38 | # use host network to clone from our gerrit |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 39 | docker-build-args: "--network=host" |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 40 | # Directory with Dockerfile |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 41 | docker-root: "webapp-frontend" |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 42 | # Limit build trigger to appropriate files |
| 43 | gerrit_trigger_file_paths: |
| 44 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 45 | pattern: "webapp-frontend/.*" |
Anil Belur | 149942b | 2021-06-08 10:44:51 +1000 | [diff] [blame] | 46 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 47 | pattern: "docker-compose/.*" |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 48 | build-node: ubuntu1804-docker-4c-4g |
| 49 | # Includes verify and merge jobs |
| 50 | jobs: |
| 51 | - "{project-name}-gerrit-docker-jobs" |
| 52 | stream: |
| 53 | - master: |
| 54 | branch: master |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 55 | - g-release: |
JohnKeeney | 31f9173 | 2023-03-23 15:05:14 +0000 | [diff] [blame] | 56 | java-version: openjdk11 |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 57 | branch: g-release |
JohnKeeney | 9199e55 | 2023-06-15 00:23:21 +0100 | [diff] [blame] | 58 | - h-release: |
| 59 | branch: h-release |
JohnKeeney | 45e8cd0 | 2023-12-13 15:23:11 +0000 | [diff] [blame^] | 60 | - i-release: |
| 61 | branch: i-release |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 62 | |
| 63 | - project: |
| 64 | <<: *portal_nonrtric_controlpanel_common |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 65 | name: portal-nonrtric-controlpanel-release |
| 66 | # maven release requires sigul which requires centos |
| 67 | # container release requires docker |
| 68 | build-node: centos7-docker-2c-8g |
| 69 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 70 | - "{project-name}-gerrit-release-jobs" |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 71 | |
| 72 | - project: |
| 73 | <<: *portal_nonrtric_controlpanel_common |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 74 | name: portal-nonrtric-controlpanel-gateway-sonar |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 75 | # template goal install builds docker image unnecessarily |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 76 | mvn-params: "-Ddocker.skip=true -f nonrtric-gateway" |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 77 | gerrit_trigger_file_paths: |
| 78 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 79 | pattern: "nonrtric-gateway/.*" |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 80 | sonarcloud: true |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 81 | sonarcloud-api-token: "{sonarcloud_api_token}" |
| 82 | sonarcloud-project-key: "{project-name}-gateway" |
| 83 | sonarcloud-project-organization: "{sonarcloud_project_organization}" |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 84 | jobs: |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 85 | - gerrit-maven-sonar |
| 86 | |
| 87 | - project: |
| 88 | <<: *portal_nonrtric_controlpanel_common |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 89 | name: portal-nonrtric-controlpanel-frontend-sonar |
| 90 | gerrit_trigger_file_paths: |
| 91 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 92 | pattern: "webapp-frontend/.*" |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 93 | build-node: ubuntu1804-docker-4c-4g |
| 94 | java-version: openjdk11 |
| 95 | sonarcloud: true |
| 96 | sonar-project-file: "" |
| 97 | jobs: |
| 98 | - gerrit-cli-sonar |
| 99 | |
| 100 | - project: |
| 101 | <<: *portal_nonrtric_controlpanel_common |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 102 | name: portal-nonrtric-controlpanel-gateway |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 103 | project-name: "{name}" |
| 104 | mvn-params: "-f nonrtric-gateway" |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 105 | gerrit_trigger_file_paths: |
| 106 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 107 | pattern: "nonrtric-gateway/.*" |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 108 | build-node: ubuntu1804-builder-4c-4g |
| 109 | jobs: |
| 110 | - gerrit-maven-verify |
| 111 | - gerrit-maven-merge |
| 112 | - gerrit-maven-stage |
| 113 | - gerrit-maven-clm |
| 114 | stream: |
| 115 | - master: |
| 116 | branch: master |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 117 | - g-release: |
JohnKeeney | 31f9173 | 2023-03-23 15:05:14 +0000 | [diff] [blame] | 118 | java-version: openjdk11 |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 119 | branch: g-release |
JohnKeeney | 9199e55 | 2023-06-15 00:23:21 +0100 | [diff] [blame] | 120 | - h-release: |
| 121 | branch: h-release |
JohnKeeney | 45e8cd0 | 2023-12-13 15:23:11 +0000 | [diff] [blame^] | 122 | - i-release: |
| 123 | branch: i-release |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 124 | |
| 125 | - project: |
| 126 | <<: *portal_nonrtric_controlpanel_common |
| 127 | name: portal-nonrtric-controlpanel-gateway-docker |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 128 | project-name: "{name}" |
| 129 | mvn-params: "-P docker -f nonrtric-gateway" |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 130 | gerrit_trigger_file_paths: |
| 131 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 132 | pattern: "nonrtric-gateway/.*" |
Anil Belur | 149942b | 2021-06-08 10:44:51 +1000 | [diff] [blame] | 133 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 134 | pattern: "docker-compose/.*" |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 135 | build-node: ubuntu1804-docker-4c-4g |
| 136 | jobs: |
| 137 | - gerrit-maven-docker-verify |
| 138 | - gerrit-maven-docker-merge |
| 139 | - gerrit-maven-docker-stage |
| 140 | stream: |
| 141 | - master: |
| 142 | branch: master |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 143 | - g-release: |
JohnKeeney | 31f9173 | 2023-03-23 15:05:14 +0000 | [diff] [blame] | 144 | java-version: openjdk11 |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 145 | branch: g-release |
JohnKeeney | 9199e55 | 2023-06-15 00:23:21 +0100 | [diff] [blame] | 146 | - h-release: |
| 147 | branch: h-release |
JohnKeeney | 45e8cd0 | 2023-12-13 15:23:11 +0000 | [diff] [blame^] | 148 | - i-release: |
| 149 | branch: i-release |