summaryrefslogtreecommitdiffstats
path: root/build/creating_data
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-04-06 12:04:54 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-04-19 10:35:32 +0000
commitb219bc6f2b00d9d2a039b5ab8c41066f06422a1d (patch)
treef8eca565ce5a9ba5a72dc16d3b8a23f082f56254 /build/creating_data
parentd061f5d854b5d511b2e9ace115517e65ea3ba3ba (diff)
[BUILD] Improve helm template output
In Jakarta a ConfigMap object has been added in dcaemod chart that contains a raw helm chart definition with templated "image" value that should not be parsed by the script to avoid vague output. Change-Id: I6ea7e1e163a704f66aea59d44a09ff330fdc86bc Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'build/creating_data')
-rwxr-xr-xbuild/creating_data/docker-images-collector.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/creating_data/docker-images-collector.sh b/build/creating_data/docker-images-collector.sh
index 25e9ed47..5ce2e3f7 100755
--- a/build/creating_data/docker-images-collector.sh
+++ b/build/creating_data/docker-images-collector.sh
@@ -65,7 +65,7 @@ create_list() {
else
>&2 echo -e \n" !!! ${1} sybsystem does not exist !!!"\n
fi
- ${HELM_BIN} template --set global.masterPassword=TemplatePassword,global.offlineDeploymentBuild=true,global.importCustomCertsEnabled=true -f ${PROJECT_DIR}/values.yaml "${SUBSYS_DIR}" | grep 'image:\ \|tag_version:\ \|h._image' |
+ ${HELM_BIN} template --set global.masterPassword=TemplatePassword,global.offlineDeploymentBuild=true,global.importCustomCertsEnabled=true -f ${PROJECT_DIR}/values.yaml "${SUBSYS_DIR}" | grep 'image:\ \|tag_version:\ \|h._image' | grep -v "image: TBD" |
sed -e 's/^.*\"h._image\"\ :\ //; s/^.*\"\(.*\)\".*$/\1/' \
-e 's/\x27\|,//g; s/^.*\(image\|tag_version\):\ //' | tr -d '\r'
}