make deps call tools
This commit is contained in:
		
							parent
							
								
									5f19587dda
								
							
						
					
					
						commit
						99bb2041ae
					
				
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								Makefile
								
								
								
								
							|  | @ -88,7 +88,7 @@ vet: | |||
| 	@go vet $(PKG) | ||||
| 	@staticcheck $(PKG) | ||||
| 
 | ||||
| deps: | ||||
| deps: tools | ||||
| 	GO111MODULE=on go mod vendor | ||||
| 
 | ||||
| test: | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ pipeline: | |||
|               IMAGE=registry-write.opensource.zalan.do/acid/postgres-operator-test | ||||
|             fi | ||||
|             export IMAGE | ||||
|             make tools deps docker | ||||
|             make deps docker | ||||
|         - desc: 'Run unit tests' | ||||
|           cmd: | | ||||
|             export PATH=$PATH:$HOME/go/bin | ||||
|  |  | |||
|  | @ -33,7 +33,7 @@ by setting the `GO111MODULE` environment variable to `on`. The make targets do | |||
| this for you, so simply run | ||||
| 
 | ||||
| ```bash | ||||
| make tools deps | ||||
| make deps | ||||
| ``` | ||||
| 
 | ||||
| This would take a while to complete. You have to redo `make deps` every time | ||||
|  |  | |||
|  | @ -30,7 +30,7 @@ spec: | |||
| # Expert section | ||||
| 
 | ||||
|   enableShmVolume: true | ||||
|   spiloFSGroup: 103 | ||||
| #  spiloFSGroup: 103 | ||||
|   postgresql: | ||||
|     version: "11" | ||||
|     parameters: | ||||
|  |  | |||
|  | @ -98,7 +98,7 @@ function build_operator_binary(){ | |||
| 
 | ||||
|     # redirecting stderr greatly reduces non-informative output during normal builds | ||||
|     echo "Build operator binary (stderr redirected to /dev/null)..." | ||||
|     make clean tools deps local test > /dev/null 2>&1 | ||||
|     make clean deps local test > /dev/null 2>&1 | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue