kubernetes/hack/lib
Tim Hockin bf27cad256 Build flags: use all= syntax
This has somewhat subtle implications.  For a concrete example, this
changes the `-trimpath` behavior from only affecting the named pkg to
affecting all pkgs, which broke ginkgo, which seems to try to strip its
own `pwd` prefix.  But since that runs in run-in-gopath, and not in
KUBE_ROOT, it fails to strip anything.

e.g.

before this, strings in the binary would be like
    /home/user/kube/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/...
Ginkgo would find its own root as
    /home/user/kube/_output/local/go/src/k8s.io/kubernetes/
so it would produce
    vendor/github.com/onsi/ginkgo/...
in logs.

after this, strings in the binary strip the KUBE_ROOT and be like:
    _output/local/go/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/...
Ginkgo would find its own root as
    /home/user/kube/_output/local/go/src/k8s.io/kubernetes/
so it would not strip anything, and produce
    _output/local/go/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/...
in logs.
2022-03-01 08:48:31 -08:00
..
.gitattributes Capture git export-subst strings in version.sh for 'git archive' use. 2017-11-09 16:36:27 -08:00
etcd.sh test: fix info message for etcd startup 2022-02-07 08:59:19 +01:00
golang.sh Build flags: use all= syntax 2022-03-01 08:48:31 -08:00
init.sh rename v2beta2 to v2 2021-11-09 10:34:54 +08:00
logging.sh Lower default log verbosity 2020-08-02 01:22:59 -04:00
protoc.sh fixing scripts from https://github.com/google/protobuf/releases to https://github.com/protocolbuffers/protobuf/releases 2021-07-29 02:24:39 +05:30
swagger.sh Speed up update-swagger-docs 2020-08-02 10:56:46 -04:00
test.sh kubectl: add integration test for result reporting 2022-01-11 09:04:56 +01:00
util.sh Apply changes requested in the pull-kubernetes-verify failed check 2022-01-20 17:25:52 +01:00
version.sh Add non-vendor version ldflags 2021-08-14 11:20:26 -04:00