You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
I want to use levant's deployment watcher in our CI/CD pipelines but it would require us to redo all of our HCL2 job files as levant templates, which for the moment seems like a step backwards, since HCL2 seems to be the future.
Rather than re-inventing the wheel to come up with a deployment watcher, can levant's deploy command accept pre-rendered JSON produced by nomad itself I.E. nomad job run -output
It would be especially useful to be able to pipe such JSON output directly to levant deploy.
I.E. nomad job run -output -var-file=vars.hcl job.hcl | levant deploy -pre-rendered
Basically, decouple levant templating from levant deployments.
Description
I want to use levant's deployment watcher in our CI/CD pipelines but it would require us to redo all of our HCL2 job files as levant templates, which for the moment seems like a step backwards, since HCL2 seems to be the future.
Rather than re-inventing the wheel to come up with a deployment watcher, can levant's deploy command accept pre-rendered JSON produced by nomad itself I.E.
nomad job run -outputIt would be especially useful to be able to pipe such JSON output directly to levant deploy.
I.E.
nomad job run -output -var-file=vars.hcl job.hcl | levant deploy -pre-renderedBasically, decouple levant templating from levant deployments.
Related: #400