fix gitlab ci
This commit is contained in:
		
							parent
							
								
									0508a4867e
								
							
						
					
					
						commit
						dc9baffeb6
					
				|  | @ -12,8 +12,9 @@ before_script: | |||
| build-my-project: | ||||
|   stage: build | ||||
|   script: | ||||
|     - go install dev.sum7.eu/$CI_PROJECT_PATH/... | ||||
|     - mv /go/bin/$CI_PROJECT_NAME /builds/$CI_PROJECT_PATH | ||||
|     - go install dev.sum7.eu/$CI_PROJECT_PATH/logging/... | ||||
|     - mv /go/bin/service /builds/mu-logging-srv | ||||
|     - mv /go/bin/cmd /builds/mu-logging-cmd | ||||
|   artifacts: | ||||
|     paths: | ||||
|       - $CI_PROJECT_NAME | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ import ( | |||
| var logRecieved = false | ||||
| 
 | ||||
| func main() { | ||||
| 	flag.BoolVar(&logRecieved, "recieved", logRecieved, "show recieved log on console") | ||||
| 	flag.BoolVar(&logRecieved, "received", logRecieved, "show received log on console") | ||||
| 	flag.Parse() | ||||
| 	lib.LogUpdateConfig() | ||||
| 
 | ||||
|  | @ -124,5 +124,5 @@ func main() { | |||
| 	sigs := make(chan os.Signal, 1) | ||||
| 	signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM) | ||||
| 	sig := <-sigs | ||||
| 	log.WithField("recieved", sig).Info("stopped") | ||||
| 	log.WithField("received", sig).Info("stopped") | ||||
| } | ||||
|  |  | |||
		Reference in New Issue