Commit Graph

35 Commits

Author SHA1 Message Date
Sean Chittenden
29be52f762 Speling police 2016-05-15 09:41:34 -07:00
Diptanu Choudhury
6ebf0e9a07 Using the command key in nomad spi for script checks 2016-03-31 13:35:55 -07:00
Diptanu Choudhury
e633776365 Merge pull request #986 from hashicorp/scripts
Implement script checks
2016-03-25 18:22:35 -07:00
Alex Dadgar
6e779b863e Explain restart decision and display in alloc-status 2016-03-25 12:47:14 -07:00
Diptanu Choudhury
62249fe79f Added an impl for Nomad Checks 2016-03-24 19:00:24 -07:00
Alex Dadgar
cd89a97529 Operator specifiable blacklist for task's using certain users 2016-03-24 10:55:14 -07:00
Miquel Sabaté Solà
939a00aca8 client/driver: added the user config value
This way Nomad allows to set which user has to run the task.

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
2016-03-23 12:57:31 +01:00
Alex Dadgar
d428501400 add destination to artifact block and validate it 2016-03-18 12:01:46 -07:00
Alex Dadgar
a70820d7ca Respond to comments and fix test 2016-03-15 20:21:52 -07:00
Alex Dadgar
bdc7fdebe1 Download artifacts and remove old code for drivers 2016-03-15 13:28:57 -07:00
Alex Dadgar
2d9a83d893 Go-getter options are generic and validation of checksums 2016-03-15 13:28:57 -07:00
Alex Dadgar
a5896d08a4 Parse artifacts and options 2016-03-15 13:28:57 -07:00
Alex Dadgar
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
Diptanu Choudhury
002dee9b3e Handling errors when client can't re-attach to syslog collector 2016-02-10 16:40:36 -08:00
Diptanu Choudhury
adf86c2f78 Fixing the api tests 2016-02-10 13:36:47 -08:00
Diptanu Choudhury
7bf254c9af Implemented log rotator for exec based drivers 2016-02-04 23:54:15 -08:00
Alex Dadgar
a2132950a5 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Alex Dadgar
3122433b47 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury
197e755506 Changed the http field to path 2015-11-18 14:29:55 -08:00
Diptanu Choudhury
3a250a179b Exctacted a method for parsing checks 2015-11-17 15:13:25 -08:00
Diptanu Choudhury
53e9d21ac0 Added the service definitions in api structs too 2015-11-17 15:13:25 -08:00
Chris Bednarski
1d1e4bdd08 Merge branch 'master' into f-port-labels 2015-11-16 16:02:38 -08:00
Alex Dadgar
b692bcd0b4 Fix the capacity 2015-11-16 15:14:21 -08:00
Alex Dadgar
fa68fb62d3 Change event type to string 2015-11-16 15:14:21 -08:00
Alex Dadgar
f4b461f97a Track Task State in the client and capture Wait results 2015-11-16 15:14:21 -08:00
Alex Dadgar
2afcbbe082 Add TaskState to alloc 2015-11-16 15:14:21 -08:00
Diptanu Choudhury
e8236c0081 Fixed the parsing and encoding logic 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
ec819f9761 Fixing tests to not create a TG without restart policies 2015-11-02 13:24:59 -08:00
Diptanu Choudhury
67c21e4b31 Added a RestartPolicy to some mocks 2015-10-30 21:33:33 -07:00
Diptanu Choudhury
e2f61e25e9 Sending restart policies to the Nomad API 2015-10-30 16:32:05 -07:00
Antoine POPINEAU
9c17c0a1d8 Added a jobspec directive to specify envvars. Updated Docker driver to use them accordingly. 2015-10-02 17:46:55 -07:00
Ryan Uber
dc8a672acd api: more tests 2015-09-09 18:10:16 -07:00
Ryan Uber
9fea4bf6cb api: more tests for jobs 2015-09-09 17:29:43 -07:00
Ryan Uber
5d1e515112 api: restructure client 2015-09-09 13:05:27 -07:00