mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8/m/OV40vnafAwAJ Signed-off-by: Benjamin Wang <wachao@vmware.com>
19 lines
414 B
Bash
Executable File
19 lines
414 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if ! [[ "${0}" =~ "scripts/docker-local-tester.sh" ]]; then
|
|
echo "must be run from functional"
|
|
exit 255
|
|
fi
|
|
|
|
if [[ -z "${GO_VERSION}" ]]; then
|
|
GO_VERSION=1.19.8
|
|
fi
|
|
echo "Running with GO_VERSION:" ${GO_VERSION}
|
|
|
|
docker run \
|
|
--rm \
|
|
--net=host \
|
|
--name tester \
|
|
gcr.io/etcd-development/etcd-functional:go${GO_VERSION} \
|
|
/bin/bash -c "./bin/etcd-tester --config ./functional.yaml"
|