Commit e795aff0 authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

contrib/mesos/ci: call docker-run interactively and with terminal

- passing `-i` to enable signal handling in a tty. - passing `-t` to enable passing of the TERM env var.
parent 0c4f302e
...@@ -72,9 +72,9 @@ exec docker run \ ...@@ -72,9 +72,9 @@ exec docker run \
-e "MESOS_DOCKER_OVERLAY_DIR=${MESOS_DOCKER_WORK_DIR}/overlay" \ -e "MESOS_DOCKER_OVERLAY_DIR=${MESOS_DOCKER_WORK_DIR}/overlay" \
-e "KUBERNETES_CONTRIB=mesos" \ -e "KUBERNETES_CONTRIB=mesos" \
-e "KUBERNETES_PROVIDER=mesos/docker" \ -e "KUBERNETES_PROVIDER=mesos/docker" \
-e "TERM=ansi" \
-e "USER=root" \ -e "USER=root" \
-e "E2E_REPORT_DIR=${MESOS_DOCKER_WORK_DIR}/reports" \ -e "E2E_REPORT_DIR=${MESOS_DOCKER_WORK_DIR}/reports" \
-t $(tty &>/dev/null && echo "-i") \
mesosphere/kubernetes-mesos-test \ mesosphere/kubernetes-mesos-test \
-ceux "\ -ceux "\
make clean all && \ make clean all && \
......
...@@ -50,7 +50,7 @@ exec docker run \ ...@@ -50,7 +50,7 @@ exec docker run \
-v "/var/run/docker.sock:/var/run/docker.sock" \ -v "/var/run/docker.sock:/var/run/docker.sock" \
-v "${DOCKER_BIN_PATH}:/usr/bin/docker" \ -v "${DOCKER_BIN_PATH}:/usr/bin/docker" \
-e "KUBERNETES_CONTRIB=mesos" \ -e "KUBERNETES_CONTRIB=mesos" \
-e "TERM=ansi" \
-e "USER=root" \ -e "USER=root" \
-t $(tty &>/dev/null && echo "-i") \
mesosphere/kubernetes-mesos-test \ mesosphere/kubernetes-mesos-test \
-ceux "${RUN_CMD}" -ceux "${RUN_CMD}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment