diff --git a/setup-etcd-env.sh b/setup-etcd-env.sh index 01ad1f31e..97fe05714 100755 --- a/setup-etcd-env.sh +++ b/setup-etcd-env.sh @@ -1,7 +1,7 @@ #!/bin/bash set -eux if [ -z "$(which etcd)" ]; then - ETCD_VERSION=3.4.27 + ETCD_VERSION=${ETCD_VERSION:-3.4.27} case `uname -s` in Darwin) OS=darwin diff --git a/tox.ini b/tox.ini index 0017ca7f6..50b4c85b6 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,8 @@ commands = allowlist_externals = find ./setup-etcd-env.sh +passenv = + ETCD_VERSION [testenv:update-states] deps =