| --- |
| - dcaegen2_services_common: &dcaegen2_services_common |
| # values apply to all dcaegen2_services docker projects |
| name: dcaegen2-services-docker-common |
| project: dcaegen2/services |
| # maven settings file has docker credentials |
| mvn-settings: dcaegen2-services-settings |
| # use host network to clone from our gerrit |
| container-tag-method: latest |
| build-node: ubuntu1604-docker-8c-8g |
| # jenkins job name prefix |
| project-name: '{name}' |
| tox-dir: '{docker-root}' |
| # build only on relevant changes |
| gerrit_trigger_file_paths: |
| - compare-type: REG_EXP |
| pattern: '{docker-root}/.*' |
| |
| - project: |
| <<: *dcaegen2_services_common |
| name: dcaegen2-services-pmsh |
| # root of docker build |
| docker-root: components/pm-subscription-handler |
| # tag override |
| # Following is dependent on merge https://gerrit.onap.org/r/#/c/ci-management/+/99313/ |
| # docker-get-container-tag-script: '../../shell/docker-ts-tag-override.sh' |
| # image name |
| docker-name: 'onap/org.onap.dcaegen2.services.pmsh' |
| stream: |
| - master: |
| branch: master |
| jobs: |
| - gerrit-docker-verify |
| - gerrit-docker-merge |
| |
| - project: |
| <<: *dcaegen2_services_common |
| name: dcaegen2-services-pmsh-verify |
| docker-root: components/pm-subscription-handler |
| stream: |
| - all: |
| branch: '*' |
| jobs: |
| - gerrit-tox-verify |
| |
| - project: |
| <<: *dcaegen2_services_common |
| name: dcaegen2-services-pmsh-sonar |
| docker-root: components/pm-subscription-handler |
| cron: '@daily' |
| branch: master |
| jobs: |
| - gerrit-tox-sonar: |
| sonar-mvn-goal: '-f components/pm-subscription-handler/pom.xml sonar:sonar' |
| |
| |
| - project: |
| <<: *dcaegen2_services_common |
| docker-root: components/pm-subscription-handler |
| name: dcaegen2-services-pmsh-release |
| project-name: dcaegen2-services-pmsh-release |
| jobs: |
| - '{project-name}-gerrit-release-jobs': |
| build-node: centos7-docker-8c-8g |
| stream: |
| - 'master': |
| branch: master |
| maven-deploy-properties: | |
| deployAtEnd=true |
| files: '**' |
| archive-artifacts: '' |
| |
| - project: |
| <<: *dcaegen2_services_common |
| name: dcaegen2-services-pmsh-clm |
| docker-root: components/pm-subscription-handler |
| jobs: |
| - gerrit-maven-clm |
| nexus-iq-namespace: 'onap-' |
| project-name: 'dcaegen2-services-pmsh-clm' |
| mvn-params: '-f components/pm-subscription-handler/pom.xml' |
| branch: 'master' |
| |