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 |
elinuxhenrik | 0e14a61 | 2021-12-15 07:47:23 +0100 | [diff] [blame] | 55 | - e-release: |
| 56 | branch: e-release |
RehanRaza | f54a4f8 | 2021-01-11 19:22:37 +0100 | [diff] [blame] | 57 | |
| 58 | - project: |
| 59 | <<: *portal_nonrtric_controlpanel_common |
YongchaoWu | 95b39b0 | 2020-03-19 15:40:42 +0100 | [diff] [blame] | 60 | name: portal-nonrtric-controlpanel-release |
| 61 | # maven release requires sigul which requires centos |
| 62 | # container release requires docker |
| 63 | build-node: centos7-docker-2c-8g |
| 64 | jobs: |
| 65 | - '{project-name}-gerrit-release-jobs' |
| 66 | |
| 67 | - project: |
| 68 | <<: *portal_nonrtric_controlpanel_common |
| 69 | name: portal-nonrtric-controlpanel-sonar |
| 70 | # template goal install builds docker image unnecessarily |
| 71 | mvn-params: -Ddocker.skip=true |
| 72 | sonarcloud: true |
| 73 | sonarcloud-api-token: '{sonarcloud_api_token}' |
| 74 | sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' |
| 75 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 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 |
| 81 | name: portal-nonrtric-controlpanel-gateway |
| 82 | project-name: '{name}' |
RehanRaza | b18fb85 | 2021-01-29 16:33:26 +0100 | [diff] [blame] | 83 | mvn-params: '-f nonrtric-gateway' |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 84 | gerrit_trigger_file_paths: |
| 85 | - compare-type: REG_EXP |
| 86 | pattern: 'nonrtric-gateway/.*' |
| 87 | build-node: ubuntu1804-builder-4c-4g |
| 88 | jobs: |
| 89 | - gerrit-maven-verify |
| 90 | - gerrit-maven-merge |
| 91 | - gerrit-maven-stage |
| 92 | - gerrit-maven-clm |
| 93 | stream: |
| 94 | - master: |
| 95 | branch: master |
ecaiyanlinux | 0bf0397 | 2021-07-30 06:33:17 +0200 | [diff] [blame] | 96 | - dawn: |
| 97 | branch: dawn |
elinuxhenrik | 0e14a61 | 2021-12-15 07:47:23 +0100 | [diff] [blame] | 98 | - e-release: |
| 99 | branch: e-release |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 100 | |
| 101 | - project: |
| 102 | <<: *portal_nonrtric_controlpanel_common |
| 103 | name: portal-nonrtric-controlpanel-gateway-docker |
| 104 | project-name: '{name}' |
RehanRaza | b18fb85 | 2021-01-29 16:33:26 +0100 | [diff] [blame] | 105 | mvn-params: '-P docker -f nonrtric-gateway' |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 106 | gerrit_trigger_file_paths: |
| 107 | - compare-type: REG_EXP |
| 108 | pattern: 'nonrtric-gateway/.*' |
Anil Belur | 149942b | 2021-06-08 10:44:51 +1000 | [diff] [blame] | 109 | - compare-type: REG_EXP |
| 110 | pattern: 'docker-compose/.*' |
Lathish | 58d9fbd | 2021-01-18 14:37:44 +0000 | [diff] [blame] | 111 | build-node: ubuntu1804-docker-4c-4g |
| 112 | jobs: |
| 113 | - gerrit-maven-docker-verify |
| 114 | - gerrit-maven-docker-merge |
| 115 | - gerrit-maven-docker-stage |
| 116 | stream: |
| 117 | - master: |
| 118 | branch: master |
ecaiyanlinux | 0bf0397 | 2021-07-30 06:33:17 +0200 | [diff] [blame] | 119 | - dawn: |
| 120 | branch: dawn |
elinuxhenrik | 0e14a61 | 2021-12-15 07:47:23 +0100 | [diff] [blame] | 121 | - e-release: |
| 122 | branch: e-release |
| 123 | |