Commit Graph

157 Commits

Author SHA1 Message Date
Alex Dadgar
757ba24875 Parse 2016-09-26 15:36:11 -07:00
Alex Dadgar
ee67630889 Struct and parse 2016-09-21 11:31:09 -07:00
Alex Dadgar
268bece1ab Vault defined at all levels 2016-09-21 11:31:09 -07:00
Diptanu Choudhury
396e45629b Renaming LocalDisk to EphemeralDisk (#1710)
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Diptanu Choudhury
54fe53742d Added copy method to LocalDisk 2016-08-26 14:24:47 -05:00
Diptanu Choudhury
dba0d80ee3 Fixed more tests 2016-08-26 01:51:19 -05:00
Diptanu Choudhury
0628fee7a8 Implemented job spec parsing for sticky volumes 2016-08-24 13:51:15 -05:00
vishalnayak
636d9e4839 Added mapstructure tag for VaultToken 2016-08-17 16:23:29 -07:00
vishalnayak
b5cf0ea3bc Update jobspec parsing to contain vault_token at job level and not task level 2016-08-17 16:23:29 -07:00
Alex Dadgar
531afe9a23 Add vault to jobspec 2016-08-17 16:23:29 -07:00
Diptanu Choudhury
53ab5d52d8 Cleaning up some code 2016-08-16 15:22:26 -07:00
Marin
56b35b9a95 fix initial status tests 2016-08-16 14:34:36 -07:00
Marin
fbb9108ed5 Add support for initial check status 2016-08-16 12:05:15 -07:00
Diptanu Choudhury
6cb5fd3694 Allowing ports to be overriden in check definitions 2016-07-08 14:14:25 -07:00
Alex Dadgar
c5059fc7c4 Rename ConsulService back to Service 2016-06-12 16:36:49 -07:00
Sean Chittenden
9b6e720fbe Merge pull request #1201 from hashicorp/f-dyn-server-list
Dynamic Server Lists/Client Bootstrapping via consul.
2016-06-11 18:58:25 -04:00
Sean Chittenden
54838b9eba Rename structs.Task's Service attribute to ConsulService 2016-06-10 15:54:39 -04:00
Sean Chittenden
a2081159b4 Rename structs.Services to structs.ConsulServices 2016-06-10 15:54:39 -04:00
Alex Dadgar
32e853147c test 2016-06-10 12:28:27 -07:00
Alex Dadgar
08e5ca047a Don't create options unless necessary 2016-06-10 12:27:56 -07:00
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
Ivo Verberk
92bf6f1ad0 Add helper to validate raw configuration data 2016-04-10 00:42:43 +02:00
Diptanu Choudhury
b49335b18a Renamed checks cmd to command to be consistent with exec driver config 2016-03-28 14:05:12 -07:00
Diptanu Choudhury
62249fe79f Added an impl for Nomad Checks 2016-03-24 19:00:24 -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
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
Alex Dadgar
a5896d08a4 Parse artifacts and options 2016-03-15 13:28:57 -07:00
Ivo Verberk
1dad703084 Validate config keys 2016-03-10 19:16:35 +01:00
Alex Dadgar
7a19f4de34 update hashicorp dependencies 2016-02-15 17:38:08 -08:00
Diptanu Choudhury
05999809aa Fixed some more tests 2016-02-11 22:33:41 -08:00
Diptanu Choudhury
6f9a67c638 Made a DefaultLogConfig method 2016-02-10 16:44:31 -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
7cc5714dc9 Merge pull request #624 from hashicorp/f-adjustable-timeout
User specifiable kill timeout and operator configurable max
2016-01-04 11:44:22 -08:00
Alex Dadgar
fc91fa6750 merge 2015-12-23 18:26:39 -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
e410b9219b Merge pull request #594 from hashicorp/f-restart-policy
More restart policy options and consolidate batch/service restart tracker
2015-12-18 12:25:13 -08:00
Diptanu Choudhury
c72bbb7770 lowercasing err messages 2015-12-18 12:19:47 -08:00
Alex Dadgar
3122433b47 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury
68107919de Changed the error message 2015-12-18 12:07:27 -08:00
Diptanu Choudhury
1ab3b2314c Throwing an error if ports are not named 2015-12-18 10:56:45 -08:00