WIP on master: 6962ddd add build and test targets
				
					
				
			This commit is contained in:
		
						commit
						af7cee5290
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		
							
								
								
									
										10
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -7,13 +7,19 @@ include make-deploy/cron.mk
 | 
				
			||||||
include make-deploy/kustomize.mk
 | 
					include make-deploy/kustomize.mk
 | 
				
			||||||
include make-deploy/helm.mk
 | 
					include make-deploy/helm.mk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: self-update build test deploy pre-deploy post-deploy pre-local post-local upload pull start stop restart reload
 | 
					.PHONY: self-update prepare build test deploy pre-deploy post-deploy pre-local post-local upload pull start stop restart reload
 | 
				
			||||||
 | 
					
 | 
				
			||||||
self-update:
 | 
					self-update:
 | 
				
			||||||
	@- git submodule update --remote
 | 
						@- git submodule update --remote
 | 
				
			||||||
 | 
					
 | 
				
			||||||
deploy: build test upload pre-deploy pre-local pull start post-local post-deploy reload
 | 
					deploy: prepare build test upload pre-deploy pre-local pull start post-local post-deploy reload
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					prepare:
 | 
				
			||||||
 | 
						@- echo "\n### preparing ..."
 | 
				
			||||||
 | 
						@- $(foreach host,$(DEPLOY_HOSTS), \
 | 
				
			||||||
 | 
							ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH); mkdir $(DEPLOY_NAME)"; \
 | 
				
			||||||
 | 
						)
 | 
				
			||||||
 | 
						
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
ifneq (,$(wildcard build.sh))
 | 
					ifneq (,$(wildcard build.sh))
 | 
				
			||||||
	@- echo "\n### running build script"
 | 
						@- echo "\n### running build script"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue