mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 12:13:55 +09:00
The target was defined three times, so make emitted an override warning on every invocation and the last definition silently won. All three recipes were identical, so collapsing them to the one declared .PHONY changes no behaviour. Signed-off-by: Aleksei Sviridkin <f@lex.la>
27 lines
803 B
Makefile
27 lines
803 B
Makefile
MARIADB_BACKUP_TAG = $(shell awk '$$1 == "version:" {print $$2}' Chart.yaml)
|
|
|
|
include ../../../hack/common-envs.mk
|
|
include ../../../hack/package.mk
|
|
|
|
generate:
|
|
cozyvalues-gen -m 'mariadb' -v values.yaml -s values.schema.json -r README.md -g ../../../api/apps/v1alpha1/mariadb/types.go
|
|
../../../hack/update-crd.sh
|
|
|
|
update:
|
|
hack/update-versions.sh
|
|
make generate
|
|
|
|
.PHONY: test
|
|
test:
|
|
helm unittest .
|
|
|
|
image:
|
|
docker buildx build images/mariadb-backup \
|
|
$(call image-tags,mariadb-backup,$(MARIADB_BACKUP_TAG)) \
|
|
$(call cache-args,mariadb-backup) \
|
|
--metadata-file images/mariadb-backup.json \
|
|
$(BUILDX_ARGS)
|
|
echo "$(REGISTRY)/mariadb-backup:$(IMAGE_TAG)@$$(yq e '."containerimage.digest"' images/mariadb-backup.json -o json -r)" \
|
|
> images/mariadb-backup.tag
|
|
rm -f images/mariadb-backup.json
|