Move common-envs.mk and package.mk from scripts/ to hack/ directory. Update all Makefile includes to use new paths. Remove unused issue-flux-certificates.sh script. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
21 lines
693 B
Makefile
21 lines
693 B
Makefile
GRAFANA_TAG = $(shell awk '$$1 == "version:" {print $$2}' Chart.yaml)
|
|
|
|
NAME=monitoring
|
|
|
|
include ../../../hack/common-envs.mk
|
|
include ../../../hack/package.mk
|
|
|
|
generate:
|
|
cozyvalues-gen -v values.yaml -s values.schema.json -r README.md
|
|
../../../hack/update-crd.sh
|
|
|
|
image:
|
|
docker buildx build images/grafana \
|
|
--tag $(REGISTRY)/grafana:$(call settag,$(GRAFANA_TAG)) \
|
|
--cache-from type=registry,ref=$(REGISTRY)/grafana:latest \
|
|
--cache-to type=inline \
|
|
--metadata-file images/grafana.json \
|
|
$(BUILDX_ARGS)
|
|
echo "$(REGISTRY)/grafana:$(call settag,$(GRAFANA_TAG))@$$(yq e '."containerimage.digest"' images/grafana.json -o json -r)" \
|
|
> images/grafana.tag
|
|
rm -f images/grafana.json
|