-
Notifications
You must be signed in to change notification settings - Fork 43
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
deployNomadJob
analog to deployTerraform
#615
Comments
You can inspire on: #616 if nomad has a custom authorization/configuration, making a secretsForNomadFromEnv can help you reuse code |
Does nomad will be running Makes jobs? or arbitrary jobs? computeOnXXX is meant for running a makes command on XXX provider, if nomad's plan and run are more like terraform, then testNomad (plan) and deployNomad (run) are more meaningful |
In any case, thanks for contributing this feature! if in the future someone else (or even us) want to use it, |
Looks like there can also be parametrization with: |
|
I'm on this one. As for the modules & related to #619 :
{
dev = { backend = {}; frontend = {}; ... };
staging = {};
prod = {};
} producing ...
|
And here is another gotcha, to manage
|
- Add nomad deploy job - Hashicorp's `hcl` parser can read plain `json`, as well, hence jobs can be defined in `json`, or `nix` rendered to `json`
- Capture nomad secrets from env variables - Analog to terraform
- Encapsulate nomad deploy as module
- Add nomad deploy job - Hashicorp's `hcl` parser can read plain `json`, as well, hence jobs can be defined in `json`, or `nix` rendered to `json`
- Capture nomad secrets from env variables - Analog to terraform
- Encapsulate nomad deploy as module
- Add nomad deploy job - Hashicorp's `hcl` parser can read plain `json`, as well, hence jobs can be defined in `json`, or `nix` rendered to `json`
- Capture nomad secrets from env variables - Analog to terraform
- Encapsulate nomad deploy as module
- Add nomad deploy job - Hashicorp's `hcl` parser can read plain `json`, as well, hence jobs can be defined in `json`, or `nix` rendered to `json`
- Capture nomad secrets from env variables - Analog to terraform
- Encapsulate nomad deploy as module
- Generate deploy tasks for an entire deploy job tree.
- Add nomad deploy job - Hashicorp's `hcl` parser can read plain `json`, as well, hence jobs can be defined in `json`, or `nix` rendered to `json`
- Capture nomad secrets from env variables - Analog to terraform
- Encapsulate nomad deploy as module
- Generate deploy tasks for an entire deploy job tree.
- Add nomad deploy job - Hashicorp's `hcl` parser can read plain `json`, as well, hence jobs can be defined in `json`, or `nix` rendered to `json`
- Capture nomad secrets from env variables - Analog to terraform
- Encapsulate nomad deploy as module
- Generate deploy tasks for an entire deploy job tree.
- Add docs to the readme
- Generate deploy tasks for an entire deploy job tree.
- Add docs to the readme
@blaggacao Are you currently using this builtin? |
Nope, we can close this. 🤝 |
Anything I need to know before getting my hands dirty?
The text was updated successfully, but these errors were encountered: