Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Feature request: pass pre-rendered jobspec to levant for deployment. #444

@jwinters-tc

Description

@jwinters-tc

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 -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.

Related: #400

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions