diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-11-25 15:22:16 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-11-25 15:22:16 +0100 |
commit | b74f01fdd376330509233b0146b90c0efb782d98 (patch) | |
tree | 4e79e79737a7ab1c3c664432bcf680737e60c773 /build/creating_data | |
parent | 7f8b8e7cdc41ef31a11516340aa58b28e23e2175 (diff) |
Support "fake" OOM deployment
"Fake deployment" is an OOM offline deployment mode which
allows to enumerate docker images utilized by auxiliary platform
deployment tools, which are not used by any real ONAP helm charts,
by the means of "helm template".
Change-Id: Iaa26281a1e7ef7ac68bb9e9a99521e5791f913b6
Issue-ID: OOM-2639
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'build/creating_data')
-rwxr-xr-x | build/creating_data/docker-images-collector.sh | 2 |
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 73c19bc4..d1233a83 100755 --- a/build/creating_data/docker-images-collector.sh +++ b/build/creating_data/docker-images-collector.sh @@ -64,7 +64,7 @@ create_list() { else >&2 echo -e \n" !!! ${1} sybsystem does not exist !!!"\n fi - helm template --set global.masterPassword=TemplatePassword -f ${PROJECT_DIR}/values.yaml "${SUBSYS_DIR}" | grep 'image:\ \|tag_version:\ \|h._image' | + helm template --set global.masterPassword=TemplatePassword,global.offlineDeploymentBuild=true -f ${PROJECT_DIR}/values.yaml "${SUBSYS_DIR}" | grep 'image:\ \|tag_version:\ \|h._image' | sed -e 's/^.*\"h._image\"\ :\ //; s/^.*\"\(.*\)\".*$/\1/' \ -e 's/\x27\|,//g; s/^.*\(image\|tag_version\):\ //' | tr -d '\r' } |