[gerrit]
-host=gerrit.openecomp.org
+host=gerrit.onap.org
port=29418
project=policy/docker.git
version: '2'
services:
mariadb:
- image: openecomp/policy/policy-db
+ image: onap/policy/policy-db
container_name: mariadb
hostname: mariadb
ports:
- "3306:3306"
nexus:
- image: openecomp/policy/policy-nexus
+ image: onap/policy/policy-nexus
container_name: nexus
hostname: nexus
pap:
- image: openecomp/policy/policy-pe
+ image: onap/policy/policy-pe
container_name: pap
depends_on:
- mariadb
volumes:
- ./config/pe:/tmp/policy-install/config
pdp:
- image: openecomp/policy/policy-pe
+ image: onap/policy/policy-pe
container_name: pdp
depends_on:
- pap
volumes:
- ./config/pe:/tmp/policy-install/config
pypdp:
- image: openecomp/policy/policy-pe
+ image: onap/policy/policy-pe
container_name: pypdp
depends_on:
- pap
volumes:
- ./config/pe:/tmp/policy-install/config
brmsgw:
- image: openecomp/policy/policy-pe
+ image: onap/policy/policy-pe
container_name: brmsgw
depends_on:
- pap
volumes:
- ./config/pe:/tmp/policy-install/config
drools:
- image: openecomp/policy/policy-drools
+ image: onap/policy/policy-drools
container_name: drools
depends_on:
- mariadb
#!/bin/bash
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
-DOCKER_REPOSITORY=nexus3.openecomp.org:10003
+DOCKER_REPOSITORY=nexus3.onap.org:10003
MVN_VERSION=$(cat target/version)
MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . target/version)
TIMESTAMP=$(date -u +%Y%m%dT%H%M%S)
#
# This is the local latest tagged image. The Dockerfile's need this to build images
#
- TAGS="--tag openecomp/policy/${image}:latest"
+ TAGS="--tag onap/policy/${image}:latest"
#
# This has the nexus repo prepended and only major/minor version with latest
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
#
# This has the nexus repo prepended and major/minor/patch version with timestamp
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_VERSION}-STAGING-${TIMESTAMP}"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_VERSION}-STAGING-${TIMESTAMP}"
echo $TAGS
for image in policy-nexus policy-db policy-drools policy-pe; do
echo "Pushing $image"
- docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:latest
- docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_MAJMIN_VERSION}-latest
- docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION}-STAGING-${TIMESTAMP}
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:latest
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_MAJMIN_VERSION}-latest
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_VERSION}-STAGING-${TIMESTAMP}
done
#!/bin/bash
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
-DOCKER_REPOSITORY=nexus3.openecomp.org:10003
+DOCKER_REPOSITORY=nexus3.onap.org:10003
MVN_VERSION=$(cat target/version)
MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . target/version)
TIMESTAMP=$(date -u +%Y%m%dT%H%M%S)
#
# This is the local latest tagged image. The Dockerfile's need this to build images
#
- TAGS="--tag openecomp/policy/${image}:latest"
+ TAGS="--tag onap/policy/${image}:latest"
#
# This has the nexus repo prepended and only major/minor version with latest
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
#
# This has the nexus repo prepended and major/minor/patch version with timestamp
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_VERSION}-${TIMESTAMP}"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_VERSION}-${TIMESTAMP}"
echo $TAGS
#
for image in policy-nexus policy-db policy-drools policy-pe; do
echo "Pushing $image"
- docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_MAJMIN_VERSION}-latest
- docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION}-${TIMESTAMP}
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_MAJMIN_VERSION}-latest
+ docker push ${DOCKER_REPOSITORY}/onap/policy/$image:${MVN_VERSION}-${TIMESTAMP}
done
#
# JUST VERIFY ONLY - NO PUSHING
#
-DOCKER_REPOSITORY=nexus3.openecomp.org:10003
+DOCKER_REPOSITORY=nexus3.onap.org:10003
MVN_VERSION=$(cat target/version)
MVN_MAJMIN_VERSION=$(cut -f 1,2 -d . target/version)
TIMESTAMP=$(date -u +%Y%m%dT%H%M%S)
#
# This is the local latest tagged image. The Dockerfile's need this to build images
#
- TAGS="--tag openecomp/policy/${image}:latest"
+ TAGS="--tag onap/policy/${image}:latest"
#
# This has the nexus repo prepended and only major/minor version with latest
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_MAJMIN_VERSION}-latest"
#
# This has the nexus repo prepended and major/minor/patch version with timestamp
#
- TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_VERSION}-${TIMESTAMP}"
+ TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${image}:${MVN_VERSION}-${TIMESTAMP}"
echo $TAGS
<description>OpenECOMP Policy Docker Build</description>
<properties>
- <nexusproxy>https://nexus.openecomp.org</nexusproxy>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
</properties>
<repositories>