open-nomad/drivers/docker
Danielle Lancashire a096a7f112 Switch to pre-0.9 behaviour for handling volumes
In Nomad 0.9, we made volume driver handling the same for `""`, and
`"local"` volumes. Prior to Nomad 0.9 however these had slightly different
behaviour for relative paths and named volumes.

Prior to 0.9 the empty string would expand relative paths within the task
dir, and `"local"` volumes that are not absolute paths would be treated
as docker named volumes.

This commit reverts to the previous behaviour as follows:

| Nomad Version | Driver  |   Volume Spec    | Behaviour                 |
|-------------------------------------------------------------------------
| all           | ""      | testing:/testing | allocdir/testing          |
| 0.8.7         | "local" | testing:/testing | "testing" as named volume |
| 0.9.0         | "local" | testing:/testing | allocdir/testing          |
| 0.9.1         | "local" | testing:/testing | "testing" as named volume |
2019-04-18 14:28:45 +02:00
..
cmd Plugins use parent loggers 2019-01-11 11:36:37 -08:00
docklog locking and opening streams in goroutine comment 2019-04-16 11:02:19 -04:00
test-resources/docker tests: pin busybox image to a specific point tag 2018-12-15 15:03:56 -05:00
util docker: Support stats on Windows 2019-02-22 14:19:58 +01:00
config.go drivers/docker: rename logging type to driver 2019-02-28 16:04:03 -05:00
config_test.go Support driver config fields being set to nil (#5391) 2019-03-05 21:47:06 -05:00
coordinator.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
coordinator_test.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
driver.go Switch to pre-0.9 behaviour for handling volumes 2019-04-18 14:28:45 +02:00
driver_darwin_test.go tests: run docker tests in macOS out of box 2019-01-08 14:35:40 -05:00
driver_default.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
driver_linux_test.go tests: IsTravis() -> IsCI() 2019-02-20 08:21:03 -05:00
driver_pre09.go client: fix bug during 0.8 state up grade that causes external drivers to fail 2019-01-30 14:22:29 -05:00
driver_test.go ci: move docker unix-y test 2019-04-09 19:59:58 -04:00
driver_unix_test.go Switch to pre-0.9 behaviour for handling volumes 2019-04-18 14:28:45 +02:00
driver_windows.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
driver_windows_test.go chore: General Cleanup 2019-01-17 18:43:14 +01:00
fingerprint.go docker: report unhealthy in unsupported Windows (#5356) 2019-02-27 08:10:23 -05:00
fingerprint_test.go docker: report unhealthy in unsupported Windows (#5356) 2019-02-27 08:10:23 -05:00
handle.go Don't fall through 2019-01-28 09:53:19 -08:00
progress.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
progress_test.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
state.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
stats.go docker: improve stats names and comments 2019-04-02 09:18:38 -07:00
stats_test.go docker: improve stats names and comments 2019-04-02 09:18:38 -07:00
utils.go Validate all auth fields being empty rather than just email 2019-03-13 11:47:37 -05:00
utils_test.go docker: Test cleanup for windows 2019-01-17 18:43:14 +01:00
utils_unix_test.go docker: Test cleanup for windows 2019-01-17 18:43:14 +01:00
utils_windows_test.go docker: Test cleanup for windows 2019-01-17 18:43:14 +01:00