You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
879 B

#export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
export REGISTRY=registry.reymota.es
export IMG_VERSION = 1.21
# limpia todo
all: imagen clean install
imagen:
cd Imagen/; make
install:
-kubectl create -f jenkins-05-namespace.yaml
-kubectl create -f reg-secret.yaml
-kubectl create -f jenkins-10-serviceAccount.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-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 jenkins-05-namespace.yaml