Commit Graph

135 Commits

Author SHA1 Message Date
Alex Dadgar
8eb9a5d819 Make validate work without a Nomad agent 2017-03-03 15:02:03 -08:00
Alex Dadgar
8b1359c2d0 Fix canonicalization of services 2017-03-01 15:30:01 -08:00
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
55e7ad7fd9 Remove defaulting from parse and fix parser tests
This PR removes defaulting from the parse, fixes some regressions that
existed as part of the parser refactor and fixes the tests.
2017-02-22 12:30:05 -08:00
Alex Dadgar
ee76b78922 rebase 2017-02-20 16:43:28 -08:00
Alex Dadgar
76ab4b6448 Merge branch 'master' into refactor-parser 2017-02-20 15:13:21 -08:00
Diptanu Choudhury
5502a669e8 Added tests 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
f551dcb83e Making the job spec return api.Job 2017-02-16 13:52:39 -08:00
Alex Dadgar
8d101c0d25 Allow specification of timezones 2017-02-15 14:37:06 -08:00
Alex Dadgar
a22f1647f9 Add leader task to api and server side 2017-02-10 16:57:47 -08:00
Alex Dadgar
9afa48310e Template destination file permissions.
This PR allows setting the file permissions of the rendered template.
2017-01-31 20:10:01 -08:00
Alex Dadgar
98c17e5195 Rename meta/parsing 2017-01-25 21:27:44 -08:00
Alex Dadgar
314435261d Rename dispatch_input to dispatch_payload 2017-01-25 21:27:44 -08:00
Michael Schurter
3404fb565e parameterized_job -> parameterized 2017-01-20 12:46:04 -08:00
Michael Schurter
1a845561dd Rename Constructor -> Parameterized Job 2017-01-20 12:43:10 -08:00
Alex Dadgar
248c069652 Merge pull request #2128 from hashicorp/f-dispatch
Nomad Constructor Jobs and Dispatch
2017-01-06 05:22:49 +08:00
Alex Dadgar
e495eecece Rename structs 2016-12-14 14:28:43 -08:00
Alex Dadgar
b05b729562 Remove paused 2016-12-01 13:17:34 -08:00
Gábor Lipták
0427706166 Improve parsing of job struct 2016-11-23 20:18:50 -05:00
Alex Dadgar
35d274df1f Parse 2016-11-23 15:48:36 -08:00
Diptanu Choudhury
490026e67d Added a warning message if disk attribute is non zero 2016-11-08 17:06:37 -08:00
Alex Dadgar
c97711ef34 Add set contains 2016-10-19 13:06:28 -07:00
Alex Dadgar
2d890e1db3 tests 2016-10-18 14:54:14 -07:00
Alex Dadgar
4048d1db5c Comments 2016-10-18 11:36:04 -07:00
Alex Dadgar
e34902ae8a Large refactor of task runner and Vault token rehandling 2016-10-18 11:24:20 -07:00
Alex Dadgar
ebef11e6b0 Struct/api/parsing 2016-10-18 11:24:20 -07:00
Alex Dadgar
e1bc05eadf Consul Template Manager 2016-10-03 12:59:31 -07:00
Diptanu Choudhury
c29861b418 Getting snapshot of allocation from remote node (#1741)
* Added the alloc dir move

* Moving allocdirs when starting allocations

* Added the migrate flag to ephemeral disk

* Stopping migration if the allocation doesn't need migration any more

* Added the GetAllocDir method

* refactored code

* Added a test for alloc runner

* Incorporated review comments
2016-10-03 09:59:57 -07:00
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