-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (31 loc) · 1.17 KB
/
Copy pathMakefile
File metadata and controls
44 lines (31 loc) · 1.17 KB
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
35
36
37
38
39
40
41
42
43
44
init: temp/certs/ca.key temp/certs/ca.crt temp/certs/ssh_key temp/certs/ssh_key.pub temp/secrets.sh temp/secrets.env
temp/certs/ca.key temp/certs/ca.crt temp/certs/ssh_key temp/certs/ssh_key.pub temp/secrets.sh temp/secrets.env:
@ ./scripts/init.sh
install:
@ ./scripts/install.sh
login:
@ . temp/secrets.sh; \
curl --silent --show-error --fail --insecure --retry 9 --retry-delay 5 --retry-all-errors --output /dev/null "https://api.cf.127-0-0-1.nip.io/v3/info"; \
echo "API is ready. Logging in..."; \
cf login -a https://api.cf.127-0-0-1.nip.io -u ccadmin -p "$$CC_ADMIN_PASSWORD" --skip-ssl-validation
create-kind:
@ ./scripts/create-kind.sh
delete-kind:
@ ./scripts/delete-kind.sh
create-org:
cf create-org test
cf create-space -o test test
cf target -o test -s test
@ ./scripts/set_feature_flags.sh
bootstrap: create-org
@ ./scripts/upload_buildpacks.sh
bootstrap-complete: create-org
@ ALL_BUILDPACKS=true ./scripts/upload_buildpacks.sh
up: create-kind init install
down: delete-kind
@ rm -rf temp
smoke:
@ ./scripts/smoke.sh
cats:
@ ./scripts/cats.sh
.PHONY: install login create-kind delete-kind up down create-org bootstrap bootstrap-complete smoke cats