chore: update for deployment
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									b608a22cfd
								
							
						
					
					
						commit
						97f89d210b
					
				|  | @ -17,7 +17,7 @@ $ go build -o ./tmp/go-judge ./cmd/go-judge | |||
| 5. Run `go-judge`. | ||||
| ```bash | ||||
| $ # make sure you are in go-judge directory | ||||
| $ ./tmp/go-judge -enable-grpc -enable-debug -enable-metrics | ||||
| $ ./tmp/go-judge -http-addr 0.0.0.0:5050 -grpc-addr 0.0.0.0:5051 -monitor-addr 0.0.0.0:5052 -enable-grpc -enable-debug -enable-metrics | ||||
| ``` | ||||
| 
 | ||||
| 6. Pull submodules. It might be slow, so only run it when necessary. | ||||
|  |  | |||
|  | @ -18,6 +18,7 @@ type Sandbox struct { | |||
| func (e *Sandbox) Run(cmds []stage.Cmd) ([]stage.ExecutorResult, error) { | ||||
| 	var err error | ||||
| 	if e.execClient == nil { | ||||
| 		slog.Debug("create exec client", "server", e.execServer) | ||||
| 		e.execClient, err = createExecClient(e.execServer, e.token) | ||||
| 		if err != nil { | ||||
| 			return nil, err | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user