-
Notifications
You must be signed in to change notification settings - Fork 719
/
Makefile
34 lines (25 loc) · 875 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
help:
./bin/charts-build-scripts --help
pull-scripts:
./scripts/pull-scripts
remove:
./scripts/remove-asset
forward-port:
./scripts/forward-port
check-release-yaml:
./scripts/check-release-yaml
validate:
@./scripts/pull-scripts
@./bin/charts-build-scripts validate $(if $(filter true,$(remote)),--remote) $(if $(filter true,$(local)),--local)
chart-bump:
@if [ -z "$(package)" ] || [ -z "$(branch)" ]; then \
echo "Error: package and branch arguments are required."; \
exit 1; \
fi
@./scripts/pull-scripts
@./bin/charts-build-scripts chart-bump --package="$(package)" --branch="$(branch)"
TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize template regsync check-images check-rc enforce-lifecycle lifecycle-status auto-forward-port
$(TARGETS):
@./scripts/pull-scripts
@./bin/charts-build-scripts $@
.PHONY: $(TARGETS)