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 | |
| 16 | - portal_nonrtric_controlpanel_common: &portal_nonrtric_controlpanel_common |
| 17 | # values apply to all projects here |
| 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 |
| 26 | java-version: openjdk11 |
| 27 | mvn-version: mvn36 |
| 28 | |
| 29 | - project: |
| 30 | <<: *portal_nonrtric_controlpanel_common |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 31 | name: nonrtric-controlpanel-frontend |
| 32 | # image name |
| 33 | docker-name: 'o-ran-sc/nonrtric-controlpanel' |
| 34 | # get tag from YAML |
| 35 | container-tag-method: yaml-file |
| 36 | # use host network to clone from our gerrit |
| 37 | docker-build-args: '--network=host' |
| 38 | # Directory with Dockerfile |
| 39 | docker-root: 'webapp-frontend' |
| 40 | # Limit build trigger to appropriate files |
| 41 | gerrit_trigger_file_paths: |
| 42 | - compare-type: REG_EXP |
| 43 | pattern: 'webapp-frontend/.*' |
Anil Belur | 149942b | 2021-06-08 10:44:51 +1000 | [diff] [blame] | 44 | - compare-type: REG_EXP |
| 45 | pattern: 'docker-compose/.*' |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 46 | build-node: ubuntu1804-docker-4c-4g |
| 47 | # Includes verify and merge jobs |
| 48 | jobs: |
| 49 | - "{project-name}-gerrit-docker-jobs" |
| 50 | stream: |
| 51 | - master: |
| 52 | branch: master |
ecaiyanlinux | 0bf0397 | 2021-07-30 06:33:17 +0200 | [diff] [blame^] | 53 | - dawn: |
| 54 | branch: dawn |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 55 | |
| 56 | - project: |
| 57 | <<: *portal_nonrtric_controlpanel_common |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 58 | name: portal-nonrtric-controlpanel-release |
| 59 | # maven release requires sigul which requires centos |
| 60 | # container release requires docker |
| 61 | build-node: centos7-docker-2c-8g |
| 62 | jobs: |
| 63 | - '{project-name}-gerrit-release-jobs' |
| 64 | |
| 65 | - project: |
| 66 | <<: *portal_nonrtric_controlpanel_common |
| 67 | name: portal-nonrtric-controlpanel-sonar |
| 68 | # template goal install builds docker image unnecessarily |
| 69 | mvn-params: -Ddocker.skip=true |
| 70 | sonarcloud: true |
| 71 | sonarcloud-api-token: '{sonarcloud_api_token}' |
| 72 | sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' |
| 73 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 74 | jobs: |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 75 | - gerrit-maven-sonar |
| 76 | |
| 77 | - project: |
| 78 | <<: *portal_nonrtric_controlpanel_common |
| 79 | name: portal-nonrtric-controlpanel-gateway |
| 80 | project-name: '{name}' |
RehanRaza | b18fb85 | 2021-01-29 16:33:26 +0100 | [diff] [blame] | 81 | mvn-params: '-f nonrtric-gateway' |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 82 | gerrit_trigger_file_paths: |
| 83 | - compare-type: REG_EXP |
| 84 | pattern: 'nonrtric-gateway/.*' |
| 85 | build-node: ubuntu1804-builder-4c-4g |
| 86 | jobs: |
| 87 | - gerrit-maven-verify |
| 88 | - gerrit-maven-merge |
| 89 | - gerrit-maven-stage |
| 90 | - gerrit-maven-clm |
| 91 | stream: |
| 92 | - master: |
| 93 | branch: master |
ecaiyanlinux | 0bf0397 | 2021-07-30 06:33:17 +0200 | [diff] [blame^] | 94 | - dawn: |
| 95 | branch: dawn |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 96 | |
| 97 | - project: |
| 98 | <<: *portal_nonrtric_controlpanel_common |
| 99 | name: portal-nonrtric-controlpanel-gateway-docker |
| 100 | project-name: '{name}' |
RehanRaza | b18fb85 | 2021-01-29 16:33:26 +0100 | [diff] [blame] | 101 | mvn-params: '-P docker -f nonrtric-gateway' |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 102 | gerrit_trigger_file_paths: |
| 103 | - compare-type: REG_EXP |
| 104 | pattern: 'nonrtric-gateway/.*' |
Anil Belur | 149942b | 2021-06-08 10:44:51 +1000 | [diff] [blame] | 105 | - compare-type: REG_EXP |
| 106 | pattern: 'docker-compose/.*' |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 107 | build-node: ubuntu1804-docker-4c-4g |
| 108 | jobs: |
| 109 | - gerrit-maven-docker-verify |
| 110 | - gerrit-maven-docker-merge |
| 111 | - gerrit-maven-docker-stage |
| 112 | stream: |
| 113 | - master: |
| 114 | branch: master |
ecaiyanlinux | 0bf0397 | 2021-07-30 06:33:17 +0200 | [diff] [blame^] | 115 | - dawn: |
| 116 | branch: dawn |