From e2ba804f10b9b50fbd817b0fbae620a43275b626 Mon Sep 17 00:00:00 2001 From: Angie Wang Date: Mon, 8 Apr 2019 17:44:25 -0400 Subject: [PATCH] Update build-helm-charts.sh to include image versions The build-stx-images.sh has been updated to store image versions to files after building and pushing images. This commit updates the chart build to allow specifying the path to the image files/urls as input for building image versions into armada manifest and the label of the application tarball which is used to construct the tarball name. The default stable latest images in the manifest will be used if there's no image file passed. Change-Id: Ideea6ef3b9298a182be26fc1295456a978338f45 Story: 2005350 Task: 30419 Signed-off-by: Angie Wang --- build-tools/build-helm-charts.sh | 86 +++++++++++++++++++++++++++++--- 1 file changed, 79 insertions(+), 7 deletions(-) diff --git a/build-tools/build-helm-charts.sh b/build-tools/build-helm-charts.sh index 06c6d362..405f0ef4 100755 --- a/build-tools/build-helm-charts.sh +++ b/build-tools/build-helm-charts.sh @@ -17,19 +17,29 @@ fi SUPPORTED_OS_ARGS=('centos') OS=centos +LABEL="" +declare -a IMAGE_FILES function usage { cat >&2 < ] [ --verbose ] +$(basename $0) [ --os ] [-i, --image-file ] [--label