Open oyiptong opened 9 years ago
Hey! Did you find why it failed?
Same here. When it fails I'm dropped into the shell. I noticed it doesn't have virtualenv or even pip installed.
travis@71af2ebc2f5b:~$ sudo apt-get install pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip
Notice the "[deprecated for now, pending rewrite]" in the description ;)
Actually I'm going to abandon this project completely, going to build my own CI system travis is just too much pain to work with, cheers :)
During travis-run create
, I this:
FATA[0009] Tag python_v0.2.3 not found in repository dxld/travis-run
Later there's this:
Step 5 : RUN /root/language-install.sh python travis
Running sudo /root/language-install.sh python travis
in the docker shell doesn't seem to do anything:
travis@7f7a5c0300f6:~$ sudo /root/language-install.sh python travis
Warning: Untested language: python
/var/lib/gems/1.8/gems/ohai-7.0.4/lib/ohai/loader.rb:188: warning: character class has `[' without escape
/var/lib/gems/1.8/gems/ohai-7.0.4/lib/ohai/loader.rb:188: warning: regexp has `]' without escape
Starting Chef Client, version 11.12.8
Compiling Cookbooks...
Converging 0 resources
Running handlers:
Running handlers complete
Chef Client finished, 0/0 resources updated in 1.338981 seconds
OK.
This might be of interested to anyone who comes across this project: https://github.com/travis-ci/travis-ci/issues/2114
The ideas in the source are still applicable it's just that the travis guys have moved around a bunch of stuff and I don't have time nor motivation to get this to work again. Since they are using docker themselves now it should be fairly easy to pull this off without too many of the ugly hacks I had to employ here. You just have to figure out how they build their docker images. This is mostly based on the chef cookbooks in https://github.com/travis-ci/travis-cookbooks and the default configurations from https://github.com/travis-ci/packer-templates (I think, that's one of the things they moved around). The build scripts are actually the easiest part using https://github.com/travis-ci/travis-build. This thing is what used to interface with that maybe it still works: https://github.com/DanielG/travis-run/blob/master/script/travis-run-script
Pasting some irc logs: