Commit Graph

52 Commits

Author SHA1 Message Date
Ivo Verberk
e7efe615fd Docker labels configuration should be of type "array" in schema 2016-04-25 23:58:31 +02:00
Ivo Verberk
51755c513f Implement configuration validation for all task drivers 2016-04-10 00:42:57 +02: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
2d9a83d893 Go-getter options are generic and validation of checksums 2016-03-15 13:28:57 -07:00
Alex Dadgar
a1544197b8 Switch from string to artifact struct 2016-03-15 13:28:57 -07:00
Ivo Verberk
1dad703084 Validate config keys 2016-03-10 19:16:35 +01:00
Diptanu Choudhury
05999809aa Fixed some more tests 2016-02-11 22:33:41 -08:00
Diptanu Choudhury
e4f4e35c80 Added parsing logic for the logrotator 2016-02-04 23:28:01 -08:00
Alex Dadgar
2b43ddfa7e Fix test 2016-02-02 17:39:01 -08:00
Alex Dadgar
a2132950a5 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar
1151133271 Validate min resources and default them 2016-02-02 13:27:50 -08:00
Alex Dadgar
c9247c7398 Add ProhibitOverlap option to PeriodicConfig 2016-01-07 11:19:46 -08:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Diptanu Choudhury
2de95e087e Merge branch 'master' of github.com:hashicorp/nomad 2015-12-18 12:33:54 -08:00
Diptanu Choudhury
02668b030a Fixed the job spec test 2015-12-18 12:33:38 -08:00
Alex Dadgar
3122433b47 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury
76666998bb Fixed the jobspec tests 2015-12-14 15:09:57 -08:00
Alex Dadgar
255fba9069 fix perser 2015-12-01 08:59:00 -08:00
Alex Dadgar
f4320802b4 Add Periodic config to job 2015-12-01 08:59:00 -08:00
Diptanu Choudhury
6067b30d51 Fixed a few tests 2015-11-26 00:26:10 -08:00
Diptanu Choudhury
028ad505cf Fixed the test errors 2015-11-18 02:07:07 -08:00
Diptanu Choudhury
1701ff240c Fixed typo 2015-11-17 17:12:21 -08:00
Diptanu Choudhury
5c3a658525 Added a test which makes sure parsing fails if more than one service block has non empty names 2015-11-17 17:06:29 -08:00
Diptanu Choudhury
2ce78767a8 Autogenerating names of service 2015-11-17 16:05:03 -08:00
Diptanu Choudhury
5a0777fccb Added tests for service block parsing 2015-11-17 15:13:25 -08:00
Mitchell Hashimoto
bc2efb7824 jobspec: add test for types of nested configs 2015-11-16 13:10:57 -08:00
Diptanu Choudhury
87f49c4f7f Fixed the tests for jobspec 2015-11-16 13:10:57 -08:00
Mitchell Hashimoto
94a7395ef3 jobspec: new HCL API 2015-11-08 22:57:39 -08:00
Diptanu Choudhury
e2f61e25e9 Sending restart policies to the Nomad API 2015-10-30 16:32:05 -07:00
Diptanu Choudhury
83695cb5d1 Added support for parsing restart blocks 2015-10-30 15:51:39 -07:00
Alex Dadgar
c46447a572 Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
Alex Dadgar
cccef7ac84 Constants for constraints and renaming to use undescore instead of camel 2015-10-26 13:47:56 -07:00
Alex Dadgar
db90849fb1 Change "unique" to "distinctHosts" 2015-10-22 17:40:41 -07:00
Alex Dadgar
7127f6ec60 Documentation and making unique first class in the constraint block 2015-10-22 16:37:20 -07:00
Armon Dadgar
e2093e4189 jobspec: adding sugar for regexp constraint 2015-10-11 15:37:50 -04:00
Armon Dadgar
a5342d61b7 jobspec: adding sugar for version constraint 2015-10-11 15:20:58 -04: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
Chris Bednarski
a2f8d59368 Fix case sensitivity issue; also verify we don't get collisions 2015-09-25 18:59:17 -07:00
Chris Bednarski
ed6cd61add Fail parsing a job if the Dynamic Port labels are malformed 2015-09-23 13:44:08 -07:00
Chris Bednarski
cbc153c12f Added named ports 2015-09-22 13:59:16 -07:00
Armon Dadgar
b3700bd060 jobspec: default constraints to hard, parse update configuration 2015-09-20 15:08:29 -07:00
Ryan Uber
4c8eb1d78a jobspec: default job ID also comes from key 2015-09-16 22:06:55 -07:00
Mitchell Hashimoto
b46ef51404 jobspec: defaults 2015-09-14 18:34:26 -07:00
Mitchell Hashimoto
67583aea96 jobspec: validate singletons 2015-09-14 18:30:26 -07:00
Mitchell Hashimoto
2a6ebd4aaa jobspec: parse network resources 2015-09-14 18:27:37 -07:00
Mitchell Hashimoto
47499db3bb jobspec: parse regions 2015-09-14 18:18:49 -07:00
Mitchell Hashimoto
9d9f275d4f jobspec: task level constraints 2015-09-14 17:50:34 -07:00
Mitchell Hashimoto
058d4bcc36 jobspec: job-level constraints 2015-09-14 17:48:11 -07:00