blob: 83c3945b92242c00c9a4c4c2fc519d095b78a418 [file] [log] [blame]
Lott, Christopher (cl778h)72198a42019-04-23 13:59:52 -04001---
2- project:
Lott, Christopher (cl778h)42510dc2019-05-03 14:43:15 -04003 name: portal-ric-dashboard-project-view
4 project-name: portal-ric-dashboard
Lott, Christopher (cl778h)72198a42019-04-23 13:59:52 -04005 views:
6 - project-view
7
8- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -04009 name: portal-ric-dashboard-info
10 project: portal/ric-dashboard
Lott, Christopher (cl778h)42510dc2019-05-03 14:43:15 -040011 project-name: portal-ric-dashboard
Lott, Christopher (cl778h)6cde7342020-04-03 12:48:31 -040012 build-node: centos8-builder-1c-1g
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040013 jobs:
14 - gerrit-info-yaml-verify
15
16- portal_ric_dashboard_common: &portal_ric_dashboard_common
17 # values apply to all projects here
18 name: portal-ric-dashboard-common
Lott, Christopher (cl778h)72198a42019-04-23 13:59:52 -040019 # git repo
20 project: portal/ric-dashboard
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040021 # jenkins job name prefix
22 project-name: portal-ric-dashboard
23 # maven settings file has docker credentials
Lott, Christopher (cl778h)42510dc2019-05-03 14:43:15 -040024 mvn-settings: portal-ric-dashboard-settings
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040025 # defaults.yaml value is NOT used due to value set in lf-maven-jobs.yaml
Lott, Christopher (cl778h)a21196f2019-07-09 17:25:16 -040026 java-version: openjdk11
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040027
Lott, Christopher (cl778h)1a021cf2020-01-27 10:00:51 -050028# build docker images from code
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040029- project:
30 <<: *portal_ric_dashboard_common
31 name: portal-ric-dashboard-project
Lott, Christopher (cl778h)1a021cf2020-01-27 10:00:51 -050032 mvn-params: -f dashboard -Dbuild.number=${{BUILD_NUMBER}}
33 gerrit_trigger_file_paths:
34 - compare-type: REG_EXP
35 pattern: 'dashboard/.*'
Lott, Christopher (cl778h)72198a42019-04-23 13:59:52 -040036 jobs:
37 - gerrit-maven-docker-verify
38 - gerrit-maven-docker-merge
Lott, Christopher (cl778h)f784ba72019-11-01 10:48:29 -040039 - gerrit-maven-docker-stage:
40 # stage every Saturday, not daily
41 cron: 'H H * * 6'
Lott, Christopher (cl778h)72198a42019-04-23 13:59:52 -040042 stream:
43 - master:
44 branch: master
45
Lott, Christopher (cl778h)1a021cf2020-01-27 10:00:51 -050046# analyze code periodically
Lott, Christopher (cl778h)72198a42019-04-23 13:59:52 -040047- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040048 <<: *portal_ric_dashboard_common
Lott, Christopher (cl778h)c9e16092019-07-30 20:49:43 -040049 name: portal-ric-dashboard-clm
Lott, Christopher (cl778h)1a021cf2020-01-27 10:00:51 -050050 # template goal install builds docker image unnecessarily
51 mvn-params: -f dashboard -Ddocker.skip=true
Lott, Christopher (cl778h)0ded7672019-07-30 22:09:31 -040052 nexus-iq-namespace: 'oran-'
Lott, Christopher (cl778h)c9e16092019-07-30 20:49:43 -040053 jobs:
54 - gerrit-maven-clm
55
Lott, Christopher (cl778h)1a021cf2020-01-27 10:00:51 -050056# report test coverage periodically
Lott, Christopher (cl778h)c9e16092019-07-30 20:49:43 -040057- project:
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040058 <<: *portal_ric_dashboard_common
Lott, Christopher (cl778h)72198a42019-04-23 13:59:52 -040059 name: portal-ric-dashboard-sonar
Lott, Christopher (cl778h)1a021cf2020-01-27 10:00:51 -050060 # template goal install builds docker image unnecessarily
61 mvn-params: -f dashboard -Ddocker.skip=true
Andrew Grimberg5ce239d2019-05-06 16:08:36 -070062 sonarcloud: true
Lott, Christopher (cl778h)601a6cc2019-10-15 15:43:14 -040063 sonarcloud-api-token: '{sonarcloud_api_token}'
64 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
65 sonarcloud-project-organization: '{sonarcloud_project_organization}'
Lott, Christopher (cl778h)0ded7672019-07-30 22:09:31 -040066 jobs:
67 - gerrit-maven-sonar
Lott, Christopher (cl778h)af00d5e2019-11-15 18:16:20 -050068
Lott, Christopher (cl778h)1a021cf2020-01-27 10:00:51 -050069# promote container images to release registry
Lott, Christopher (cl778h)af00d5e2019-11-15 18:16:20 -050070- project:
71 <<: *portal_ric_dashboard_common
72 name: portal-ric-dashboard-release
Lott, Christopher (cl778h)af00d5e2019-11-15 18:16:20 -050073 # maven release requires sigul which requires centos
74 # container release requires docker
75 build-node: centos7-docker-2c-8g
76 jobs:
77 - '{project-name}-gerrit-release-jobs'