blob: bffea624db14f9163059888d62c208e75fffe231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
---
- project:
name: dcaegen2-platform-policy-handler
project-name: 'dcaegen2-platform-policy-handler'
project: 'dcaegen2/platform/policy-handler'
python-version: python3
tox-dir: '.'
stream:
- 'master':
branch: 'master'
- 'guilin':
branch: 'guilin'
- 'honolulu':
branch: 'honolulu'
build-node: ubuntu1804-docker-8c-8g
build-timeout: 45
mvn-settings: 'dcaegen2-platform-policy-handler-settings'
jobs:
- '{project-name}-python-jobs'
- gerrit-docker-verify
- gerrit-docker-merge:
post_docker_build_script: |
#!/bin/bash
set -uex -o pipefail
DOCKER_IMAGE_TAG2=${{DOCKER_IMAGE_TAG%-*}}
DNAME={container-snapshot-registry}/{docker-name}
docker tag $DNAME:$DOCKER_IMAGE_TAG $DNAME:$DOCKER_IMAGE_TAG2
docker tag $DNAME:$DOCKER_IMAGE_TAG $DNAME:latest
docker push $DNAME:$DOCKER_IMAGE_TAG2
docker push $DNAME:latest
- '{project-name}-gerrit-release-jobs':
build-node: centos7-docker-8c-8g
archive-artifacts: ''
nexus-iq-namespace: 'onap-'
maven-deploy-properties: |
deployAtEnd=true
mvn-snapshot-id: 'ecomp-snapshots'
nexus-snapshot-repo: 'snapshots'
files: '**'
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: '.*'
container-tag-method: latest
docker-root: '.'
docker-name: onap/org.onap.dcaegen2.platform.policy-handler
docker-get-container-tag-script: ../../shell/docker-ts-tag-override.sh
- project:
name: dcaegen2-platform-policy-handler-sonar
jobs:
- gerrit-maven-sonar
sonarcloud: true
sonarcloud-project-organization: '{sonarcloud_project_organization}'
sonarcloud-api-token: '{sonarcloud_api_token}'
sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
sonar-mvn-goal: '{sonar_mvn_goal}'
cron: '@daily'
build-node: ubuntu1804-docker-8c-8g
project: 'dcaegen2/platform/policy-handler'
project-name: 'dcaegen2-platform-policy-handler'
branch: 'master'
mvn-settings: 'dcaegen2-platform-policy-handler-settings'
mvn-goals: 'clean install'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- project:
name: dcaegen2-platform-policy-handler-clm
jobs:
- gerrit-maven-clm
nexus-iq-namespace: 'onap-'
project: dcaegen2/platform/policy-handler
build-node: ubuntu1804-docker-8c-8g
project-name: 'dcaegen2-platform-policy-handler'
branch: 'master'
mvn-settings: 'dcaegen2-platform-policy-handler-settings'
- project:
name: dcaegen2-platform-policy-handler-info
project-name: dcaegen2-platform-policy-handler
jobs:
- gerrit-info-yaml-verify
build-node: centos7-builder-2c-1g
project: dcaegen2/platform/policy-handler
branch: master
|