mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 22:13:18 +09:00
Wire tests/render-parity.sh into the chart's test target so CI verifies the pool objects stay byte-identical to the parent render. Signed-off-by: Ivan Okhotnikov <xorokhotnikov@gmail.com>
21 lines
723 B
Makefile
21 lines
723 B
Makefile
include ../../../hack/package.mk
|
|
|
|
.PHONY: test generate update
|
|
|
|
test:
|
|
helm unittest .
|
|
bash tests/render-parity.sh
|
|
|
|
generate:
|
|
cozyvalues-gen -m 'kubernetesnodes' -v values.yaml -s values.schema.json -r README.md -g ../../../api/apps/v1alpha1/kubernetesnodes/types.go
|
|
../../../hack/update-crd.sh
|
|
|
|
# Keep the worker-image inputs (Talos<->Kubernetes support matrix and the
|
|
# kubectl.tag used by the talos-reconcile Job) in lockstep with the parent
|
|
# kubernetes chart. They are copied, not symlinked, so `helm package` bundles
|
|
# them; run this after the parent chart's `make update`.
|
|
update:
|
|
cp ../kubernetes/files/versions.yaml files/versions.yaml
|
|
cp ../kubernetes/images/kubectl.tag images/kubectl.tag
|
|
$(MAKE) generate
|