Open dmlemos opened 7 years ago
In my use case I'd like to setup shell flags across all tasks as to avoid specifying the flags in every task. It is a little bit worse when using switch conditionals.
Given the following tasks
task "download" { check = "..." apply = <<EOF set -e ... EOF
task "extract" { check = "..." apply = <<EOF set -e ... EOF
task "deploy" { check = "..." apply = <<EOF set -e ... }
Taking the same implementation from terraform:
config { interpreter = "/bin/bash" flags = ["-e"] timeout = "30" }
Particular useful for timeout. Anything in config would apply globally to all tasks.
timeout
Motivation
In my use case I'd like to setup shell flags across all tasks as to avoid specifying the flags in every task. It is a little bit worse when using switch conditionals.
Given the following tasks
Proposal
Taking the same implementation from terraform:
Particular useful for
timeout
. Anything in config would apply globally to all tasks.