Commit graph

9 commits

Author SHA1 Message Date
Simon Aronsson
62a95f0e48 Fix linting errors 2019-04-17 21:32:09 +02:00
Simon Aronsson
e2228f1b0b improve test coverage and add an api-server mock 2019-04-17 21:28:48 +02:00
Simon Aronsson
f8dd9bb02a improve test coverage 2019-04-17 15:36:35 +02:00
Simon Aronsson
1b82da1ab7 Setup a working pipeline
* add tests to ensure function even after switching docker client api version
* switch docker client api version to remove import of Sirupsen and get rid of the casing workaround
* migrate from glide to dep to go modules
* rewrite ci workflow
  * only run publish on version tags
  * only run build on branches
  * update goreleaser config
  * disable automated latest tag push
* remove dependency to v2tec/docker-gobuilder
* remove dead code and files
* add golands .idea folder to gitignore
* add label to released docker images
* add test reporting, add some unit tests
* change test output dir
* fix goreleaser versions
* add debug output for circleci and goreleaser
* disable cgo
2019-04-06 13:57:26 +02:00
Ross Cadogan
e011d3e0d2 Discard obsolete samalba/dockerclient library and dependent tests 2016-10-13 21:46:36 +01:00
Brian DeHamer
7cf2d7f1d8 Support Zodiac-based deployments
Since Zodiac always uses image IDs for deployments we can relay on the
standard container image field to determine the image that was used to
start the container. Luckily, Zodiac writes the original image name to a
label in the container metadata. If we find that Zodiac-specific label
on a running container we will use the associated value when trying to
determine if the container's image has changed.
2015-08-13 16:06:00 +00:00
Brian DeHamer
dd80aa4a0d Support for --cleanup flag
The --cleanup flag will cause watchtower to automatically remove the old
image after a container is restart with a new image.
2015-07-31 18:24:27 +00:00
Brian DeHamer
4275d1cd3d Add more accessors to Container struct 2015-07-22 22:52:22 +00:00
Brian DeHamer
00f2875abf Refactoring & renaming 2015-07-21 16:58:31 +00:00
Renamed from docker/container_test.go (Browse further)