Skip to content

Conversation

kamermans
Copy link
Contributor

This PR upgrades docker-engine in Travis-CI from 1.12.1 to 1.12.3 and adds the --allow-downgrades flag. Without this flag, when 1.12.4 comes out, apt-get will fail with an error because it does not allow automated downgrades of packages without confirmation, so all builds will start to fail (this just happened in #590 ).

@kamermans kamermans changed the title Upgrade docker-engine and allow downgrades Travis-CI - upgrade docker-engine and allow downgrades Dec 5, 2016
@kamermans
Copy link
Contributor Author

Debian deprecated --force-yes in favor of --allow-* (like --allow-downgrades), but in Ubuntu 14.04, apparently the new flags are not supported yet, so I am forced to use the deprecated --force-yes option to force the installation of a potentially older version of Docker. This should work for at least a few years, until Travis is using Ubuntu > 16.04.

@jwilder jwilder merged commit 40872c9 into nginx-proxy:master Dec 5, 2016
@jwilder
Copy link
Collaborator

jwilder commented Dec 5, 2016

Thanks @kamermans!

@kamermans kamermans deleted the travisci_fix branch December 5, 2016 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants