27 lines
		
	
	
		
			510 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			510 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 
								 | 
							
								.DEFAULT_GOAL := all
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								build: clean
							 | 
						||
| 
								 | 
							
									bee pack
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								run:
							 | 
						||
| 
								 | 
							
									bee run -gendoc=true -downdoc=true
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								debug:
							 | 
						||
| 
								 | 
							
									bee run -downdebug -gendebug
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								clean:
							 | 
						||
| 
								 | 
							
									rm -rf oc-peer.tar.gz
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								docker:
							 | 
						||
| 
								 | 
							
									DOCKER_BUILDKIT=1 docker build -t oc/oc-scheduler:0.0.1 -f Dockerfile .
							 | 
						||
| 
								 | 
							
									docker tag oc/oc-scheduler:0.0.1 oc/oc-scheduler:latest
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								publish-kind:
							 | 
						||
| 
								 | 
							
									kind load docker-image oc/oc-scheduler:0.0.1 --name opencloud
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								publish-registry:
							 | 
						||
| 
								 | 
							
									@echo "TODO"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								all: docker publish-kind publish-registry
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								.PHONY: build run clean docker publish-kind publish-registry
							 |