diff --git a/kubernetes/chartmuseum/debian/deb_folder/rules b/kubernetes/chartmuseum/debian/deb_folder/rules index 028582fd2..ccd0e757f 100755 --- a/kubernetes/chartmuseum/debian/deb_folder/rules +++ b/kubernetes/chartmuseum/debian/deb_folder/rules @@ -9,7 +9,6 @@ export BINDIR = $(ROOT)/usr/bin dh $@ override_dh_auto_build: - tar xfz chartmuseum-$(CHARTMUSEUM_VERSION).tar.gz override_dh_auto_clean: diff --git a/kubernetes/chartmuseum/debian/dl_hook b/kubernetes/chartmuseum/debian/dl_hook deleted file mode 100755 index 1146f9c75..000000000 --- a/kubernetes/chartmuseum/debian/dl_hook +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -set -x - -PKG_BUILD_NAME=$1 -PKG_BUILD_ROOT=$(realpath `pwd`/${PKG_BUILD_NAME}) - -mkdir ${PKG_BUILD_ROOT} -pushd ${PKG_BUILD_ROOT} - -# Local mirror workaround until CGCS_BASE mirror is supported. -STX_MIRROR=$(realpath "/import/mirrors/starlingx") - -# Download and extract helm source package. -CM_SOURCE=$(realpath ${STX_MIRROR}/downloads/chartmuseum-0.12.0.tar.gz) -CM_EXEC=$(realpath ${STX_MIRROR}/downloads/chartmuseum-v0.12.0-amd64) -cp ${CM_SOURCE} ${PKG_BUILD_ROOT} -cp ${CM_EXEC} ${PKG_BUILD_ROOT} diff --git a/kubernetes/chartmuseum/debian/meta_data.yaml b/kubernetes/chartmuseum/debian/meta_data.yaml index 064a78814..b800f084a 100644 --- a/kubernetes/chartmuseum/debian/meta_data.yaml +++ b/kubernetes/chartmuseum/debian/meta_data.yaml @@ -1,7 +1,15 @@ --- debname: chartmuseum debver: 0.12.0-1 -dl_hook: dl_hook +dl_path: + name: chartmuseum-0.12.0.tar.gz + url: https://github.com/helm/chartmuseum/archive/v0.12.0.tar.gz + md5sum: 5c4cadff25c20e3fc17f079a457bddd9 +dl_files: + chartmuseum-v0.12.0-amd64: + topdir: null + url: https://s3.amazonaws.com/chartmuseum/release/v0.12.0/bin/linux/amd64/chartmuseum + md5sum: fba48bf948c224e662e84e7b295899f2 revision: dist: $STX_DIST PKG_GITREVCOUNT: true