kopeio / etcd-manager

operator for etcd: moved to https://github.com/kubernetes-sigs/etcdadm
Apache License 2.0
164 stars 45 forks source link

Fix build on case-insensitive file systems (MacOS) #361

Closed justinsb closed 4 years ago

justinsb commented 4 years ago

Due to https://github.com/bazelbuild/rules_go/issues/456 , the build of etcd 2.2.1 did not work correctly on case-insensitive file systems, including MacOS.

etcd has a shell script named build, which bazel was treating as a BUILD file. By setting bazel to only look for BUILD.bazel files, this is avoided.

justinsb commented 4 years ago

cc @hakman

justinsb commented 4 years ago

Fix for the cloudbuild failure is (hopefully) in https://github.com/kopeio/etcd-manager/pull/363

hakman commented 4 years ago

Nice. Thanks! :)