mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-30 21:30:16 +00:00 
			
		
		
		
	We have defined requirements of conformance test as [1], and this adds coding check for one requirement "it works for all providers". [1]: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md#conformance-test-requirements
		
			
				
	
	
		
			33 lines
		
	
	
		
			803 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			803 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
 | |
| 
 | |
| go_library(
 | |
|     name = "go_default_library",
 | |
|     srcs = ["check_conformance_test_requirements.go"],
 | |
|     importpath = "k8s.io/kubernetes/hack/conformance",
 | |
|     visibility = ["//visibility:private"],
 | |
|     deps = [
 | |
|         "//vendor/github.com/pkg/errors:go_default_library",
 | |
|         "//vendor/github.com/spf13/cobra:go_default_library",
 | |
|     ],
 | |
| )
 | |
| 
 | |
| go_binary(
 | |
|     name = "conformance",
 | |
|     embed = [":go_default_library"],
 | |
|     visibility = ["//visibility:public"],
 | |
| )
 | |
| 
 | |
| filegroup(
 | |
|     name = "package-srcs",
 | |
|     srcs = glob(["**"]),
 | |
|     tags = ["automanaged"],
 | |
|     visibility = ["//visibility:private"],
 | |
| )
 | |
| 
 | |
| filegroup(
 | |
|     name = "all-srcs",
 | |
|     srcs = [":package-srcs"],
 | |
|     tags = ["automanaged"],
 | |
|     visibility = ["//visibility:public"],
 | |
| )
 |