mirror of https://github.com/knative/pkg.git
				
				
				
			[master] Auto-update dependencies (#1188)
Produced via: `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh` /assign n3wscott vagababov /cc n3wscott vagababov
This commit is contained in:
		
							parent
							
								
									55250e6aab
								
							
						
					
					
						commit
						0cf29f826c
					
				|  | @ -1362,14 +1362,14 @@ | |||
| 
 | ||||
| [[projects]] | ||||
|   branch = "master" | ||||
|   digest = "1:5da0f15efcd7dafa6296be9cd4a630fcb5253cf202e54638299221ae7df419ab" | ||||
|   digest = "1:d8858077778bca77705b26d5b5262bf33a6bfbaa701fffca1578fd7ef4c4b975" | ||||
|   name = "knative.dev/test-infra" | ||||
|   packages = [ | ||||
|     "scripts", | ||||
|     "tools/dep-collector", | ||||
|   ] | ||||
|   pruneopts = "UT" | ||||
|   revision = "5bdfbd623938f0cc4a260bf06c503bbb0a76d6f9" | ||||
|   revision = "cdec09517ea85b37691ab4a81ee85d74e7e91b7e" | ||||
| 
 | ||||
| [[projects]] | ||||
|   digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c" | ||||
|  |  | |||
|  | @ -177,11 +177,12 @@ function default_build_test_runner() { | |||
|     # Consider an error message everything that's not a package name. | ||||
|     errors_go1="$(grep -v '^\(github\.com\|knative\.dev\)/' "${report}" | sort | uniq)" | ||||
|   fi | ||||
|   # Get all build tags in go code (ignore /vendor) | ||||
|   # Get all build tags in go code (ignore /vendor and /hack) | ||||
|   local tags="$(grep -r '// +build' . \ | ||||
|       | grep -v '^./vendor/' | cut -f3 -d' ' | sort | uniq | tr '\n' ' ')" | ||||
|       | grep -v '^./vendor/' | grep -v '^./hack/' | cut -f3 -d' ' | sort | uniq | tr '\n' ' ')" | ||||
|   local tagged_pkgs="$(grep -r '// +build' . \ | ||||
|     | grep -v '^./vendor/' | grep ":// +build " | cut -f1 -d: | xargs dirname | sort | uniq | tr '\n' ' ')" | ||||
|     | grep -v '^./vendor/' | grep -v '^./hack/' | grep ":// +build " | cut -f1 -d: | xargs dirname \ | ||||
|     | sort | uniq | tr '\n' ' ')" | ||||
|   for pkg in ${tagged_pkgs}; do | ||||
|     # `go test -c` lets us compile the tests but do not run them. | ||||
|     if ! capture_output "${report}" go test -c -tags="${tags}" ${pkg} ; then | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue