blob: bffea624db14f9163059888d62c208e75fffe231 [file] [log] [blame]
Lusheng Ji1cc39872017-08-22 20:16:51 -07001---
2- project:
3 name: dcaegen2-platform-policy-handler
4 project-name: 'dcaegen2-platform-policy-handler'
Lusheng Ji1cc39872017-08-22 20:16:51 -07005 project: 'dcaegen2/platform/policy-handler'
Michal Jagielloe5ae8602020-08-27 12:38:59 +00006 python-version: python3
Michal Jagielloaa91d522020-08-20 12:29:16 +00007 tox-dir: '.'
Lusheng Ji1cc39872017-08-22 20:16:51 -07008 stream:
9 - 'master':
10 branch: 'master'
vv770d15eb49f2020-10-01 20:25:48 +000011 - 'guilin':
12 branch: 'guilin'
vv770db0363f62021-03-09 15:39:34 +000013 - 'honolulu':
14 branch: 'honolulu'
Michal Jagielloaa91d522020-08-20 12:29:16 +000015 build-node: ubuntu1804-docker-8c-8g
vv770dfac8fad2021-03-23 03:24:14 +000016 build-timeout: 45
Lusheng Jia2511b62017-08-29 03:55:41 +000017 mvn-settings: 'dcaegen2-platform-policy-handler-settings'
Michal Jagielloaa91d522020-08-20 12:29:16 +000018 jobs:
vv770d530060e2021-02-18 23:59:30 +000019 - '{project-name}-python-jobs'
20 - gerrit-docker-verify
21 - gerrit-docker-merge:
22 post_docker_build_script: |
23 #!/bin/bash
24 set -uex -o pipefail
25 DOCKER_IMAGE_TAG2=${{DOCKER_IMAGE_TAG%-*}}
26 DNAME={container-snapshot-registry}/{docker-name}
27 docker tag $DNAME:$DOCKER_IMAGE_TAG $DNAME:$DOCKER_IMAGE_TAG2
28 docker tag $DNAME:$DOCKER_IMAGE_TAG $DNAME:latest
29 docker push $DNAME:$DOCKER_IMAGE_TAG2
30 docker push $DNAME:latest
31 - '{project-name}-gerrit-release-jobs':
32 build-node: centos7-docker-8c-8g
33
Lusheng Jia2511b62017-08-29 03:55:41 +000034 archive-artifacts: ''
vv770d530060e2021-02-18 23:59:30 +000035 nexus-iq-namespace: 'onap-'
36 maven-deploy-properties: |
37 deployAtEnd=true
38 mvn-snapshot-id: 'ecomp-snapshots'
39 nexus-snapshot-repo: 'snapshots'
40 files: '**'
41 gerrit_trigger_file_paths:
42 - compare-type: REG_EXP
43 pattern: '.*'
44 container-tag-method: latest
45 docker-root: '.'
46 docker-name: onap/org.onap.dcaegen2.platform.policy-handler
47 docker-get-container-tag-script: ../../shell/docker-ts-tag-override.sh
48
49
Anil Belurd2d5f282018-07-14 20:09:36 +100050
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -080051- project:
52 name: dcaegen2-platform-policy-handler-sonar
53 jobs:
54 - gerrit-maven-sonar
Jessica Wagantall16452c02019-11-18 17:00:59 -080055 sonarcloud: true
56 sonarcloud-project-organization: '{sonarcloud_project_organization}'
57 sonarcloud-api-token: '{sonarcloud_api_token}'
58 sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
59 sonar-mvn-goal: '{sonar_mvn_goal}'
Gary Wu5f4277f2018-09-28 10:36:23 -070060 cron: '@daily'
Jessica Wagantallf94943d2020-03-27 12:36:45 -070061 build-node: ubuntu1804-docker-8c-8g
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -080062 project: 'dcaegen2/platform/policy-handler'
63 project-name: 'dcaegen2-platform-policy-handler'
64 branch: 'master'
65 mvn-settings: 'dcaegen2-platform-policy-handler-settings'
66 mvn-goals: 'clean install'
Lusheng Ji68169f62018-02-19 13:28:28 -050067 mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
Jessica Wagantallac9f98a2018-10-19 14:26:38 -070068
69- project:
70 name: dcaegen2-platform-policy-handler-clm
71 jobs:
72 - gerrit-maven-clm
Jessica Wagantallf9871362018-12-03 18:02:07 -080073 nexus-iq-namespace: 'onap-'
Jessica Wagantallac9f98a2018-10-19 14:26:38 -070074 project: dcaegen2/platform/policy-handler
Vijay Venkatesh Kumar4c152112020-03-27 00:22:31 +000075 build-node: ubuntu1804-docker-8c-8g
Jessica Wagantallac9f98a2018-10-19 14:26:38 -070076 project-name: 'dcaegen2-platform-policy-handler'
77 branch: 'master'
78 mvn-settings: 'dcaegen2-platform-policy-handler-settings'
Jessica Wagantallc6a09522019-02-27 00:02:59 -080079
80- project:
81 name: dcaegen2-platform-policy-handler-info
82 project-name: dcaegen2-platform-policy-handler
83 jobs:
84 - gerrit-info-yaml-verify
Jessica Wagantalldb675aa2020-01-14 00:57:36 -080085 build-node: centos7-builder-2c-1g
Jessica Wagantallc6a09522019-02-27 00:02:59 -080086 project: dcaegen2/platform/policy-handler
87 branch: master