diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-04-03 14:57:17 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-04-03 14:57:17 -0700 |
commit | b5529a63b102609963b225a0b02302cf690c0953 (patch) | |
tree | 4cab85cf37f42ed4d1b2850836c69594e2de16b1 /deployment | |
parent | 22337773f750cc403c9ab4e83323168ee012fb67 (diff) |
Changes to match OOM refactoring
Change-Id: If6b22ae8892152ef916229d153ccd10ff3239627
Issue-ID: INT-381
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/heat/onap-oom/k8s_vm_entrypoint.sh | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh index 119e40a04..07ef2c371 100644 --- a/deployment/heat/onap-oom/k8s_vm_entrypoint.sh +++ b/deployment/heat/onap-oom/k8s_vm_entrypoint.sh @@ -19,7 +19,7 @@ Acquire::https::Proxy "DIRECT"; EOF fi apt-get -y update -apt-get -y install linux-image-extra-$(uname -r) jq +apt-get -y install linux-image-extra-$(uname -r) jq make cd ~ @@ -99,7 +99,7 @@ git clone -b master http://gerrit.onap.org/r/oom # Update values.yaml to point to docker-proxy instead of nexus3: cd ~/oom/kubernetes -perl -p -i -e 's/nexus3.onap.org:10001/__docker_proxy__/g' `find ./ -name values.yaml` oneclick/setenv.bash +perl -p -i -e 's/nexus3.onap.org:10001/__docker_proxy__/g' `find ./ -name values.yaml` KUBETOKEN=$(echo -n 'Basic '$(echo -n "$RANCHER_ACCESS_KEY:$RANCHER_SECRET_KEY" | base64 -w 0) | base64 -w 0) @@ -160,10 +160,6 @@ until [ $(kubectl get pods --namespace kube-system | tail -n +2 | grep -c Runnin sleep 10 done -# Source the environment file: -cd ~/oom/kubernetes/oneclick/ -source setenv.bash - # run the config pod creation cd ~/oom/kubernetes/config ./createConfig.sh -n onap @@ -183,8 +179,13 @@ git add -A git commit -m "initial commit" # Run ONAP: -cd ~/oom/kubernetes/oneclick/ -./createAll.bash -n onap +cd ~/oom/kubernetes/ +helm init --client-only +helm serve & +sleep 3 +helm repo add local http://127.0.0.1:8879 +make all +helm install local/onap --name dev --namespace onap # Check ONAP status: sleep 3 |