-
Notifications
You must be signed in to change notification settings - Fork 327
Conversation
6f123a3
to
be47a50
Compare
@mitchellh thanks for adding this functionality. is there a plan to support levant down the road? |
Yes, likely via a separate plugin. We're trying to make well-scoped plugins. But if you look at how simple this one is, you can see that these are really quick, easy things to write! |
be47a50
to
22040a6
Compare
f5f7b4f
to
8c622cc
Compare
8c622cc
to
7c80d10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Gave this a go with the waypoint-examples/nodejs project, but copied it over to use the jobspec plugin: hashicorp/waypoint-examples#65
Worked for me bringing up a job a couple of times and destroying each time!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this!
I did have to specify a namespace in my job templatefile to get the release URL to work; it does not seem to be defaulting to "default" for me:
job "web" {
datacenters = ["dc1"]
namespace = "default"
Fixed! #1358 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just that one confusion about the indenting on the example, otherwise 👍
Need to create a new file app.nomad.tpl right ? |
Builds on #1298.
This introduces a plugin that can deploy to Nomad directly from a job specification file. This uses the mutable deployments functionality introduced in #1298. Example below: