Commit graph

6157 commits

Author SHA1 Message Date
Michael Schurter 4a9a574d9d Merge pull request #2054 from hashicorp/f-prestart
Add Driver.Prestart method
2016-12-20 16:18:56 -08:00
Michael Schurter 8e1ae14feb Remove unneeded env building 2016-12-20 16:14:42 -08:00
Michael Schurter 39f587a2af Fix tests broken by TaskEnv change 2016-12-20 14:37:35 -08:00
Michael Schurter 0d90e96925 lxc: Set image local env vars 2016-12-20 14:37:18 -08:00
Michael Schurter 05b49008eb Remove unneeded waitClient field 2016-12-20 14:29:57 -08:00
Diptanu Choudhury bab81734f5 Added two tests 2016-12-20 14:27:38 -08:00
Michael Schurter ea92cd102a Append host env vars on every task env 2016-12-20 12:24:24 -08:00
Michael Schurter 458c2ed5f1 Fix formatting of downloading image message 2016-12-20 11:57:26 -08:00
Michael Schurter e34d1e5d23 Use startContainer wrapper 2016-12-20 11:55:40 -08:00
Diptanu Choudhury 93091f7902 Fixed a test 2016-12-20 11:53:37 -08:00
Michael Schurter 2aa235f8f2 Rename InitializationMessage to DriverMessage 2016-12-20 11:51:09 -08:00
Michael Schurter 85b0cecff2 Emit "Downloading image" event 2016-12-20 11:40:34 -08:00
Diptanu Choudhury 9cdd576720 Updated changelog and fixed tests 2016-12-20 11:32:17 -08:00
Diptanu Choudhury 6c11f38cb0 Merge pull request #2081 from hashicorp/f-gc
Garbage collector for allocations
2016-12-20 11:19:32 -08:00
Diptanu Choudhury 0b9b6003c2 Updated changelog 2016-12-20 11:15:47 -08:00
Diptanu Choudhury b6120e2fc8 Removing the alloc runner from GC if it is destroyed by the server 2016-12-20 11:14:22 -08:00
Diptanu Choudhury 6e6e0d364a Added comments 2016-12-20 10:49:48 -08:00
Alex Dadgar bcf513201e Merge branch 'master' of github.com:hashicorp/nomad 2016-12-19 18:12:34 -08:00
Alex Dadgar 88d549b459 Changelog 2016-12-19 18:12:27 -08:00
Diptanu Choudhury 25fb7130fd Merge pull request #2032 from hashicorp/b-allocs
Making the status command return the allocs of currently registered job
2016-12-19 18:10:27 -08:00
Diptanu Choudhury 9786708526 Added comments 2016-12-19 18:10:02 -08:00
Alex Dadgar 746d4c7ee3 Small cleanups 2016-12-19 14:22:08 -08:00
Alex Dadgar 18739a4433 Merge pull request #1980 from dmexe/network-aliases
Add network_aliases for docker driver
2016-12-19 14:17:48 -08:00
Alex Dadgar 40449a0c33 Merge branch 'master' of github.com:hashicorp/nomad 2016-12-19 13:45:25 -08:00
Alex Dadgar b012b12656 changelog 2016-12-19 13:45:16 -08:00
Alex Dadgar d59057c3a8 Merge pull request #2130 from hashicorp/b-log-type
Fix Docker Logging Type interpolation
2016-12-19 13:43:52 -08:00
Alex Dadgar 7cdf24f05f Fix Docker Logging Type interpolation
This PR fixes an issue that made Logging.Type un-interpretable in the
docker driver.
2016-12-19 13:42:58 -08:00
Alex Dadgar 2f3aeed2f8 Merge pull request #2063 from tmichaud314/fix-docker-driver-auth-interpolation
Fixes docker-driver Auth-config interpolation
2016-12-19 13:41:27 -08:00
Diptanu Choudhury e072961cea Added tests 2016-12-19 13:21:47 -08:00
Alex Dadgar 90a5cecbe8 missing fix 2016-12-19 12:47:19 -08:00
Alex Dadgar 797bd3013f Merge pull request #2125 from pgporada/master
Updated docker doc to remove useless word
2016-12-19 12:45:54 -08:00
Alex Dadgar 9ddadf0209 update eval example 2016-12-19 10:16:49 -08:00
Diptanu Choudhury 36b5545d6b Making the gc allocator understand real disk usage 2016-12-16 18:34:59 -08:00
Phil Porada c8199fb404 Removed useless word 2016-12-16 16:57:58 -05:00
Alex Dadgar 7778339f03 Fix mapstructure tag formatting for lxc driver 2016-12-16 10:24:17 -08:00
Michael Schurter 3edf796c33 Merge pull request #2122 from hashicorp/b-fix-getting-started
Fix demo vagrant server by making hostname resolve
2016-12-16 09:55:18 -08:00
Michael Schurter 75a04b4c1f Remove commented out block from comments 2016-12-15 17:17:31 -08:00
Michael Schurter c2287adeee Fix demo vagrant server by making hostname resolve 2016-12-15 16:25:58 -08:00
Alex Dadgar c2ab69d083 Merge pull request #2121 from justinwalz/jw_alloc_status
show desired status and description for allocation
2016-12-15 15:24:31 -08:00
Justin Walz 1f5e78cc87 show desired status and description for allocation 2016-12-15 15:15:29 -08:00
Michael Schurter 81a709e6d4 Use - not _ for lxc enabled build 2016-12-15 11:06:03 -08:00
Diptanu Choudhury 8825ac82d0 Merge pull request #2118 from hashicorp/jbs-alloc-status-text
Help text grammar updates in alloc_status
2016-12-15 10:08:28 -08:00
Brian Shumate f292889970
Help text grammar updates
- Grammar change in usage info text
- Capitalization in stats retrieval error text
- Typo in outputTaskResources stats comment
2016-12-15 12:31:29 -05:00
Diptanu Choudhury 38122b2d7e Merge pull request #2109 from justinwalz/json_docs_vault
add vault example for JSON api
2016-12-14 19:02:04 -08:00
Justin Walz 7e7c201d22 add vault example for JSON api 2016-12-14 16:49:38 -08:00
Diptanu Choudhury 7aef9bcabe Added the stats collector to GC 2016-12-14 15:11:11 -08:00
Diptanu Choudhury e855cd587b Refactored hoststats collector 2016-12-14 15:07:42 -08:00
Diptanu Choudhury 0ffd92668d GC-ing before we start a new allocation 2016-12-14 15:04:06 -08:00
Diptanu Choudhury afdaa979f7 Added a garbage collector for allocations 2016-12-14 15:01:12 -08:00
Diptanu Choudhury a75d2294d4 Merge pull request #2103 from zanella/patch-1
Added example for the Reserved field
2016-12-14 10:12:26 -08:00