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
857 B

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