Revision 973882f697a8db3d59815bf132c6c506434334bd authored by Sam Batschelet on 15 October 2021, 12:32:31 UTC, committed by Sam Batschelet on 15 October 2021, 12:32:31 UTC
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
1 parent e82c2fd
Raw File
build
#!/usr/bin/env bash

if ! [[ "$0" =~ "functional/build" ]]; then
  echo "must be run from repository root"
  exit 255
fi

CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-agent ./functional/cmd/etcd-agent
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-proxy ./functional/cmd/etcd-proxy
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-runner ./functional/cmd/etcd-runner
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-tester ./functional/cmd/etcd-tester
back to top