Alex Dadgar
4173834231
Enable more linters
2017-09-26 15:26:33 -07:00
Alex Dadgar
698387e103
Don't merge empty update from job into task groups
...
This PR fixes an issue in which we would merge an update stanza from the
job into the task groups even if it was empty. This broke round
tripping a job (reading from the api and resubmitting as JSON)
Fixes https://github.com/hashicorp/nomad/issues/3132
2017-08-30 11:35:19 -07:00
Alex Dadgar
789751d84e
Parallel
2017-07-21 16:33:04 -07:00
Michael Schurter
0d3bdf7210
Add support for go-getter modes
...
Fixes #2678
2017-07-06 10:45:44 -07:00
Diptanu Choudhury
d0d7c92bab
Added tests
2017-02-16 13:52:39 -08:00
Diptanu Choudhury
7567209857
Making the job spec return api.Job
2017-02-16 13:52:39 -08:00
Alex Dadgar
156d5845d1
Fix api test
2015-12-18 12:17:54 -08:00
Diptanu Choudhury
33fc6b88d3
Fixed the api tests
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
c80f0e38d1
Added a RestartPolicy to some mocks
2015-10-30 21:33:33 -07:00
Alex Dadgar
3cdbfc010f
Remove weight and hard/soft fields from constraint
2015-10-27 14:31:14 -07:00
Alex Dadgar
f40397e6ef
Switch to using BlkioWeight
2015-10-06 15:44:01 -07:00
Armon Dadgar
b213462cb4
Change CPU from float64 to int
2015-09-23 11:14:32 -07:00
Ryan Uber
5e1932136a
api: more tests
2015-09-09 18:10:16 -07:00