mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue bazel: stamp multiple packages by using x_defs instead of linkstamp in go_binary rules **What this PR does / why we need it**: Fixes regression introduced sometime in the last few months that prevented bazel-built clusters from identifying version properly. It does so by updating the bazelbuild/rules_go and kubernetes/repo-infra dependencies to support using stamp values in `go_binary` `x_defs`, and then changing our `go_binary` rules to use `x_defs` instead of `linkstamp`. This whole charade is necessary because we need to stamp version information in multiple packages. This pretty much only affects the bazel build, so it should be low risk. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #45298 **Special notes for your reviewer**: depends on https://github.com/kubernetes/repo-infra/pull/18; should not be merged before it. **Release note**: ```release-note NONE ``` /assign @spxtr @mikedanese |
||
---|---|---|
.. | ||
boilerplate | ||
cmd/teststale | ||
e2e-internal | ||
gen-swagger-doc | ||
jenkins | ||
lib | ||
make-rules | ||
testdata | ||
verify-flags | ||
.linted_packages | ||
BUILD | ||
OWNERS | ||
autogenerated_placeholder.txt | ||
benchmark-go.sh | ||
build-cross.sh | ||
build-go.sh | ||
build-ui.sh | ||
cherry_pick_pull.sh | ||
dev-build-and-push.sh | ||
dev-build-and-up.sh | ||
dev-push-hyperkube.sh | ||
e2e-node-test.sh | ||
e2e.go | ||
e2e_test.go | ||
federated-ginkgo-e2e.sh | ||
generate-bindata.sh | ||
generate-docs.sh | ||
get-build.sh | ||
ginkgo-e2e.sh | ||
godep-restore.sh | ||
godep-save.sh | ||
grab-profiles.sh | ||
install-etcd.sh | ||
list-feature-tests.sh | ||
local-up-cluster.sh | ||
lookup_pull.py | ||
print-workspace-status.sh | ||
run-in-gopath.sh | ||
test-cmd.sh | ||
test-go.sh | ||
test-integration.sh | ||
test-update-storage-objects.sh | ||
update-all.sh | ||
update-api-reference-docs.sh | ||
update-bazel.sh | ||
update-codecgen.sh | ||
update-codegen.sh | ||
update-federation-api-reference-docs.sh | ||
update-federation-generated-swagger-docs.sh | ||
update-federation-openapi-spec.sh | ||
update-federation-swagger-spec.sh | ||
update-generated-docs.sh | ||
update-generated-protobuf-dockerized.sh | ||
update-generated-protobuf.sh | ||
update-generated-runtime-dockerized.sh | ||
update-generated-runtime.sh | ||
update-generated-swagger-docs.sh | ||
update-godep-licenses.sh | ||
update-gofmt.sh | ||
update-openapi-spec.sh | ||
update-staging-client-go.sh | ||
update-staging-godeps.sh | ||
update-swagger-spec.sh | ||
update-translations.sh | ||
update_owners.py | ||
verify-all.sh | ||
verify-api-groups.sh | ||
verify-api-reference-docs.sh | ||
verify-bazel.sh | ||
verify-boilerplate.sh | ||
verify-cli-conventions.sh | ||
verify-codecgen.sh | ||
verify-codegen.sh | ||
verify-description.sh | ||
verify-federation-api-reference-docs.sh | ||
verify-federation-generated-swagger-docs.sh | ||
verify-federation-openapi-spec.sh | ||
verify-federation-swagger-spec.sh | ||
verify-flags-underscore.py | ||
verify-generated-docs.sh | ||
verify-generated-protobuf.sh | ||
verify-generated-runtime.sh | ||
verify-generated-swagger-docs.sh | ||
verify-godep-licenses.sh | ||
verify-godeps.sh | ||
verify-gofmt.sh | ||
verify-golint.sh | ||
verify-govet.sh | ||
verify-import-boss.sh | ||
verify-linkcheck.sh | ||
verify-no-vendor-cycles.sh | ||
verify-openapi-spec.sh | ||
verify-pkg-names.sh | ||
verify-readonly-packages.sh | ||
verify-staging-client-go.sh | ||
verify-staging-godeps.sh | ||
verify-staging-imports.sh | ||
verify-swagger-spec.sh | ||
verify-symbols.sh | ||
verify-test-images.sh | ||
verify-test-owners.sh |