Diptanu Choudhury
|
df08a412a8
|
Fixed the job spec test
|
2015-12-18 12:33:38 -08:00 |
Alex Dadgar
|
3bdd372413
|
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
|
de94f7c535
|
lowercasing err messages
|
2015-12-18 12:19:47 -08:00 |
Alex Dadgar
|
31c3e12957
|
merge
|
2015-12-18 12:17:13 -08:00 |
Diptanu Choudhury
|
ebd2fdb930
|
Changed the error message
|
2015-12-18 12:07:27 -08:00 |
Diptanu Choudhury
|
c04f1e8d82
|
Throwing an error if ports are not named
|
2015-12-18 10:56:45 -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
|
e25c260694
|
Merge pull request #509 from hashicorp/f-service-name
Implemented interpolation of Job, Task group and Task Names in Service Name
|
2015-11-26 23:28:13 -08:00 |
Diptanu Choudhury
|
fa0ab6ba08
|
Added a method to expand service names
|
2015-11-26 18:30:46 -08:00 |
Diptanu Choudhury
|
f71a664faa
|
Fixed a few tests
|
2015-11-26 00:26:10 -08:00 |
Diptanu Choudhury
|
9cf10d64a5
|
making the service checks in service pointers
|
2015-11-25 17:44:57 -08:00 |
Alex Dadgar
|
3ef9602c69
|
Extract bool conversion to method
|
2015-11-25 12:33:56 -08:00 |
Alex Dadgar
|
3209c46b51
|
Accept string or bool
|
2015-11-25 12:25:21 -08:00 |
Diptanu Choudhury
|
dd875f1d2b
|
Fixed the test errors
|
2015-11-18 02:07:07 -08:00 |
Diptanu Choudhury
|
404810043a
|
Added the implementation of consul client
|
2015-11-18 00:50:45 -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
|
c02c2312d4
|
Adding prefix to user defined name and forcing id to be blank during parsing
|
2015-11-17 16:44:05 -08:00 |
Diptanu Choudhury
|
f98a6a384e
|
Validating that services are named explicitly if there is more than one Service defn
|
2015-11-17 16:08:03 -08:00 |
Diptanu Choudhury
|
1672252226
|
Autogenerating names of service
|
2015-11-17 16:05:03 -08:00 |
Diptanu Choudhury
|
04d2d6921d
|
Exctacted a method for parsing checks
|
2015-11-17 15:13:25 -08:00 |
Diptanu Choudhury
|
cd7a974a7f
|
Exctracted the logic of parsing services in a method
|
2015-11-17 15:13:25 -08:00 |
Diptanu Choudhury
|
36520a90b3
|
Added tests for service block parsing
|
2015-11-17 15:13:25 -08:00 |
Diptanu Choudhury
|
eb19967ce4
|
Added the parsling logic for service blocks
|
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 |
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
|
9541e102b6
|
add new test fixture
|
2015-10-22 17:41:35 -07:00 |
Alex Dadgar
|
ecc4f98f3a
|
Change "unique" to "distinctHosts"
|
2015-10-22 17:40:41 -07:00 |
Alex Dadgar
|
80753629fc
|
Add test fixture
|
2015-10-22 16:52:00 -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
|
2c9cc76a7d
|
Forgot to fix my test after testing it.
|
2015-10-02 17:46:55 -07: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
|
2be5a4767c
|
Actually add the fixture
|
2015-09-25 19:01:29 -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
|
1654d08fca
|
Add docker ports; change to uppercase examples and tests
|
2015-09-23 18:01:08 -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 |
Chris Bednarski
|
168c959497
|
Added named ports
|
2015-09-22 13:59:16 -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
|
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 |