forked from liatrio/lead-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (16 loc) · 823 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PLANS := $(wildcard stages/cloud-provider/*/*) $(wildcard stages/apps/*) $(wildcard stages/config/*) $(wildcard stacks/*)
.PHONY: validate clean test test-aws test-aws-nodestroy package-kube-downscaler $(PLANS)
init validate clean: $(PLANS)
$(PLANS):
$(MAKE) -C $@ $(MAKECMDGOALS)
test:
cd tests && go test ./local -timeout 90m -v --count=1 -parallel 3
test-aws:
cd tests && go test ./aws -timeout 90m -v --count=1
test-aws-nodestroy:
cd tests && go test ./local -timeout 90m -v --count=1 --destroyCluster=false
package-kube-downscaler:
git clone https://github.com/hjacobs/kube-downscaler.git /tmp/kube-downscaler/
helm package /tmp/kube-downscaler/helm-chart -d /tmp/kube-downscaler/
helm s3 push /tmp/kube-downscaler/kube-downscaler-*.tgz liatrio-s3 --acl "public-read" --force
rm -rf /tmp/kube-downscaler