integ/kubernetes/chartmuseum/debian/deb_folder/rules
Luan Nunes Utimura f491502929 Upversion chartmuseum from 0.12.0 to 0.13.0
It was recently noted that the `chartmuseum` 0.12.0 binary, hosted on
Amazon S3 [1], is no longer publicly accessible, i.e., the endpoint is
returning `403 Forbidden` when accessed.

Since this is impacting the setup of new build environments, this change
proposes the upversion of `chartmuseum` to 0.13.0 and the use of the
corresponding binary hosted on get.helm.sh [2].

[1] https://s3.amazonaws.com/chartmuseum/release/v0.12.0/bin/linux/amd64/chartmuseum
[2] https://get.helm.sh/chartmuseum-v0.13.0-linux-amd64.tar.gz

Test Plan:
PASS - Run downloader successfully
PASS - Build chartmuseum package
PASS - Build package that depends on chartmuseum, e.g., openstack-helm

Closes-Bug: 2012283

Change-Id: I8f35bef60ffc7ba32a49111218e3022d7d5b4f69
Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
2023-08-08 09:59:54 -03:00

21 lines
410 B
Makefile
Executable File

#!/usr/bin/make -f
# export DH_VERBOSE = 1
export CHARTMUSEUM_VERSION = 0.13.0
export ROOT = debian/tmp
export BINDIR = $(ROOT)/usr/bin
%:
dh $@
override_dh_auto_build:
tar xfz chartmuseum-v$(CHARTMUSEUM_VERSION)-linux-amd64.tar.gz
override_dh_auto_clean:
override_dh_auto_install:
install -d -m 755 $(BINDIR)
install -p -D -m 755 linux-amd64/chartmuseum $(BINDIR)/chartmuseum
override_dh_auto_test: