Skip to content

Commit

Permalink
fix(k8s): don't truncate logs in task/test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell Friedman authored and edvald committed Apr 9, 2020
1 parent ed64209 commit 6804733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/plugins/kubernetes/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export async function runAndCopy({

// We start the container with a named pipe and tail that, to get the logs from the actual command
// we plan on running. Then we sleep, so that we can copy files out of the container.
spec.containers[0].command = ["sh", "-c", "mkfifo /tmp/output && tail /tmp/output && sleep 86400"]
spec.containers[0].command = ["sh", "-c", "mkfifo /tmp/output && tail -f /tmp/output && sleep 86400"]
} else {
if (args) {
spec.containers[0].args = args
Expand Down

0 comments on commit 6804733

Please sign in to comment.