Skip to content
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

Support Autoloading of Default Files #10

Closed
ericwestfall opened this issue Oct 2, 2017 · 0 comments
Closed

Support Autoloading of Default Files #10

ericwestfall opened this issue Oct 2, 2017 · 0 comments

Comments

@ericwestfall
Copy link

ericwestfall commented Oct 2, 2017

Feature Description

It would be cool if Levant supported autoloading of default files when running levant deploy.

Proposal

When a user runs levant deploy, Levant would look in the directory for a default variable file levant.yaml|hcl|yml and if a single Nomad job file is present, would use the default variable file to render any parameterized sections and trigger a deployment.

This would be similar to the behavior of Terraform where a terraform.tfvars file is automatically referenced and any *.tf file is processed. For this use case, it would probably make sense to only support this feature if a single *.nomad file is present.

ygersie pushed a commit to ygersie/levant that referenced this issue Nov 15, 2017
  A basic way of implementing issue hashicorp#10
  If no argument is given we check for the existence of a
  levant.nomad jobfile.

  If no -var-file is given we check for the existence of a
  levant.tf variable file.

  This "standardizes" the use of named files and makes pipelines
  clean in command usage.
ygersie pushed a commit to ygersie/levant that referenced this issue Nov 16, 2017
  A basic way of implementing issue hashicorp#10
  If no argument is given we check for the existence of a
  levant.nomad jobfile.

  If no -var-file is given we check for the existence of a
  levant.tf variable file.

  This "standardizes" the use of named files and makes pipelines
  clean in command usage.
ygersie pushed a commit to ygersie/levant that referenced this issue Dec 12, 2017
  A basic way of implementing issue hashicorp#10
  If no argument is given we check for the existence of a
  levant.nomad jobfile.

  If no -var-file is given we check for the existence of a
  levant.tf variable file.

  This "standardizes" the use of named files and makes pipelines
  clean in command usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant