mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #40167 from spxtr/verify-boiler
Automatic merge from submit-queue (batch tested with PRs 39772, 39831, 39481, 40167, 40149) Add //hack:verify-boilerplate rule. This pattern is working well in test-infra. I'll add the gofmt and go vet rules next.
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -498,7 +498,7 @@ endef
 | 
				
			|||||||
	@echo "$$BAZEL_TEST_HELP_INFO"
 | 
						@echo "$$BAZEL_TEST_HELP_INFO"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
bazel-test:
 | 
					bazel-test:
 | 
				
			||||||
	bazel test  --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/...
 | 
						bazel test  --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/... //hack:verify-all
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(PRINT_HELP),y)
 | 
					ifeq ($(PRINT_HELP),y)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										15
									
								
								hack/BUILD
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								hack/BUILD
									
									
									
									
									
								
							@@ -19,3 +19,18 @@ filegroup(
 | 
				
			|||||||
    ],
 | 
					    ],
 | 
				
			||||||
    tags = ["automanaged"],
 | 
					    tags = ["automanaged"],
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sh_test(
 | 
				
			||||||
 | 
					    name = "verify-boilerplate",
 | 
				
			||||||
 | 
					    srcs = ["verify-boilerplate.sh"],
 | 
				
			||||||
 | 
					    data = ["//:all-srcs"],
 | 
				
			||||||
 | 
					    tags = ["manual"],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					test_suite(
 | 
				
			||||||
 | 
					    name = "verify-all",
 | 
				
			||||||
 | 
					    tags = ["manual"],
 | 
				
			||||||
 | 
					    tests = [
 | 
				
			||||||
 | 
					        "verify-boilerplate",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user