Commit Graph

129 Commits

Author SHA1 Message Date
Diptanu Choudhury 6c0b3264c8 Fixed the tests for jobspec 2015-11-16 13:10:57 -08:00
Diptanu Choudhury b083a3f307 Fixed the parsing and encoding logic 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 4e05b27111 Implemented port labeling and driver configs 2015-11-16 13:10:57 -08:00
Mitchell Hashimoto 3f8765f532 jobspec: new HCL API 2015-11-08 22:57:39 -08:00
Diptanu Choudhury 8133aa413a Fixed grammer of comment 2015-10-30 21:06:56 -07:00
Diptanu Choudhury edcd677df6 Re-using toDuration while figuring out staggertime 2015-10-30 16:49:08 -07:00
Diptanu Choudhury 99c24e5243 Sending restart policies to the Nomad API 2015-10-30 16:32:05 -07:00
Diptanu Choudhury c883f9496a Added support for parsing restart blocks 2015-10-30 15:51:39 -07:00
Alex Dadgar 3cdbfc010f Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
Alex Dadgar fd9c2baf02 Constants for constraints and renaming to use undescore instead of camel 2015-10-26 13:47:56 -07:00
Alex Dadgar ecc4f98f3a Change "unique" to "distinctHosts" 2015-10-22 17:40:41 -07:00
Alex Dadgar 602baa37ce Documentation and making unique first class in the constraint block 2015-10-22 16:37:20 -07:00
Armon Dadgar 8d53dfc740 jobspec: adding sugar for regexp constraint 2015-10-11 15:37:50 -04:00
Armon Dadgar 8406bfede5 jobspec: adding sugar for version constraint 2015-10-11 15:20:58 -04:00
Antoine POPINEAU 722141bfa6 Added a jobspec directive to specify envvars. Updated Docker driver to use them accordingly. 2015-10-02 17:46:55 -07:00
Chris Bednarski f1f285fb10 Fix case sensitivity issue; also verify we don't get collisions 2015-09-25 18:59:17 -07:00
Chris Bednarski e6253b21f6 Put that back too. 2015-09-25 18:45:39 -07:00
Chris Bednarski f37dedc3bc Changed to uppercase + numbers + underscores; updated docs 2015-09-23 15:19:31 -07:00
Chris Bednarski 4fec4ad0e1 Fail parsing a job if the Dynamic Port labels are malformed 2015-09-23 13:44:08 -07:00
Armon Dadgar 0d9042808c jobspec: default count of group to 1 if not specified 2015-09-20 15:08:29 -07:00
Armon Dadgar 86fd4632fe jobspec: default constraints to hard, parse update configuration 2015-09-20 15:08:29 -07:00
Ryan Uber d0d5ef53cb jobspec: default job ID also comes from key 2015-09-16 22:06:55 -07:00
Mitchell Hashimoto 4aefc3ebb2 jobspec: defaults 2015-09-14 18:34:26 -07:00
Mitchell Hashimoto 2e9e738036 jobspec: validate singletons 2015-09-14 18:30:26 -07:00
Mitchell Hashimoto 9c9e3ed083 jobspec: parse network resources 2015-09-14 18:27:37 -07:00
Mitchell Hashimoto 03e94249e2 jobspec: task level constraints 2015-09-14 17:50:34 -07:00
Mitchell Hashimoto c4fdfa2897 jobspec: job-level constraints 2015-09-14 17:48:11 -07:00
Mitchell Hashimoto 8a006f2711 jobspec: parse job-level meta fields 2015-09-14 17:46:52 -07:00
Mitchell Hashimoto 9bd1c2f177 jobspec: parsing 2015-09-14 17:43:42 -07:00