Commit ad7d83b 1 parent 9716862 commit ad7d83b Copy full SHA for ad7d83b
File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ test/pkg:
59
59
# takes a bit of time.
60
60
.PHONY : test/verify
61
61
test/verify :
62
- bazel test //hack/...
62
+ bazel test --test_output=all //hack/... --test_arg=-test.parallel=2
63
63
64
64
.PHONY : test/lint
65
65
test/lint :
@@ -94,7 +94,7 @@ test/e2e-short:
94
94
test/e2e/testrunner-k3d-% : PACKAGE=$*
95
95
test/e2e/testrunner-k3d-% :
96
96
bazel run //hack/k8s:k8s -- -type k3d
97
- bazel test --stamp //e2e/$(PACKAGE ) /... --test_arg=-test.v --test_arg=-test.parallel=4 --test_arg=parallel=true
97
+ bazel test --test_output=all -- stamp //e2e/$(PACKAGE ) /... --test_arg=-test.v --test_arg=-test.parallel=4 --test_arg=parallel=true
98
98
99
99
# Use this target to run e2e tests using a k3d k8s cluster.
100
100
# This target uses k3d to start a k8s cluster and runs the e2e tests
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ genrule(
38
38
visibility = ["//visibility:public" ],
39
39
)
40
40
41
+ # fetch preflight has only linux supported binary and only used for releasing the operator to openshift
42
+ # Hence, fetching same binary for all platforms to allow bazel sync on other platform.
41
43
genrule (
42
44
name = "fetch_preflight" ,
43
45
srcs = select ({
@@ -77,7 +79,7 @@ genrule(
77
79
genrule (
78
80
name = "io_kubernetes_kube-apiserver" ,
79
81
srcs = select ({
80
- ":m1" : ["@kube-apiserver_linux_amd64 //file" ],
82
+ ":m1" : ["@kube-apiserver_darwin_amd64 //file" ],
81
83
":darwin" : ["@kube-apiserver_linux_amd64//file" ],
82
84
":k8" : ["@kube-apiserver_linux_amd64//file" ],
83
85
}),
Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ def install_integration_test_dependencies():
128
128
http_file (
129
129
name = "kube-apiserver_darwin_amd64" ,
130
130
executable = 1 ,
131
- sha256 = "a874d479f183f9e4c19a5c69b44955fabd2e250b467d2d9f0641ae91a82ddbea " ,
132
- urls = ["https://storage.googleapis.com/cert-manager -testing-assets/kube-apiserver-1.17.3_darwin_amd64 " ],
131
+ sha256 = "b575b687097b4662b7eb2ea5453e4b381994ddf34b85ca4bb8e4f16c5f86bedb " ,
132
+ urls = ["https://storage.googleapis.com/cockroach-operator -testing-assets/kube-apiserver-1.24.2_darwin_arm64 " ],
133
133
)
134
134
135
135
http_file (
You can’t perform that action at this time.
0 commit comments