Commit Graph

54 Commits

Author SHA1 Message Date
Alex Dadgar
a9e3a41407 Enable more linters 2017-09-26 15:26:33 -07:00
Chelsea Holland Komlo
899e0eba7f add acl token as meta flag
add API test for job ACL
2017-09-15 23:33:43 +00:00
Alex Dadgar
ac1539d5d9 Sync namespace changes 2017-09-07 17:04:21 -07: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
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
74563518b6 Small fixes 2017-07-07 12:07:08 -07:00
Michael Schurter
3f37be369d Move caonicalization from nomad/structs/ to api/ 2017-06-21 17:19:08 -07:00
Michael Schurter
6d0bc9858a Fix template canonicalize test 2017-05-26 16:42:16 -07:00
Alex Dadgar
7515f778a9 Thread through warnings about deprecations 2017-05-09 20:52:47 -07:00
Alex Dadgar
694d9c450a Revert api 2017-04-20 11:14:06 -07:00
Alex Dadgar
f8828a5a50 Fix some tests 2017-04-17 19:39:20 -07:00
Alex Dadgar
950171f094 non-purge deregisters 2017-04-15 17:08:05 -07:00
Alex Dadgar
330800f683 Agent API + api package 2017-04-15 17:08:05 -07:00
Alex Dadgar
8b1359c2d0 Fix canonicalization of services 2017-03-01 15:30:01 -08:00
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
a2fbe09c6d fix check 2017-02-24 15:01:09 -08:00
Michael Schurter
fe4537e1f3 Add Canonicalize test mimicing example job + template 2017-02-24 12:08:31 -08:00
Alex Dadgar
76ab4b6448 Merge branch 'master' into refactor-parser 2017-02-20 15:13:21 -08:00
Diptanu Choudhury
5502a669e8 Added tests 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
f551dcb83e Making the job spec return api.Job 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
a709731258 Updated changelog and fixed tests 2016-12-20 11:32:17 -08:00
Diptanu Choudhury
6646a5d0ed Merge pull request #1542 from novilabs/fix-test-job-summary
just checked the known values in job summary instead of doing a deep equals
2016-08-09 15:59:39 -07:00
Cameron Davison
bf15a9356d go fmt error 2016-08-08 09:24:24 -05:00
Cameron Davison
9fb2733de8 just checked the known values in job summary instead of doing a deep equals 2016-08-07 22:51:24 -05:00
Cameron Davison
f52335700b it is possible to have more than 1 eval if the eval fails, use the last one 2016-08-07 22:30:48 -05:00
Diptanu Choudhury
03c6692f98 Fixed some bugs 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
ba18de7d4e Added support for retreiving job summary in api 2016-07-25 17:26:38 -07:00
Alex Dadgar
693299cd9b Add check-index flag to nomad run 2016-06-08 17:56:32 -07:00
Alex Dadgar
f56bdbe03a Switch to using the harness 2016-05-16 12:49:18 -07:00
Alex Dadgar
85323c5db6 Remove plan from the response 2016-05-12 11:29:38 -07:00
Alex Dadgar
614a93e1e8 Plan api 2016-05-11 18:51:48 -07:00
Alex Dadgar
20a009e180 Make inspect output submittable 2016-04-13 16:53:39 -07:00
Alex Dadgar
3698bcabf7 small fixes 2016-03-25 11:38:18 -07:00
Alex Dadgar
52347d42f9 Add nomad inspect command 2016-03-21 12:46:35 -07:00
Alex Dadgar
1ab7896133 Move endpoint to be under job 2016-01-19 11:09:36 -08:00
Ivo Verberk
db82564041 Bring up-to-date with master 2015-12-24 21:16:32 +01:00
Ivo Verberk
905742249e Refactoring continued
* Refactor other cli commands to new design
* Add PrefixList method to api package
* Add more tests
2015-12-24 20:53:37 +01:00
Alex Dadgar
af66ac621a Update deregister test 2015-12-23 18:26:39 -08:00
Alex Dadgar
c46447a572 Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
Ryan Uber
6c3c45641f api: rename jobs.Delete -> jobs.Deregister 2015-09-22 10:45:06 -07:00
Ryan Uber
cd10614798 api: job deregister returns eval ID 2015-09-22 10:45:06 -07:00
Ryan Uber
0f0bbbd0ff api: test job sort 2015-09-17 13:15:45 -07:00
Ryan Uber
24cd105200 api: composing jobs takes region 2015-09-16 11:42:08 -07:00
Ryan Uber
d2597982ad api: use stub structs 2015-09-13 20:02:22 -07:00
Ryan Uber
cf64966dc2 api: support force-eval 2015-09-09 18:39:24 -07:00
Ryan Uber
9fea4bf6cb api: more tests for jobs 2015-09-09 17:29:43 -07:00
Ryan Uber
7b94b6213a api: allow query options everywhere 2015-09-09 13:18:50 -07:00
Ryan Uber
5d1e515112 api: restructure client 2015-09-09 13:05:27 -07:00
Ryan Uber
aa08c1c01b api: structs are composable 2015-09-09 00:33:56 -07:00