|
1 |
| -# Copyright 2023 The Cockroach Authors |
| 1 | +# Copyright 2025 The Cockroach Authors |
2 | 2 | #
|
3 | 3 | # Licensed under the Apache License, Version 2.0 (the "License");
|
4 | 4 | # you may not use this file except in compliance with the License.
|
@@ -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
|
@@ -221,7 +221,7 @@ test/preflight-%: release/generate-bundle
|
221 | 221 | #
|
222 | 222 | .PHONY: dev/build
|
223 | 223 | dev/build: dev/syncdeps
|
224 |
| - bazel build //... |
| 224 | + bazel build //... --define APP_VERSION=$(APP_VERSION) |
225 | 225 |
|
226 | 226 | .PHONY: dev/fmt
|
227 | 227 | dev/fmt:
|
@@ -280,17 +280,15 @@ dev/down:
|
280 | 280 | #
|
281 | 281 | .PHONY: k8s/apply
|
282 | 282 | k8s/apply:
|
283 |
| - K8S_CLUSTER=gke_$(GCP_PROJECT)_$(GCP_ZONE)_$(CLUSTER_NAME) \ |
284 | 283 | DEV_REGISTRY=$(DEV_REGISTRY) \
|
285 | 284 | bazel run --stamp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 \
|
286 | 285 | //config/default:install.apply \
|
287 | 286 | --define APP_VERSION=$(APP_VERSION)
|
288 | 287 |
|
289 | 288 | .PHONY: k8s/delete
|
290 | 289 | k8s/delete:
|
291 |
| - K8S_CLUSTER=gke_$(GCP_PROJECT)_$(GCP_ZONE)_$(CLUSTER_NAME) \ |
292 | 290 | DEV_REGISTRY=$(DEV_REGISTRY) \
|
293 |
| - bazel run --stamp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 \ |
| 291 | + bazel run --stamp --incompatible_use_cc_configure_from_rules_cc \ |
294 | 292 | //config/default:install.delete \
|
295 | 293 | --define APP_VERSION=$(APP_VERSION)
|
296 | 294 |
|
@@ -332,7 +330,7 @@ release/image:
|
332 | 330 | DOCKER_REGISTRY=$(DOCKER_REGISTRY) \
|
333 | 331 | DOCKER_IMAGE_REPOSITORY=$(DOCKER_IMAGE_REPOSITORY) \
|
334 | 332 | APP_VERSION=$(APP_VERSION) \
|
335 |
| - bazel run --stamp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 \ |
| 333 | + bazel run --stamp \ |
336 | 334 | //:push_operator_image
|
337 | 335 |
|
338 | 336 | #
|
|
0 commit comments