Commit 239607f 1 parent 9716862 commit 239607f Copy full SHA for 239607f
File tree 4 files changed +16
-7
lines changed
4 files changed +16
-7
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/...
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 @@ -106,7 +106,7 @@ sh_test(
106
106
args = [
107
107
"run" ,
108
108
"--config .golangci.yaml" ,
109
- "--timeout 5m " ,
109
+ "--timeout 10m " ,
110
110
],
111
111
data = ["@//:all-srcs" ],
112
112
env = {
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,8 +79,8 @@ genrule(
77
79
genrule (
78
80
name = "io_kubernetes_kube-apiserver" ,
79
81
srcs = select ({
80
- ":m1" : ["@kube-apiserver_linux_amd64 //file" ],
81
- ":darwin" : ["@kube-apiserver_linux_amd64 //file" ],
82
+ ":m1" : ["@kube-apiserver_darwin_arm64 //file" ],
83
+ ":darwin" : ["@kube-apiserver_darwin_amd64 //file" ],
82
84
":k8" : ["@kube-apiserver_linux_amd64//file" ],
83
85
}),
84
86
outs = ["kube-apiserver" ],
Original file line number Diff line number Diff line change @@ -125,11 +125,18 @@ def install_misc():
125
125
126
126
# Install dependencies used by the controller-runtime integration test framework
127
127
def install_integration_test_dependencies ():
128
+ http_file (
129
+ name = "kube-apiserver_darwin_arm64" ,
130
+ executable = 1 ,
131
+ sha256 = "b575b687097b4662b7eb2ea5453e4b381994ddf34b85ca4bb8e4f16c5f86bedb" ,
132
+ urls = ["https://storage.googleapis.com/cockroach-operator-testing-assets/kube-apiserver-1.24.2_darwin_arm64" ],
133
+ )
134
+
128
135
http_file (
129
136
name = "kube-apiserver_darwin_amd64" ,
130
137
executable = 1 ,
131
- sha256 = "a874d479f183f9e4c19a5c69b44955fabd2e250b467d2d9f0641ae91a82ddbea " ,
132
- urls = ["https://storage.googleapis.com/cert-manager -testing-assets/kube-apiserver-1.17.3_darwin_amd64 " ],
138
+ sha256 = "800eedc293bcc72eb962df3e8006d7106790ca583a4ea5c107453bab3bf859b4 " ,
139
+ urls = ["https://storage.googleapis.com/cockroach-operator -testing-assets/kube-apiserver-1.24.2_darwin_amd64 " ],
133
140
)
134
141
135
142
http_file (
You can’t perform that action at this time.
0 commit comments