aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-04-25 09:57:34 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-04-25 09:57:34 -0700
commit34f65d52effdf97819ee3201920d0b6b53d87c2f (patch)
treed8d7c3e069c9624b3beac09eeeaf87f5dc995570 /deployment/heat/onap-oom/k8s_vm_entrypoint.sh
parent333ec458d259b97506d0e891b6728bad75d233db (diff)
Add default integration-override.yaml
Add a default integration-override.yaml for generic labs not yet in source control. Change-Id: I24aaf1bc5924ce39e6477124e2ee36b64a9e66c5 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/k8s_vm_entrypoint.sh')
-rw-r--r--deployment/heat/onap-oom/k8s_vm_entrypoint.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
index f4c6eb6a5..7e8ca46fe 100644
--- a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
+++ b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh
@@ -145,6 +145,7 @@ git log -1
cd ~
ln -s ~/integration/deployment/heat/onap-oom/env/__lab_name__/integration-override.yaml
+sed -i 's/nexus3.onap.org:10001/__docker_proxy__/g' integration-override.yaml
# version control the persistence volume to see what's happening
@@ -168,7 +169,12 @@ helm repo add local http://127.0.0.1:8879
helm repo list
make all
helm search -l | grep local
-helm install local/onap -n dev --namespace onap -f ~/integration/deployment/heat/onap-oom/env/__lab_name__/integration-override.yaml
+if [ -e ~/integration-override.yaml ]; then
+ helm install local/onap -n dev --namespace onap -f ~/integration-override.yaml
+else
+ helm install local/onap -n dev --namespace onap
+fi
+
# Check ONAP status:
sleep 3