Commit Graph

37 Commits

Author SHA1 Message Date
Diptanu Choudhury 20766e9c5d Merge branch 'master' of github.com:hashicorp/nomad 2015-12-18 12:33:54 -08:00
Diptanu Choudhury df08a412a8 Fixed the job spec test 2015-12-18 12:33:38 -08:00
Alex Dadgar 31c3e12957 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury 3c4e15264c Fixed the jobspec tests 2015-12-14 15:09:57 -08:00
Alex Dadgar 6bb489734a fix perser 2015-12-01 08:59:00 -08:00
Alex Dadgar a9b95bca2d Add Periodic config to job 2015-12-01 08:59:00 -08:00
Diptanu Choudhury f71a664faa Fixed a few tests 2015-11-26 00:26:10 -08:00
Diptanu Choudhury dd875f1d2b Fixed the test errors 2015-11-18 02:07:07 -08:00
Diptanu Choudhury e413e882a6 Fixed typo 2015-11-17 17:12:21 -08:00
Diptanu Choudhury 2c3d5935b4 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 1672252226 Autogenerating names of service 2015-11-17 16:05:03 -08:00
Diptanu Choudhury 36520a90b3 Added tests for service block parsing 2015-11-17 15:13:25 -08:00
Mitchell Hashimoto f9e7e974d7 jobspec: add test for types of nested configs 2015-11-16 13:10:57 -08:00
Diptanu Choudhury 6c0b3264c8 Fixed the tests for jobspec 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 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 4fec4ad0e1 Fail parsing a job if the Dynamic Port labels are malformed 2015-09-23 13:44:08 -07:00
Chris Bednarski 168c959497 Added named ports 2015-09-22 13:59:16 -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 42a36b300b jobspec: parse regions 2015-09-14 18:18:49 -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