|
|
@ -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 |
|
|
|