build (etcd-3.5.5) | : | build (etcd-3.5.6) | ||
---|---|---|---|---|
#!/usr/bin/env bash | #!/usr/bin/env bash | |||
if ! [[ "$0" =~ "tests/functional/build" ]]; then | if ! [[ "$0" =~ "tests/functional/build" ]]; then | |||
echo "must be run from repository root" | echo "must be run from repository root" | |||
exit 255 | exit 255 | |||
fi | fi | |||
( | ( | |||
cd ./tests | cd ./tests | |||
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ../bin/etcd-agen | CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s -w" -o ../bin/etcd-a | |||
t ./functional/cmd/etcd-agent | gent ./functional/cmd/etcd-agent | |||
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ../bin/etcd-prox | CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s -w" -o ../bin/etcd-p | |||
y ./functional/cmd/etcd-proxy | roxy ./functional/cmd/etcd-proxy | |||
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ../bin/etcd-runn | CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s -w" -o ../bin/etcd-r | |||
er ./functional/cmd/etcd-runner | unner ./functional/cmd/etcd-runner | |||
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ../bin/etcd-test | CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s -w" -o ../bin/etcd-t | |||
er ./functional/cmd/etcd-tester | ester ./functional/cmd/etcd-tester | |||
) | ) | |||
End of changes. 1 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added |