Browse Source

强制更新k8s的部署

dev
panda 3 years ago
parent
commit
c9edc6e97e
  1. 1
      Makefile

1
Makefile

@ -91,6 +91,7 @@ deployK8s: docker
@if [ $(GIT_BRANCH) = $(BRANCH_TEST) ] || [ $(GIT_BRANCH) = $(BRANCH_STAGING) ] || [ $(GIT_BRANCH) = $(BRANCH_MASTER) ]; then\
$(SHELL_EXPORT) envsubst < deployK8s.yaml > $(TMP_FILE_DEPLOY) ; kubectl apply -f $(TMP_FILE_DEPLOY) ; \
kubectl replace -f $(TMP_FILE_DEPLOY) --force; \
else \
echo !!!!! no docker building in branch $(GIT_BRANCH) !!!!!!; \
fi

Loading…
Cancel
Save