Skip to content

Commit

Permalink
scripts: don't hardcode architecture in e2e script
Browse files Browse the repository at this point in the history
Signed-off-by: Laura Brehm <[email protected]>
(cherry picked from commit 1c4d6d8)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
laurazard authored and thaJeztah committed Feb 6, 2024
1 parent d8e07c9 commit 2f6b5ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/test/e2e/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Run integration tests against the latest docker-ce dind
set -eu -o pipefail

source ./scripts/build/.variables

container_ip() {
local cid=$1
local network=$2
Expand Down Expand Up @@ -69,7 +71,7 @@ runtests() {
GOPATH="$GOPATH" \
PATH="$PWD/build/:/usr/bin:/usr/local/bin:/usr/local/go/bin" \
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 \
"$(command -v gotestsum)" -- ${TESTDIRS:-./e2e/...} ${TESTFLAGS-}
}
Expand Down

0 comments on commit 2f6b5ad

Please sign in to comment.