blob: bffea624db14f9163059888d62c208e75fffe231 [file] [log] [blame]
---
- 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