Commit graph

94 commits

Author SHA1 Message Date
Fabrizio Steiner
b7efbc3059 Set minimum required API Version of docker to 1.24, this basically means we require at least docker 1.12.x or newer, therefore we also support docker 1.13.x. 2017-01-24 21:41:32 +01:00
Fabrizio Steiner
0989245a1c Merge pull request #40 from dolanor/net
Fix Multiple Network Support #23
2017-01-24 21:27:15 +01:00
Fabrizio Steiner
db473821f6 Merge branch 'master' into net 2017-01-24 21:24:40 +01:00
Fabrizio Steiner
eda5391d0a go fmt... 2017-01-24 21:06:04 +01:00
Fabrizio Steiner
6a72ba24c9 Merge pull request #53 from v2tec/GlideVendoringDependencies
Added glide for vendoring dependencies.
2017-01-24 20:58:37 +01:00
Fabrizio Steiner
63aa3efb11 Added glide for vendoring dependencies.
- Docker to 1.13.x
2017-01-24 20:52:47 +01:00
Fabrizio Steiner
462df027f5 Merge pull request #39 from stffabi/upstream_schedule
Simple Scheduling for Upgrades (Maintenance Window)
2017-01-24 20:02:31 +01:00
Fabrizio Steiner
525dfea3f2 Possibility to define a cron expression which specifies when to check for updated images. This allows to have a schedule in which updates should be made and therefore one could define a maintenance window. 2017-01-24 19:57:02 +01:00
Fabrizio Steiner
5902e9e0be Merge pull request #42 from stffabi/upstream_SelfUpdateFix
Fix for watchtower self update
2017-01-24 19:48:21 +01:00
Fabrizio Steiner
bb99ea11e6 Merge pull request #49 from v2tec/HousekeepingAfterRepoMove
Cleanup after repo move
2017-01-24 19:36:49 +01:00
Fabrizio Steiner
3b05108481 Do not publish docker images for the time being. This will be setup differently. 2017-01-24 19:24:48 +01:00
Fabrizio Steiner
f1822f9cd2 Renamed centurylink to v2tec. 2017-01-24 19:24:27 +01:00
Fabrizio Steiner
07924aacad Fixed typo in LICENSE and renamed to md. 2017-01-24 19:24:04 +01:00
David Gardner
e38e02627e Update LICENSE 2017-01-11 10:02:49 -08:00
Fabrizio Steiner
edfad5b786 RenameContainer implemented, this fixes the problem that watchtower can't update itself. 2017-01-07 01:00:49 +01:00
David Gardner
180806c1cb Merge pull request #37 from stffabi/CliConfigMoved
BuildFix: CliConfig moved.
2017-01-03 17:12:54 -08:00
Tanguy ⧓ Herrmann
b45fc5a9ba Fix comment from HoundCI
https://github.com/CenturyLinkLabs/watchtower/pull/40#discussion_r94326156
2017-01-02 16:19:51 +01:00
Fabrizio Steiner
32e7a47e58 CliConfig moved. 2016-12-29 00:21:38 +01:00
David Gardner
848ad58183 Merge pull request #34 from ATCUSA/patch-2
Update README.md
2016-12-27 09:24:39 -08:00
David Gardner
4c244791c4 Merge pull request #35 from stffabi/NewNativeStoreBuildFix
BuildFix:  Fixed Parameters of NewNativeStore call
2016-12-27 09:24:23 -08:00
David Gardner
4e7576f162 Merge pull request #36 from stffabi/RemoveHubMirror
Removed hub_mirror deployment, came in with PR #26.
2016-12-27 09:24:03 -08:00
Fabrizio Steiner
eb400d1c1e Removed hub_mirror deployment, came in with PR #26. 2016-12-27 09:16:15 +01:00
Fabrizio Steiner
c641668356 NewNativeStore has to be called with the CredentialsStore from the configfile. See also 07c4b4124b (diff-b082736d194e2fdfc6aca9d0c86a781bL26) 2016-12-26 13:26:21 +01:00
David Gardner
37f7248233 Merge pull request #26 from rosscado/auth
Upgrade client to fix build, authentication, and image issues
2016-12-22 12:42:52 -08:00
David Gardner
04220147e2 Merge pull request #9 from haswalt/master
Configure with ENV vars and allow skipping of restart
2016-12-22 12:41:45 -08:00
Austin
25f6595cf2 Update README.md
Change a to as.
2016-12-22 12:02:55 -08:00
Tanguy ⧓ Herrmann
4909b90662 go fmt done! 2016-12-17 22:56:04 +01:00
Tanguy ⧓ Herrmann
f8a2f80b92 Make an updated container connects to all the previously connected net
With insights from https://github.com/docker/docker/issues/29265
the behaviour is the same as the one from docker-compose

* connect to 1 network (at random) at start
* disconnect from that network
* reconnect to all the network from the previous configuration
2016-12-17 22:52:54 +01:00
Tanguy ⧓ Herrmann
fe0e34e857 Reuse the network config for the relaunch 2016-12-17 22:50:36 +01:00
Ross Cadogan
96466dbcf7 Deploy to official and unofficial hubs 2016-11-08 12:19:42 +00:00
Ross Cadogan
dad5d58339 Support loading authentication credentials from Docker config file 2016-11-08 12:15:17 +00:00
Ross Cadogan
79320bb4b6 Automatically deploy from hub branch to rosscado/watchtower docker hub repo 2016-11-08 12:15:17 +00:00
Ross Cadogan
952e720807 Change image name to push to rosscado/watchtower
The circle.yml version on this branch will automatically trigger a Circle CI build and push the resulting Docker image to the DockerHub repo rosscado/watchtower. This is a temporary DockerHub repo for the rosscado/watchtower GitHub repo, and can be used to pull or test unofficial watchtower builds before they are merged into the official centurylink/watchtower repos.
2016-11-08 12:15:17 +00:00
Ross Cadogan
5a03b65f30 Automatically push rosscado/watchtower:auth branch to rosscado/watchtower hub 2016-11-08 12:07:44 +00:00
Ross Cadogan
6a56597d45 Refactor port mapping functions for build simplicity 2016-11-07 19:21:47 +00:00
Ross Cadogan
e75236414e When authentication credentials are supplied as env vars they are always used.
This causes authentication failures on registries that don't match, including public registries.
Fallback to no-authentication to handle the case of public registries.
2016-10-18 15:08:25 +01:00
Ross Cadogan
541264281c Cannot load host Docker config from container. Remove option and rely on environment variables 2016-10-18 14:51:44 +01:00
Ross Cadogan
1c59200565 Registry authentication was failing silently when pulling images.
Load authentication credentials for available credential stores in order of preference:
 1. Environment variables REPO_USER, REPO_PASS
 2. Docker config files
Request image pull with authentication header.
Wait until pull request is complete before exiting function.
2016-10-18 14:04:55 +01:00
Ross Cadogan
ef430b791a Add auth config, registry auth fails silently without 2016-10-18 10:04:26 +01:00
Ross Cadogan
44dbd88295 Merge branch 'auth' of github.com:rosscado/watchtower into auth
Conflicts:
	CONTRIBUTING.md
2016-10-14 13:35:16 +01:00
Ross Cadogan
e8f6db2e05 Build instructions for contributors (because it's not obvious) 2016-10-14 13:32:30 +01:00
Ross Cadogan
2386d18660 Build instructions for contributors (because it's not obvious) 2016-10-14 13:18:11 +01:00
Ross Cadogan
8f137068d3 bdehamer/golang-builder doesn't work, use centurylink/golang-builder instead 2016-10-14 12:12:13 +01:00
Ross Cadogan
42fea79860 Rework TLS support, remove unsupported options 2016-10-14 12:10:49 +01:00
Ross Cadogan
69db640b98 godeps doesn't work, go without 2016-10-14 00:14:48 +01:00
Ross Cadogan
47718575ff godep doesn't work, distro required 2016-10-13 23:47:03 +01:00
Ross Cadogan
97214b2720 Consistent context 2016-10-13 23:44:59 +01:00
Ross Cadogan
da9ba691f3 Updating dependencies with 2016-10-13 23:15:55 +01:00
Ross Cadogan
b13e6af70f Migrate from codegangsta lib to urfave 2016-10-13 22:57:08 +01:00
Ross Cadogan
61ac18fce5 Ignore build output (watchtower binary) 2016-10-13 21:51:18 +01:00