Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Reduce excessive debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sargun committed May 1, 2018
1 parent aa37e28 commit 904871d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions hack/tests-with-dind.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x
#!/bin/bash

set -eu -o pipefail

Expand Down Expand Up @@ -42,16 +42,10 @@ go_pkg="${GO_PKG:-github.com/Netflix/titus-executor}"
debug=${DEBUG:-false}

log "Running a docker daemon named $titus_agent_name"
find ${GOPATH}
docker run --privileged --security-opt seccomp=unconfined -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v ${GOPATH}:${GOPATH} -w ${GOPATH}/src/${go_pkg} --rm --name "$titus_agent_name" -e DEBUG=${debug} \
-e SHORT_CIRCUIT_QUITELITE=true -e GOPATH=${GOPATH} --label "$run_id" -d titusoss/titus-agent

docker exec --privileged -e DEBUG=${debug} -e SHORT_CIRCUIT_QUITELITE=true -e GOPATH=${GOPATH} "$titus_agent_name" ls -l /
docker exec --privileged -e DEBUG=${debug} -e SHORT_CIRCUIT_QUITELITE=true -e GOPATH=${GOPATH} "$titus_agent_name" ls -l ${GOPATH}
docker exec --privileged -e DEBUG=${debug} -e SHORT_CIRCUIT_QUITELITE=true -e GOPATH=${GOPATH} "$titus_agent_name" find ${GOPATH}


log "Running integration tests against the $titus_agent_name daemon"
# --privileged is needed here since we are reading FDs from a unix socket
docker exec --privileged -e DEBUG=${debug} -e SHORT_CIRCUIT_QUITELITE=true -e GOPATH=${GOPATH} "$titus_agent_name" \
Expand Down

0 comments on commit 904871d

Please sign in to comment.