aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-02-22 14:40:47 -0500
committerPamela Dragosh <pdragosh@research.att.com>2017-02-22 14:47:02 -0500
commit4c8a4135774d640d4083820231c6ac3e81c8e6d0 (patch)
tree893a361ed3bb43028777875905e8eb6392154213
parentb174339050dbb77135253b19efc2dc8de2331127 (diff)
hardcoding nexus for demo team
Change-Id: I69f516128a3209c40441de568bac506b09f4ea45 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--.gitignore3
-rw-r--r--docker-compose.yml14
-rw-r--r--docker_verify.sh10
3 files changed, 10 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..5ddaecd7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+.project
+.settings
+target
diff --git a/docker-compose.yml b/docker-compose.yml
index 8dd23257..791f0589 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,17 +1,17 @@
version: '2'
services:
mariadb:
- image: openecomp/policy/policy-db
+ image: nexus3.openecomp.org:10001/openecomp/policy/policy-db
container_name: mariadb
hostname: mariadb
ports:
- "3306:3306"
nexus:
- image: openecomp/policy/policy-nexus
+ image: nexus3.openecomp.org:10001/openecomp/policy/policy-nexus
container_name: nexus
hostname: nexus
pap:
- image: openecomp/policy/policy-pe
+ image: nexus3.openecomp.org:10001/openecomp/policy/policy-pe
container_name: pap
depends_on:
- mariadb
@@ -23,7 +23,7 @@ services:
volumes:
- ./config/pe:/tmp/policy-install/config
pdp:
- image: openecomp/policy/policy-pe
+ image: nexus3.openecomp.org:10001/openecomp/policy/policy-pe
container_name: pdp
depends_on:
- pap
@@ -34,7 +34,7 @@ services:
volumes:
- ./config/pe:/tmp/policy-install/config
pypdp:
- image: openecomp/policy/policy-pe
+ image: nexus3.openecomp.org:10001/openecomp/policy/policy-pe
container_name: pypdp
depends_on:
- pap
@@ -45,7 +45,7 @@ services:
volumes:
- ./config/pe:/tmp/policy-install/config
brmsgw:
- image: openecomp/policy/policy-pe
+ image: nexus3.openecomp.org:10001/openecomp/policy/policy-pe
container_name: brmsgw
depends_on:
- pap
@@ -54,7 +54,7 @@ services:
volumes:
- ./config/pe:/tmp/policy-install/config
drools:
- image: openecomp/policy/policy-drools
+ image: nexus3.openecomp.org:10001/openecomp/policy/policy-drools
container_name: drools
depends_on:
- mariadb
diff --git a/docker_verify.sh b/docker_verify.sh
index 6e424c91..8cbfe993 100644
--- a/docker_verify.sh
+++ b/docker_verify.sh
@@ -6,13 +6,3 @@ echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
DOCKER_REPOSITORY=nexus3.openecomp.org:10003
DOCKER_VERSION=latest
-cp policy-pe/* target/policy-pe/
-cp policy-drools/* target/policy-drools/
-
-for image in policy-os policy-nexus policy-db policy-base policy-drools policy-pe ; do
- echo "Building $image"
- mkdir -p target/$image
- cp $image/* target/$image
- docker build --quiet --tag openecomp/policy/$image:${DOCKER_VERSION} --tag ${DOCKER_REPOSITORY}/openecomp/policy/$image:${DOCKER_VERSION} target/$image
- docker images
-done