Mahmood Ali
a6e59eb748
Use an image managed by nomad account
...
This is a retag of stefanscherer/busybox-windows@sha256:af396324c4c62e369a388ebb38d4efd44211dc7c95a438e6feb62b4ae4194c5b
2020-05-15 12:55:22 -04:00
Mahmood Ali
4c679d4c64
Use a pinned tag of stefanscherer/busybox-windows
2020-05-15 12:20:37 -04:00
Michele
d09937e41a
Move appveyor tests to circle
2020-05-15 10:15:37 -04:00
Mahmood Ali
ce8a8a5326
driver/docker: collect tty container logs
...
Fixes https://github.com/hashicorp/nomad/issues/5475
When container is a tty container, we need to get raw terminal output
without any additional processing.
2019-04-24 22:01:51 -04:00
Mahmood Ali
2b3d324a7f
Handle when cannot fetch docker logs ( #5420 )
...
Fix #5418
When using a docker logger that doesn't support log streaming through
API, currently docker logger runs a tight loop of Docker API calls
unexpectedly. This change ensures we stop fetching logs early.
Also, this adds some basic backoff strategy when Docker API logging
fails unexpectedly, to avoid accidentally DoSing the docker daemon.
2019-03-14 16:23:11 -04:00
Danielle Tomlinson
3287c3f019
chore: General Cleanup
2019-01-17 18:43:14 +01:00
Danielle Tomlinson
0bc1dbef56
chore: Fix docklog linting
2019-01-17 18:43:14 +01:00
Danielle Tomlinson
a587be44a7
dockerlogger: Fix tests on windows
...
Uses the home directory and windows path expansion, as c:\tmp doesn't
necessarily exist, and mktemp would involve unnecessarily complicating
the commands.
2019-01-17 18:43:13 +01:00
Mahmood Ali
90f747d895
tests: helper function for checking docker presense
2019-01-07 08:27:06 -05:00
Mahmood Ali
c62cb0b0ae
Skip tests requiring Docker deamon if not found.
2019-01-07 07:59:13 -05:00
Mahmood Ali
9254bdb92e
Avoid downloading image if present locally
2018-11-13 10:21:40 -05:00
Mahmood Ali
8ccb80bcea
pull alpine image needed for test
...
The test requires the image to be present locally, so importing it as
part of setup.
2018-11-13 10:21:40 -05:00
Nick Ethier
3a9ed23d71
driver/docker: rename container logger
2018-10-16 16:56:56 -07:00