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 |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 58 | |
| 59 | - project: |
| 60 | <<: *portal_nonrtric_controlpanel_common |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 61 | name: portal-nonrtric-controlpanel-release |
| 62 | # maven release requires sigul which requires centos |
| 63 | # container release requires docker |
| 64 | build-node: centos7-docker-2c-8g |
| 65 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 66 | - "{project-name}-gerrit-release-jobs" |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 67 | |
| 68 | - project: |
| 69 | <<: *portal_nonrtric_controlpanel_common |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 70 | name: portal-nonrtric-controlpanel-gateway-sonar |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 71 | # template goal install builds docker image unnecessarily |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 72 | mvn-params: "-Ddocker.skip=true -f nonrtric-gateway" |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 73 | gerrit_trigger_file_paths: |
| 74 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 75 | pattern: "nonrtric-gateway/.*" |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 76 | sonarcloud: true |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 77 | sonarcloud-api-token: "{sonarcloud_api_token}" |
| 78 | sonarcloud-project-key: "{project-name}-gateway" |
| 79 | sonarcloud-project-organization: "{sonarcloud_project_organization}" |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 80 | jobs: |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 81 | - gerrit-maven-sonar |
| 82 | |
| 83 | - project: |
| 84 | <<: *portal_nonrtric_controlpanel_common |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 85 | name: portal-nonrtric-controlpanel-frontend-sonar |
| 86 | gerrit_trigger_file_paths: |
| 87 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 88 | pattern: "webapp-frontend/.*" |
elinuxhenrik | b450b9c | 2022-09-22 09:11:54 +0200 | [diff] [blame] | 89 | build-node: ubuntu1804-docker-4c-4g |
| 90 | java-version: openjdk11 |
| 91 | sonarcloud: true |
| 92 | sonar-project-file: "" |
| 93 | jobs: |
| 94 | - gerrit-cli-sonar |
| 95 | |
| 96 | - project: |
| 97 | <<: *portal_nonrtric_controlpanel_common |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 98 | name: portal-nonrtric-controlpanel-gateway |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 99 | project-name: "{name}" |
| 100 | mvn-params: "-f nonrtric-gateway" |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 101 | gerrit_trigger_file_paths: |
| 102 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 103 | pattern: "nonrtric-gateway/.*" |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 104 | build-node: ubuntu1804-builder-4c-4g |
| 105 | jobs: |
| 106 | - gerrit-maven-verify |
| 107 | - gerrit-maven-merge |
| 108 | - gerrit-maven-stage |
| 109 | - gerrit-maven-clm |
| 110 | stream: |
| 111 | - master: |
| 112 | branch: master |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 113 | - g-release: |
JohnKeeney | 31f9173 | 2023-03-23 15:05:14 +0000 | [diff] [blame] | 114 | java-version: openjdk11 |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 115 | branch: g-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 |