mirror of https://github.com/docker/cli.git
scripts: don't hardcode architecture in e2e script
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
469bfc05ed
commit
1c4d6d85dd
|
@ -2,6 +2,8 @@
|
||||||
# Run integration tests against the latest docker-ce dind
|
# Run integration tests against the latest docker-ce dind
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
|
source ./scripts/build/.variables
|
||||||
|
|
||||||
container_ip() {
|
container_ip() {
|
||||||
local cid=$1
|
local cid=$1
|
||||||
local network=$2
|
local network=$2
|
||||||
|
@ -69,7 +71,7 @@ runtests() {
|
||||||
GOPATH="$GOPATH" \
|
GOPATH="$GOPATH" \
|
||||||
PATH="$PWD/build/:/usr/bin:/usr/local/bin:/usr/local/go/bin" \
|
PATH="$PWD/build/:/usr/bin:/usr/local/bin:/usr/local/go/bin" \
|
||||||
HOME="$HOME" \
|
HOME="$HOME" \
|
||||||
DOCKER_CLI_E2E_PLUGINS_EXTRA_DIRS="$PWD/build/plugins-linux-amd64" \
|
DOCKER_CLI_E2E_PLUGINS_EXTRA_DIRS="$PWD/build/plugins-linux-${GOARCH}" \
|
||||||
GO111MODULE=auto \
|
GO111MODULE=auto \
|
||||||
"$(command -v gotestsum)" -- ${TESTDIRS:-./e2e/...} ${TESTFLAGS-}
|
"$(command -v gotestsum)" -- ${TESTDIRS:-./e2e/...} ${TESTFLAGS-}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue