efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 1 | --- |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame^] | 2 | - dcaegen2_services_common: &dcaegen2_services_common |
| 3 | # values apply to all dcaegen2_services docker projects |
| 4 | name: dcaegen2-services-docker-common |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 5 | project: dcaegen2/services |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame^] | 6 | # 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 |
efiacor | c795dc3 | 2019-12-03 10:32:57 +0000 | [diff] [blame] | 59 | project-name: dcaegen2-services-pmsh-release |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 60 | jobs: |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 61 | - '{project-name}-gerrit-release-jobs': |
| 62 | build-node: centos7-docker-8c-8g |
| 63 | stream: |
| 64 | - 'master': |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 65 | branch: master |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 66 | maven-deploy-properties: | |
| 67 | deployAtEnd=true |
| 68 | files: '**' |
| 69 | archive-artifacts: '' |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 70 | |
| 71 | - project: |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame^] | 72 | <<: *dcaegen2_services_common |
| 73 | name: dcaegen2-services-pmsh-clm |
| 74 | docker-root: components/pm-subscription-handler |
efiacor | a0b8f5b | 2019-12-02 17:44:29 +0000 | [diff] [blame] | 75 | jobs: |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame^] | 76 | - gerrit-maven-clm |
| 77 | nexus-iq-namespace: 'onap-' |
| 78 | project-name: 'dcaegen2-services-pmsh-clm' |
efiacor | c795dc3 | 2019-12-03 10:32:57 +0000 | [diff] [blame] | 79 | mvn-params: '-f components/pm-subscription-handler/pom.xml' |
Vijay Venkatesh Kumar | eb7e7cc | 2019-12-11 22:26:23 +0000 | [diff] [blame^] | 80 | branch: 'master' |
efiacor | a92d245 | 2019-11-06 11:49:58 +0000 | [diff] [blame] | 81 | |