Commit Graph

358 Commits

Author SHA1 Message Date
Chelsea Holland Komlo
ffdea26651 update comment for revised contexts 2017-08-14 18:51:32 +00:00
Chelsea Holland Komlo
3319fb5822 fixups from code review 2017-08-14 17:56:03 +00:00
Chelsea Holland Komlo
c770119e16 context constants should be in both api and structs pkg 2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
4edc38d5c2 using contexts constants in replace of string contexts
fix up endpoints
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
01b3338b71 use constants for contexts 2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
7c5ef641c1 change endpoint to /v1/search 2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
c3f2490ee8 update comments
refactor for simplicity
2017-08-14 17:36:14 +00:00
Chelsea Holland Komlo
787f7bc0c4 rename to cluster search
comment updates
2017-08-14 17:36:14 +00:00
Chelsea Holland Komlo
a45bf60c22 fix failing test assertion
small refactors
2017-08-14 17:35:35 +00:00
Chelsea Holland Komlo
34bb3d36bd autocomplete for allocation ids 2017-08-14 17:35:35 +00:00
Alex Dadgar
a066856d72 Merge pull request #3001 from hashicorp/f-template-events
Template emits events explaining why it is blocked
2017-08-10 13:00:58 -07:00
Alex Dadgar
71838d6a80 Merge pull request #2979 from lfarnell/cleanup
Code cleanup
2017-08-08 10:21:15 -07:00
Alex Dadgar
43d2c425d1 Emit generic task events 2017-08-07 21:26:04 -07:00
Luke Farnell
7a56971508 fixed all spelling mistakes for goreport 2017-08-07 17:13:05 -04:00
Alex Dadgar
053cff812a Allow template to set Vault grace
This PR allows a template to specify the Vault grace duration.

Fixes https://github.com/hashicorp/nomad/issues/2922
2017-08-01 14:14:08 -07:00
Alex Dadgar
a56f67b76d Parallel 2017-07-21 16:33:04 -07:00
Alex Dadgar
27048bb7fa events 2017-07-07 12:12:48 -07:00
Alex Dadgar
e1c631064a @jippi Changed my mind! Good suggestion 2017-07-07 12:12:48 -07:00
Alex Dadgar
e5d8c0888f alloc-status 2017-07-07 12:12:48 -07:00
Alex Dadgar
c5b1e2dcc1 alloc-list shows version 2017-07-07 12:12:48 -07:00
Alex Dadgar
f0a090c6e8 Disallow update stanza on batch jobs
This PR:
* disallows update stanzas on batch jobs
* undeprecates the stagger field
* changes the way warnings are returned
2017-07-07 12:11:39 -07:00
Alex Dadgar
fec6f2ef57 Return the reverted job version 2017-07-07 12:10:04 -07:00
Alex Dadgar
aaf5ab0a21 Job stability 2017-07-07 12:10:04 -07:00
Alex Dadgar
989aa56304 Remove canary 2017-07-07 12:10:04 -07:00
Alex Dadgar
da82a6e814 initial watcher 2017-07-07 12:07:08 -07:00
Alex Dadgar
7e507719f8 Add deployment id to alloc 2017-07-07 12:07:08 -07:00
Alex Dadgar
74563518b6 Small fixes 2017-07-07 12:07:08 -07:00
Alex Dadgar
004a766171 deployment promote 2017-07-07 12:07:07 -07:00
Alex Dadgar
bab25f6834 deployment status 2017-07-07 12:07:07 -07:00
Alex Dadgar
fbd2b73904 job revert 2017-07-07 12:07:07 -07:00
Alex Dadgar
3935656d14 Show submit time 2017-07-07 12:07:07 -07:00
Alex Dadgar
9220836cb4 JobVersions returns struct with optional diff 2017-07-07 12:05:57 -07:00
Alex Dadgar
d0a8332140 job deployment endpoint + api 2017-07-07 12:05:56 -07:00
Alex Dadgar
89d86bc4bd Deployments HTTP docs 2017-07-07 12:03:11 -07:00
Alex Dadgar
aa5bf9b49e deployment api 2017-07-07 12:03:11 -07:00
Alex Dadgar
53f4952c56 initial impl 2017-07-07 12:03:11 -07:00
Alex Dadgar
662bc3941b handle annotations 2017-07-07 12:03:11 -07:00
Michael Schurter
450e347708 Add support for go-getter modes
Fixes #2678
2017-07-06 10:45:44 -07:00
Michael Schurter
3f37be369d Move caonicalization from nomad/structs/ to api/ 2017-06-21 17:19:08 -07:00
Michael Schurter
3fddb05fc8 Implement DriverNetwork and Service.AddressMode
Ideally DriverNetwork would be fully populated in Driver.Prestart, but
Docker doesn't assign the container's IP until you start the container.

However, it's important to setup the port env vars before calling
Driver.Start, so Prestart should populate that.
2017-06-21 17:19:08 -07:00
Michael Schurter
6d0bc9858a Fix template canonicalize test 2017-05-26 16:42:16 -07:00
Michael Schurter
7dac668adf Functional consul template env file support 2017-05-23 13:45:14 -07:00
Alex Dadgar
715c6bcc4a API defaults use structs default 2017-05-10 13:51:52 -07:00
Alex Dadgar
7515f778a9 Thread through warnings about deprecations 2017-05-09 20:52:47 -07:00
Alex Dadgar
d606e98a6e New update block; still need to handle the upgrade path 2017-05-08 17:44:26 -07:00
Alex Dadgar
694d9c450a Revert api 2017-04-20 11:14:06 -07:00
Alex Dadgar
b8b18dbe62 Structs 2017-04-20 11:14:06 -07:00
Michael Schurter
7c67166510 Add TLSSkipVerify support to api and parser 2017-04-19 12:45:34 -07:00
Alex Dadgar
f8828a5a50 Fix some tests 2017-04-17 19:39:20 -07:00
Alex Dadgar
376e177836 Status shows type of job 2017-04-15 17:08:05 -07:00