From a6558281a12e16ab3d6f3b94746e38db76df425f Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Mon, 22 Apr 2019 07:26:09 -0500 Subject: [PATCH] Gate: Remove stable helm repo is present to improve build time This PS remvoes the stable helm repo, if present, to improve the build time of patches. Change-Id: Id6ec86e5ff426994b12adf4ca8e80eda2e52f147 Signed-off-by: Pete Birley --- tools/deployment/common/005-deploy-k8s.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/deployment/common/005-deploy-k8s.sh b/tools/deployment/common/005-deploy-k8s.sh index c69e1b74c..95a76fe19 100755 --- a/tools/deployment/common/005-deploy-k8s.sh +++ b/tools/deployment/common/005-deploy-k8s.sh @@ -181,6 +181,9 @@ sudo systemctl daemon-reload sudo systemctl restart helm-serve sudo systemctl enable helm-serve +# Remove stable repo, if present, to improve build time +helm repo remove stable || true + # Set up local helm repo helm repo add local http://localhost:8879/charts helm repo update