Merge "chartmuseum: update meta_data.yaml to remove dl_hook"

This commit is contained in:
Zuul 2021-12-11 20:46:02 +00:00 committed by Gerrit Code Review
commit 07546d6753
3 changed files with 9 additions and 19 deletions

View File

@ -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:

View File

@ -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}

View File

@ -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