|
|
|
@ -1,6 +1,6 @@ |
|
|
|
#export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
|
|
|
|
export REGISTRY=registry.reymota.es |
|
|
|
export IMG_VERSION = 1.20 |
|
|
|
export IMG_VERSION = 1.21 |
|
|
|
|
|
|
|
# limpia todo
|
|
|
|
all: imagen clean install |
|
|
|
@ -9,20 +9,20 @@ imagen: |
|
|
|
cd Imagen/; make |
|
|
|
|
|
|
|
install: |
|
|
|
-kubectl create -f namespace.yaml |
|
|
|
-kubectl create -f jenkins-05-namespace.yaml |
|
|
|
-kubectl create -f reg-secret.yaml |
|
|
|
-kubectl create -f jenkins-01-serviceAccount.yaml |
|
|
|
-kubectl create -f jenkins-10-serviceAccount.yaml |
|
|
|
|
|
|
|
-kubectl create -f jenkins-02-volume.yaml |
|
|
|
-envsubst < jenkins-03-deployment.yaml |kubectl create -f - |
|
|
|
-kubectl create -f jenkins-04-service.yaml |
|
|
|
-kubectl create -f jenkins-05-ingress.yaml |
|
|
|
-kubectl create -f jenkins-25-volume.yaml |
|
|
|
-envsubst < jenkins-30-deployment.yaml |kubectl create -f - |
|
|
|
-kubectl create -f jenkins-40-service.yaml |
|
|
|
-kubectl create -f jenkins-50-ingress.yaml |
|
|
|
|
|
|
|
clean: |
|
|
|
-kubectl delete -f jenkins-05-ingress.yaml |
|
|
|
-kubectl delete -f jenkins-04-service.yaml |
|
|
|
-envsubst < jenkins-03-deployment.yaml |kubectl delete -f - |
|
|
|
-kubectl delete -f jenkins-02-volume.yaml |
|
|
|
-kubectl delete -f jenkins-01-serviceAccount.yaml |
|
|
|
-kubectl delete -f jenkins-50-ingress.yaml |
|
|
|
-kubectl delete -f jenkins-40-service.yaml |
|
|
|
-envsubst < jenkins-30-deployment.yaml |kubectl delete -f - |
|
|
|
-kubectl delete -f jenkins-25-volume.yaml |
|
|
|
-kubectl delete -f jenkins-10-serviceAccount.yaml |
|
|
|
-kubectl delete -f reg-secret.yaml |
|
|
|
-kubectl delete -f namespace.yaml |
|
|
|
-kubectl delete -f jenkins-05-namespace.yaml |