Compare commits
	
		
			4 Commits
		
	
	
		
			v0.1.0
			...
			0b1826951e
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0b1826951e | |||
| f080034fa4 | |||
| 2de398032c | |||
| 6374aabd64 | 
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,8 +1,9 @@
 | 
			
		||||
.PHONY: all test build docker install clean proto check_protoc
 | 
			
		||||
 | 
			
		||||
CMD_NAME := demo-app
 | 
			
		||||
CMD_NAME := go-server-with-otel
 | 
			
		||||
VERSION ?= development
 | 
			
		||||
API_DIR := api/
 | 
			
		||||
SCHEMA_DIR := contrib/
 | 
			
		||||
PROTO_DIRS := $(wildcard proto/demo/app/*) # TODO: Update path (probably not demo)
 | 
			
		||||
PLATFORMS := linux/amd64 linux/arm64 darwin/amd64 darwin/arm64
 | 
			
		||||
OUTPUT_DIR := bin
 | 
			
		||||
@@ -16,7 +17,9 @@ proto: check_protoc $(API_DIR)
 | 
			
		||||
		--go_out=$(API_DIR) --go_opt=paths=source_relative \
 | 
			
		||||
		--go-grpc_out=$(API_DIR) --go-grpc_opt=paths=source_relative \
 | 
			
		||||
		--grpc-gateway_out=$(API_DIR) --grpc-gateway_opt=paths=source_relative \
 | 
			
		||||
		--openapiv2_out=$(API_DIR) \
 | 
			
		||||
		--openapiv2_out=$(SCHEMA_DIR) \
 | 
			
		||||
		--openapiv2_opt allow_merge=true \
 | 
			
		||||
		--openapiv2_opt merge_file_name=$(CMD_NAME) \
 | 
			
		||||
		$(foreach dir, $(PROTO_DIRS), $(wildcard $(dir)/*.proto))
 | 
			
		||||
 | 
			
		||||
test:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								TODO.md
									
									
									
									
									
								
							@@ -1,5 +1,8 @@
 | 
			
		||||
# Demo app TODO
 | 
			
		||||
 | 
			
		||||
- [ ] Update README for tagging/versioning/pipeline info
 | 
			
		||||
- [ ] Update README for detail on installing protoc tools and make
 | 
			
		||||
- [ ] Add helm external secrets support
 | 
			
		||||
- [x] Rename project
 | 
			
		||||
- [x] Finish grpc sample implementation
 | 
			
		||||
- [x] Add Dockerfile
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user