diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-03-16 12:46:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-16 12:46:16 +0000 |
commit | 841ce4781f4963dd072f7439f53e4b57b5c57c12 (patch) | |
tree | f1edbfd52a8b202f906eb9258375e0f14966afcb | |
parent | af657153239498810248a58b97c7edd8046cac7b (diff) | |
parent | 6dc5a2487d476e204a5d350ac5eaf8eb42d988a8 (diff) |
Merge "Renamed docker images"
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | docker-compose-integration.yml | 10 | ||||
-rw-r--r-- | docker-compose.yml | 10 | ||||
-rwxr-xr-x | docker_build.sh | 14 | ||||
-rwxr-xr-x | docker_merge.sh | 10 | ||||
-rwxr-xr-x | docker_verify.sh | 6 | ||||
-rwxr-xr-x | vagrant/setup_policy.sh | 4 |
7 files changed, 28 insertions, 28 deletions
@@ -6,7 +6,7 @@ To build the policy-nexus docker image, run the 'docker build' command on the fo policy-nexus For example: -docker build -t onap/policy/policy-nexus policy-nexus +docker build -t onap/policy-nexus policy-nexus In addition, this source repository contains a docker-compose.yml file and associated configuration files (in the 'config' directory) that can be used to start up the ONAP Policy Engine docker containers diff --git a/docker-compose-integration.yml b/docker-compose-integration.yml index d13b9a90..1e42bbe2 100644 --- a/docker-compose-integration.yml +++ b/docker-compose-integration.yml @@ -11,11 +11,11 @@ services: expose: - 3306 nexus: - image: onap/policy/policy-nexus + image: onap/policy-nexus container_name: nexus hostname: nexus pap: - image: onap/policy/policy-pe + image: onap/policy-pe environment: - PRELOAD_POLICIES=${PRELOAD_POLICIES} container_name: pap @@ -29,7 +29,7 @@ services: volumes: - ./config/pe:/tmp/policy-install/config pdp: - image: onap/policy/policy-pe + image: onap/policy-pe container_name: pdp depends_on: - pap @@ -40,7 +40,7 @@ services: volumes: - ./config/pe:/tmp/policy-install/config brmsgw: - image: onap/policy/policy-pe + image: onap/policy-pe container_name: brmsgw depends_on: - pap @@ -49,7 +49,7 @@ services: volumes: - ./config/pe:/tmp/policy-install/config drools: - image: onap/policy/policy-drools + image: onap/policy-drools container_name: drools depends_on: - mariadb diff --git a/docker-compose.yml b/docker-compose.yml index 88422d03..282625ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,11 +16,11 @@ services: ports: - "3306:3306" nexus: - image: onap/policy/policy-nexus + image: onap/policy-nexus container_name: nexus hostname: nexus pap: - image: onap/policy/policy-pe + image: onap/policy-pe environment: - PRELOAD_POLICIES=${PRELOAD_POLICIES} container_name: pap @@ -34,7 +34,7 @@ services: volumes: - ./config/pe:/tmp/policy-install/config pdp: - image: onap/policy/policy-pe + image: onap/policy-pe container_name: pdp depends_on: - pap @@ -45,7 +45,7 @@ services: volumes: - ./config/pe:/tmp/policy-install/config brmsgw: - image: onap/policy/policy-pe + image: onap/policy-pe container_name: brmsgw depends_on: - pap @@ -54,7 +54,7 @@ services: volumes: - ./config/pe:/tmp/policy-install/config drools: - image: onap/policy/policy-drools + image: onap/policy-drools container_name: drools depends_on: - mariadb diff --git a/docker_build.sh b/docker_build.sh index 5fe01bed..9a83d6a5 100755 --- a/docker_build.sh +++ b/docker_build.sh @@ -48,19 +48,19 @@ cp $IMAGE/* target/$IMAGE # # This is the local latest tagged image. The Dockerfile's need this to build images # -TAGS="--tag onap/policy/${IMAGE}:latest" +TAGS="--tag onap/${IMAGE}:latest" # # This is the nexus repo prepended for latest tagged image. # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:latest" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:latest" # # This has the nexus repo prepended and only major/minor version with latest # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" # # This has the nexus repo prepended and major/minor/patch version with timestamp # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_VERSION}-STAGING-${TIMESTAMP}" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_VERSION}-STAGING-${TIMESTAMP}" echo $TAGS @@ -77,7 +77,7 @@ docker images echo "Pushing $IMAGE" -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:latest +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:latest if [ $? -ne 0 ] then @@ -86,7 +86,7 @@ then fi -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:${MVN_MAJMIN_VERSION}-latest +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_MAJMIN_VERSION}-latest if [ $? -ne 0 ] then @@ -94,7 +94,7 @@ then exit 1 fi -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:${MVN_VERSION}-STAGING-${TIMESTAMP} +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_VERSION}-STAGING-${TIMESTAMP} if [ $? -ne 0 ] then diff --git a/docker_merge.sh b/docker_merge.sh index ae003193..72f15323 100755 --- a/docker_merge.sh +++ b/docker_merge.sh @@ -48,15 +48,15 @@ cp $IMAGE/* target/$IMAGE # # This is the local latest tagged image. The Dockerfile's need this to build images # -TAGS="--tag onap/policy/${IMAGE}:latest" +TAGS="--tag onap/${IMAGE}:latest" # # This has the nexus repo prepended and only major/minor version with latest # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" # # This has the nexus repo prepended and major/minor/patch version with timestamp # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}" echo $TAGS @@ -75,7 +75,7 @@ docker images # Push image # echo "Pushing $IMAGE" -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:${MVN_MAJMIN_VERSION}-latest +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_MAJMIN_VERSION}-latest if [ $? -ne 0 ] then @@ -83,7 +83,7 @@ then exit 1 fi -docker push ${DOCKER_REPOSITORY}/onap/policy/$IMAGE:${MVN_VERSION}-${TIMESTAMP} +docker push ${DOCKER_REPOSITORY}/onap/$IMAGE:${MVN_VERSION}-${TIMESTAMP} if [ $? -ne 0 ] then diff --git a/docker_verify.sh b/docker_verify.sh index 62e715d4..a458873f 100755 --- a/docker_verify.sh +++ b/docker_verify.sh @@ -51,15 +51,15 @@ cp $IMAGE/* target/$IMAGE # # This is the local latest tagged image. The Dockerfile's need this to build images # -TAGS="--tag onap/policy/${IMAGE}:latest" +TAGS="--tag onap/${IMAGE}:latest" # # This has the nexus repo prepended and only major/minor version with latest # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_MAJMIN_VERSION}-latest" # # This has the nexus repo prepended and major/minor/patch version with timestamp # -TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/policy/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}" +TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/onap/${IMAGE}:${MVN_VERSION}-${TIMESTAMP}" echo $TAGS diff --git a/vagrant/setup_policy.sh b/vagrant/setup_policy.sh index 5648fd4d..6ee7c38c 100755 --- a/vagrant/setup_policy.sh +++ b/vagrant/setup_policy.sh @@ -21,14 +21,14 @@ done for comp in policy-pe policy-drools do cd $HOME/$comp - sudo docker build -t onap/policy/$comp packages/docker/target/$comp + sudo docker build -t onap/$comp packages/docker/target/$comp done cd $HOME git clone http://gerrit.onap.org/r/policy/docker cd docker -sudo docker build -t onap/policy/policy-nexus policy-nexus +sudo docker build -t onap/policy-nexus policy-nexus cd $HOME/docker chmod +x config/drools/drools-tweaks.sh |