-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
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
error parsing job file #400
Comments
Could this be related? #391 |
That's what I figured :-/ But I am not really after the templating at all. Rather a better command line experience when running jobs (especially when running from CI/CD). Why does this need parsing at all? Anyway. Would be great to add the lack of HCL2 to the README. At least to me this wasn't obvious at all. |
thanks, @tcurdt. will leave this open as we roadmap this. |
I'm faced with the same issue. We're using levant as a deployment watcher in our CI, and it blocks further steps until a deployment successfully finish, which is super useful for us. |
If you build levant from the branch in #398 that job file will successfully parse and plan. |
Are there any news? 🙂 |
Any updates on this? I just hit the same issue with missing hcl2 support:
I tested the pr from @alexdulin which worked fine for me. |
I guess I found a edge case:
If you use env with a dot character like this:
I think nomad can handle that: hashicorp/nomad#3760 |
@fliiiix I think that what you are running into is one of the quirks of HCL2 outlined in the backward compatibilities. However, you can still get your env = {
"discovery.type" = "single-node"
} |
I thought I tried that but apparently there is a difference between
But fair enough if that's a hcl2 limitation. |
Any updates on this? |
Having the same issue with https://developer.hashicorp.com/nomad/docs/v1.4.x/job-specification/template#wait
|
Description
For now I am trying to use
levant
with a static jobhcl
file.While it works perfectly fine to run that job through
nomad
directly,levant
fails parsing it.Relevant Nomad job specification file
Output of
levant version
:Output of
consul version
:Output of
nomad version
:Debug log outputs from Levant:
The text was updated successfully, but these errors were encountered: