summaryrefslogtreecommitdiffstats
path: root/boot/aai_vm_init.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-04-10 14:20:05 -0400
committerMarco Platania <platania@research.att.com>2017-04-10 14:20:05 -0400
commit706fd977b95c0889eac82b69b60316cc80ddde0f (patch)
tree62c386d5c1dccdcaa8562329b16ad9397eadfdd3 /boot/aai_vm_init.sh
parent030a42efc223fdd0b4e1b68e2cf993ae1d5c818d (diff)
remove gerrit credentials from heat
Change-Id: I9095e6f6232106768da6761f1b3ca4a68dee9632 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot/aai_vm_init.sh')
-rw-r--r--boot/aai_vm_init.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/boot/aai_vm_init.sh b/boot/aai_vm_init.sh
index 23b5951d..2c8a75b2 100644
--- a/boot/aai_vm_init.sh
+++ b/boot/aai_vm_init.sh
@@ -4,9 +4,6 @@ NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt)
-GITLAB_CERTNAME=$(cat /opt/config/gitlab_certname.txt)
-GITLAB_USERNAME=$(cat /opt/config/gitlab_username.txt)
-GITLAB_PASSWD=$(cat /opt/config/gitlab_password.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
# Pull HBase container from a public docker hub
@@ -20,7 +17,7 @@ sleep 180
docker pull $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:$DOCKER_IMAGE_VERSION
docker rm -f aai-service
-docker run --name=aai-service --net=host -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt -it -e GITLAB_CERTNAME=$GITLAB_CERTNAME -e GITLAB_USERNAME=$GITLAB_USERNAME -e GITLAB_PASSWORD=$GITLAB_PASSWD -e AAI_REPO_PATH=r/aai -e AAI_CHEF_ENV=simpledemo -d -e AAI_CHEF_LOC=/var/chef/aai-data/environments -e docker_gitbranch=master $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:$DOCKER_IMAGE_VERSION
+docker run --name=aai-service --net=host -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt -it -e AAI_REPO_PATH=r/aai -e AAI_CHEF_ENV=simpledemo -d -e AAI_CHEF_LOC=/var/chef/aai-data/environments -e docker_gitbranch=master $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:$DOCKER_IMAGE_VERSION
docker pull $NEXUS_DOCKER_REPO/openecomp/model-loader:$DOCKER_IMAGE_VERSION
docker rm -f model-loader-service