We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
The levant deploy command does not accept the wait parameter of the template block, see the example below, even though nomad does accept it.
levant deploy
wait
template block
NB: A work around for us is to use levant render, but nomad job run to deploy.
levant render
nomad job run
Levant job file:
job "test-job" { group "test-group" { count = 1 task "test" { driver = "exec" config { command = "sleep" args = ["3600"] } template { wait { min = "30s" max = "300s" } data = <<EOH foo=bar EOH destination = "local/env.txt" env = true } } } }
Running levant deploy test.levant.nomad yields:
levant deploy test.levant.nomad
[ERROR] levant/command: error parsing 'job': group: 'test-group', task: 'test', template -> 1 error(s) decoding: * 'wait' expected a map, got 'slice'
Output of levant version:
levant version
Levant v0.3.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The
levant deploy
command does not accept thewait
parameter of thetemplate block
, see the example below, even though nomad does accept it.NB: A work around for us is to use
levant render
, butnomad job run
to deploy.Levant job file:
Running
levant deploy test.levant.nomad
yields:Output of
levant version
:The text was updated successfully, but these errors were encountered: