From 228dbba6c3a7aadeba24eabd68649ed6bf0bdfbc Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 26 Jan 2021 15:44:25 +0100 Subject: 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 --- build/data_lists/infra_bin_utils.list | 1 + build/package.py | 3 +++ 2 files changed, 4 insertions(+) (limited to 'build') 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 -- cgit 1.2.3-korg