summaryrefslogtreecommitdiffstats
path: root/k8s-bootstrap-container
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-05-04 16:02:38 -0400
committerLusheng Ji <lji@research.att.com>2018-05-04 16:02:53 -0400
commitdda9b82dff27429d9710db5069686553e367728b (patch)
treec5447aec63a986e29eecdd89b48580dda0b867e0 /k8s-bootstrap-container
parent3ef2fe028f4d51ee5a59847c70880a7634877457 (diff)
Do not quit if BP deployment times out
Issue-ID: DCAEGEN2-489 Change-Id: Ia21f31a73f1414e6869807c793f26ed143d8c9cf Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'k8s-bootstrap-container')
-rwxr-xr-xk8s-bootstrap-container/bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/k8s-bootstrap-container/bootstrap.sh b/k8s-bootstrap-container/bootstrap.sh
index e043460..cea06ce 100755
--- a/k8s-bootstrap-container/bootstrap.sh
+++ b/k8s-bootstrap-container/bootstrap.sh
@@ -81,6 +81,8 @@ do
done
set -e
+set +e
+# (don't let failure of one stop the script. this is likely due to image pull taking too long)
# Deploy platform components
deploy config_binding_service k8s-config_binding_service.yaml k8s-config_binding_service-inputs.yaml
deploy inventory k8s-inventory.yaml k8s-inventory-inputs.yaml
@@ -89,8 +91,6 @@ deploy policy_handler k8s-policy_handler.yaml k8s-policy_handler-inputs.yaml
deploy pgaas_initdb k8s-pgaas-initdb.yaml k8s-pgaas-initdb-inputs.yaml
# Deploy service components
-# (don't let failure of one stop the script)
-set +e
deploy tca k8s-tca.yaml k8s-tca-inputs.yaml
deploy ves k8s-ves.yaml k8s-ves-inputs.yaml
# holmes_rules must be deployed before holmes_engine