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