forked from cloudify-cosmo/cloudify-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (46 loc) · 2.09 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
SHELL = /bin/bash
export DOCKER_TAG ?= latest
dev-cluster:
kind create cluster --config "dev-cluster/kind-config.yaml"
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
# opt out of online validation, kind won't have access to the internet necessarily
kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission
.PHONY: dev-cluster
dev-cluster-ipv6:
kind create cluster --config "dev-cluster/kind-config-ipv6.yaml"
kubectl apply -f dev-cluster/deploy-ipv6.yaml
# opt out of online validation, kind won't have access to the internet necessarily
kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission
.PHONY: dev-cluster-ipv6
regcred:
dev-cluster/aws_regcred.sh
.PHONY: regcred
load-images:
kind load docker-image cloudify-manager-mgmtworker:$$DOCKER_TAG
kind load docker-image cloudify-manager-apiservice:$$DOCKER_TAG
kind load docker-image cloudify-manager-rest_service:$$DOCKER_TAG
kind load docker-image cloudify-manager-execution_scheduler:$$DOCKER_TAG
kind load docker-image cloudify-manager-nginx:$$DOCKER_TAG
kind load docker-image cloudify-manager-rabbitmq:$$DOCKER_TAG
kind load docker-image stage_frontend:$$DOCKER_TAG
kind load docker-image stage_backend:$$DOCKER_TAG
kind load docker-image composer_frontend:$$DOCKER_TAG
kind load docker-image composer_backend:$$DOCKER_TAG
docker pull bitnami/minio-client:latest
kind load docker-image bitnami/minio-client:latest
docker pull minio/minio:latest
kind load docker-image minio/minio:latest
docker pull postgres:latest
kind load docker-image postgres:latest
docker pull nginx:latest
kind load docker-image nginx:latest
docker pull prom/prometheus:latest
kind load docker-image prom/prometheus:latest
.PHONY: load-images
deploy:
dev-cluster/default_values_override.sh
helm install cloudify-services ./cloudify-services --values values-override.yaml
deploy-ipv6:
dev-cluster/default_values_override.sh
helm install cloudify-services ./cloudify-services --values values-override.yaml --values cloudify-services/values-ipv6.yaml
.PHONY: deploy