Open sadovnikov opened 8 years ago
Hi @sadovnikov,
I need to investigate, my first ideas are:
post-installation
script, .deb
hook scripts is a real nightmareHI @moul, thanks a lot for responding! Seems you did not see anything obviously wrong in our setup. I'll try to find an alternative way to get required version of docker on build boxes
Just FYI, we've managed to get our builds running. However it's a work around ;-(
install:
# one liner installation of docker 1.9.1 below did not work (see https://github.com/moul/travis-docker/issues/38).
# - curl -sLo - http://j.mp/install-travis-docker | sh -xe
# Therefore installing it through a script
- sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-precise main" > /etc/apt/sources.list.d/docker.list'
- sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
- sudo apt-get update
- sudo apt-key update
- sudo apt-get -qqy install docker-engine=1.9.1-0~precise
# Has to run this script with sudo because custom installation does not allow $USER to use docker and it's not possible to relogin
- chmod +x pull-containers.sh && sudo ./pull-containers.sh
# Has to run the build script with sudo because custom installation does not allow $USER to use docker and it's not possible to relogin
script: sudo ./gradlew clean build --info --stacktrace
I got a bit lost in Travis CI projects on GitHub. Where would be the place to help to introduce (optional) versions for services?
services:
- docker=1.9.1
or
env:
global:
- DOCKER_VERSION=1.9.1 # Install Docker version 1.9.1
services:
- docker
Just FYI, we've managed to get our builds running. However it's a work around ;-(
@sadovnikov wow, nice !
I got a bit lost in Travis CI projects on GitHub. Where would be the place to help to introduce (optional) versions for services?
I suggest you to try this repo: https://github.com/travis-ci/travis-ci/
What about 1.10?
@Vanuan, the issue is certainly the same for these two versions, I still think about a missing kernel module
Thanks for keeping this repository.
Is
http://j.mp/install-travis-docker
script expected to work with 1.9.1 version?We are trying to get
1.9.1
docker for our build https://github.com/ContainerSolutions/minimesos/pull/376, however installation fails https://travis-ci.org/ContainerSolutions/minimesos/builds/121740115