blob: 938caae737fc7a2ef74c709e52147e9727933cd7 [file] [log] [blame]
efiacora92d2452019-11-06 11:49:58 +00001---
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +00002- dcaegen2_services_common: &dcaegen2_services_common
3 # values apply to all dcaegen2_services docker projects
4 name: dcaegen2-services-docker-common
efiacora0b8f5b2019-12-02 17:44:29 +00005 project: dcaegen2/services
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +00006 # maven settings file has docker credentials
7 mvn-settings: dcaegen2-services-settings
8 # use host network to clone from our gerrit
9 container-tag-method: latest
10 build-node: ubuntu1604-docker-8c-8g
11 # jenkins job name prefix
12 project-name: '{name}'
13 tox-dir: '{docker-root}'
14 # build only on relevant changes
15 gerrit_trigger_file_paths:
16 - compare-type: REG_EXP
17 pattern: '{docker-root}/.*'
18
19- project:
20 <<: *dcaegen2_services_common
21 name: dcaegen2-services-pmsh
22 # root of docker build
23 docker-root: components/pm-subscription-handler
24 # tag override
25 # Following is dependent on merge https://gerrit.onap.org/r/#/c/ci-management/+/99313/
26 # docker-get-container-tag-script: '../../shell/docker-ts-tag-override.sh'
27 # image name
28 docker-name: 'onap/{name}'
29 stream:
30 - master:
31 branch: master
32 jobs:
33 - gerrit-docker-verify
34 - gerrit-docker-merge
35
36- project:
37 <<: *dcaegen2_services_common
38 name: dcaegen2-services-pmsh-verify
39 docker-root: components/pm-subscription-handler
40 stream:
41 - all:
42 branch: '*'
43 jobs:
44 - gerrit-tox-verify
45
46- project:
47 <<: *dcaegen2_services_common
48 name: dcaegen2-services-pmsh-sonar
49 docker-root: components/pm-subscription-handler
rajendrajaiswal6ef9f752020-02-17 13:37:13 +000050 cron: '@daily'
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000051 branch: master
52 jobs:
rajendrajaiswal6ef9f752020-02-17 13:37:13 +000053 - gerrit-tox-sonar:
rajendrajaiswal0dfb9352020-02-21 12:32:47 +000054 sonar-mvn-goal: '-f components/pm-subscription-handler/pom.xml sonar:sonar'
rajendrajaiswal6ef9f752020-02-17 13:37:13 +000055
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000056
57- project:
58 <<: *dcaegen2_services_common
59 docker-root: components/pm-subscription-handler
60 name: dcaegen2-services-pmsh-release
efiacorc795dc32019-12-03 10:32:57 +000061 project-name: dcaegen2-services-pmsh-release
efiacora92d2452019-11-06 11:49:58 +000062 jobs:
efiacora92d2452019-11-06 11:49:58 +000063 - '{project-name}-gerrit-release-jobs':
64 build-node: centos7-docker-8c-8g
65 stream:
66 - 'master':
efiacora0b8f5b2019-12-02 17:44:29 +000067 branch: master
efiacora92d2452019-11-06 11:49:58 +000068 maven-deploy-properties: |
69 deployAtEnd=true
70 files: '**'
71 archive-artifacts: ''
efiacora0b8f5b2019-12-02 17:44:29 +000072
73- project:
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000074 <<: *dcaegen2_services_common
75 name: dcaegen2-services-pmsh-clm
76 docker-root: components/pm-subscription-handler
efiacora0b8f5b2019-12-02 17:44:29 +000077 jobs:
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000078 - gerrit-maven-clm
79 nexus-iq-namespace: 'onap-'
80 project-name: 'dcaegen2-services-pmsh-clm'
efiacorc795dc32019-12-03 10:32:57 +000081 mvn-params: '-f components/pm-subscription-handler/pom.xml'
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000082 branch: 'master'
efiacora92d2452019-11-06 11:49:58 +000083