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

Inverted default for BUILDKITE_PLUGIN_DOCKER_MOUNT_BUILDKITE_AGENT #1

Merged
merged 1 commit into from
Oct 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hooks/command
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ while IFS='=' read -r name _ ; do
done < <(env | sort)

# Handle the mount-buildkite-agent option
if [[ "${BUILDKITE_PLUGIN_DOCKER_MOUNT_BUILDKITE_AGENT:-true}" =~ (true|on|1) ]] ; then
if [[ "${BUILDKITE_PLUGIN_DOCKER_MOUNT_BUILDKITE_AGENT:-false}" =~ (true|on|1) ]] ; then
if [[ -z "${BUILDKITE_AGENT_BINARY_PATH:-}" ]] ; then
BUILDKITE_AGENT_BINARY_PATH=$(command -v buildkite-agent)
fi
Expand Down Expand Up @@ -106,4 +106,4 @@ if [[ "${debug_mode:-off}" =~ (on) ]] ; then
echo "$ docker run ${args[*]}" >&2
fi

docker run "${args[@]}"
docker run "${args[@]}"