summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-01-26 15:44:25 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-01-26 15:44:25 +0100
commit228dbba6c3a7aadeba24eabd68649ed6bf0bdfbc (patch)
treecc95869e25b5dbd46c3d56dcb43fa2cfc228a702
parente16c7beac85b9a4f04a0b3b8a91ff872d8e99ae5 (diff)
Add 'chartmuseum' binary to downloaded utilities list
Packaging script is also altered to properly symlink the chartmuseum binary. Change-Id: I9a2f526852ae1ebdc0763a06a2cf22f093090aa6 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--build/data_lists/infra_bin_utils.list1
-rwxr-xr-xbuild/package.py3
2 files changed, 4 insertions, 0 deletions
diff --git a/build/data_lists/infra_bin_utils.list b/build/data_lists/infra_bin_utils.list
index 36a9fe6b..41462645 100644
--- a/build/data_lists/infra_bin_utils.list
+++ b/build/data_lists/infra_bin_utils.list
@@ -1,3 +1,4 @@
https://storage.googleapis.com/kubernetes-release/release/v1.15.11/bin/linux/amd64/kubectl
https://get.helm.sh/helm-v2.16.6-linux-amd64.tar.gz
https://github.com/rancher/rke/releases/download/v1.0.4/rke_linux-amd64
+https://s3.amazonaws.com/chartmuseum/release/latest/bin/linux/amd64/chartmuseum
diff --git a/build/package.py b/build/package.py
index c3d89d30..14664ca6 100755
--- a/build/package.py
+++ b/build/package.py
@@ -252,6 +252,9 @@ def build_offline_deliverables(build_version,
kubectl_files = glob.glob(os.path.join('.', '**/kubectl'), recursive=True)
os.symlink(kubectl_files[0], os.path.join(download_dir_path, kubectl_files[0].split('/')[-1]))
+ chartmuseum_files = glob.glob(os.path.join('.', '**/chartmuseum'), recursive=True)
+ os.symlink(chartmuseum_files[0], os.path.join(download_dir_path, chartmuseum_files[0].split('/')[-1]))
+
os.chdir(script_location)
# End of workaround