blob: 7a845453f99e0c12eca3e68617b9f427d8ab625b [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
50 branch: master
51 jobs:
52 - gerrit-tox-sonar
53 cron: '@daily'
54
55- project:
56 <<: *dcaegen2_services_common
57 docker-root: components/pm-subscription-handler
58 name: dcaegen2-services-pmsh-release
efiacorc795dc32019-12-03 10:32:57 +000059 project-name: dcaegen2-services-pmsh-release
efiacora92d2452019-11-06 11:49:58 +000060 jobs:
efiacora92d2452019-11-06 11:49:58 +000061 - '{project-name}-gerrit-release-jobs':
62 build-node: centos7-docker-8c-8g
63 stream:
64 - 'master':
efiacora0b8f5b2019-12-02 17:44:29 +000065 branch: master
efiacora92d2452019-11-06 11:49:58 +000066 maven-deploy-properties: |
67 deployAtEnd=true
68 files: '**'
69 archive-artifacts: ''
efiacora0b8f5b2019-12-02 17:44:29 +000070
71- project:
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000072 <<: *dcaegen2_services_common
73 name: dcaegen2-services-pmsh-clm
74 docker-root: components/pm-subscription-handler
efiacora0b8f5b2019-12-02 17:44:29 +000075 jobs:
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000076 - gerrit-maven-clm
77 nexus-iq-namespace: 'onap-'
78 project-name: 'dcaegen2-services-pmsh-clm'
efiacorc795dc32019-12-03 10:32:57 +000079 mvn-params: '-f components/pm-subscription-handler/pom.xml'
Vijay Venkatesh Kumareb7e7cc2019-12-11 22:26:23 +000080 branch: 'master'
efiacora92d2452019-11-06 11:49:58 +000081