mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-23 07:39:31 +08:00
🐞 Don't run etcd tests without etcd
Now we check first to see if etcd is running before diving in & testing against it. fixes: ``` Unexpected error: <*fmt.wrapError | 0xc0003bc8e0>: { msg: "couldn't GET \"my-key\": context deadline exceeded", err: <context.deadlineExceededError>{}, } ```
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd $DIR/../src/sslip.io-dns-server
|
||||
ldflags="-X xip/xip.VersionSemantic=2.3.0 \
|
||||
ldflags="-X xip/xip.VersionSemantic=2.4.0 \
|
||||
-X xip/xip.VersionDate=$(date +%Y/%m/%d-%H:%M:%S%z) \
|
||||
-X xip/xip.VersionGitHash=$(git rev-parse --short HEAD)"
|
||||
export GOOS GOARCH
|
||||
|
Reference in New Issue
Block a user