blob: aa590959e569ba7c17a5498062914e061f8ccad0 [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: '.'
tox-envs: 'py3'
stream:
- 'master':
branch: 'master'
- 'guilin':
branch: 'guilin'
build-node: ubuntu1804-docker-8c-8g
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