aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-09 14:33:14 -0700
committerGitHub <noreply@github.com>2019-10-09 14:33:14 -0700
commit2bf184aa019387de560bec60636ae5152f8b54ce (patch)
tree0a5ece519d71390567f5b139c03fb3b2b47cc339 /Makefile
parentf61e399a66c716cc6b18659e6b21208007d48848 (diff)
parentffe726ed6438237be6c108f2ba0da10944617153 (diff)
downloadpodman-2bf184aa019387de560bec60636ae5152f8b54ce.tar.gz
podman-2bf184aa019387de560bec60636ae5152f8b54ce.tar.bz2
podman-2bf184aa019387de560bec60636ae5152f8b54ce.zip
Merge pull request #4222 from cevich/collect_varlink_log
Cirrus: Produce and collect varlink output
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 97f5d407c..735981d34 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,9 @@ RELEASE_DIST_VER ?= $(shell hack/get_release_info.sh DIST_VER)
RELEASE_ARCH ?= $(shell hack/get_release_info.sh ARCH)
RELEASE_BASENAME := $(shell hack/get_release_info.sh BASENAME)
+# If non-empty, logs all output from varlink during remote system testing
+VARLINK_LOG ?=
+
# If GOPATH not specified, use one in the local directory
ifeq ($(GOPATH),)
export GOPATH := $(CURDIR)/_output
@@ -274,7 +277,7 @@ remotesystem:
if timeout -v 1 true; then \
SOCK_FILE=$(shell mktemp --dry-run --tmpdir io.podman.XXXXXX);\
export PODMAN_VARLINK_ADDRESS=unix:$$SOCK_FILE; \
- ./bin/podman varlink --timeout=0 $$PODMAN_VARLINK_ADDRESS &>/dev/null & \
+ ./bin/podman varlink --timeout=0 $$PODMAN_VARLINK_ADDRESS &> $(if $(VARLINK_LOG),$(VARLINK_LOG),/dev/null) & \
retry=5;\
while [[ $$retry -ge 0 ]]; do\
echo Waiting for varlink server...;\