mirror of
https://github.com/containous/traefik.git
synced 2025-01-03 01:17:53 +03:00
Fix regression on plumbing scripts for developer usages
This commit is contained in:
parent
886a6bdbe0
commit
5cd9396dae
@ -26,7 +26,8 @@ if [ -z "$DATE" ]; then
|
||||
fi
|
||||
|
||||
# Build binaries
|
||||
CGO_ENABLED=0 GOGC=off go build "${FLAGS[@]}" -ldflags "-s -w \
|
||||
# shellcheck disable=SC2086
|
||||
CGO_ENABLED=0 GOGC=off go build ${FLAGS[*]} -ldflags "-s -w \
|
||||
-X github.com/containous/traefik/pkg/version.Version=$VERSION \
|
||||
-X github.com/containous/traefik/pkg/version.Codename=$CODENAME \
|
||||
-X github.com/containous/traefik/pkg/version.BuildDate=$DATE" \
|
||||
|
@ -17,10 +17,12 @@ docker version
|
||||
|
||||
if [ -n "$TEST_CONTAINER" ]; then
|
||||
echo "Testing from container…"
|
||||
CGO_ENABLED=0 go test -integration -container "${TESTFLAGS[@]}"
|
||||
# shellcheck disable=SC2086
|
||||
CGO_ENABLED=0 go test -integration -container ${TESTFLAGS[*]}
|
||||
fi
|
||||
|
||||
if [ -n "$TEST_HOST" ]; then
|
||||
echo "Testing from host…"
|
||||
CGO_ENABLED=0 go test -integration -host "${TESTFLAGS[@]}"
|
||||
# shellcheck disable=SC2086
|
||||
CGO_ENABLED=0 go test -integration -host ${TESTFLAGS[*]}
|
||||
fi
|
||||
|
@ -21,7 +21,8 @@ fi
|
||||
|
||||
set +e
|
||||
|
||||
go test "${TESTFLAGS[@]}" ./pkg/...
|
||||
# shellcheck disable=SC2086
|
||||
go test ${TESTFLAGS[*]} ./pkg/...
|
||||
|
||||
CODE=$?
|
||||
if [ ${CODE} != 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user