Code Monkey home page Code Monkey logo

buildbotdocker's People

Contributors

samuelololol avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

claudiouzelac

buildbotdocker's Issues

check_and_create_pyvolume.py should added in buildbot slave

Now check_and_create_pyvolume.py is stored in git repo, so buildbot slave is able to use it while running the builder's steps. It is a workaround for the flexibility when you want buildbotdocker used and customized in another project.

If check_and_create_pyvolume.py is stored in buildbotslave, buildbot slave has to paramiterize the following factors:

  • If tester uses docker container for test
  • If tester need volume container
  • The name of image for volume container
  • The name of container for volume container
  • The folder path for volumen container

need a way to help user to install buildbotdocker

Because the installation of BuildbotDocker is too complicated and almost only I know how to use, I want to simplify these settings by following:

configuration file

  • repository link(s)
  • branch name(default master)
  • path of test folder and its tests tirggered runner(script or command)
  • config file format will be yaml, ini or else

setup script

  • parse configuration file
  • install BuildbotDocker to projects
  • python

change folder name

change folder name with related settings in config file: master.cfg, commands in bin

  • docker-buildbot -> BuildbotDocker
  • docker-test -> test

refactor test

The test sernario should follow steps below:

  1. buildbot slave uses how to launch commands to start an service containers(buildbotmaster, buildbotslave).
  2. tester use test folder scripts to test with service containers.

How tester launched should be described in master.cfg instead of docker-compose.yml in test folder.

cannot pull from https://github.com/

Cloning into '.'...
fatal: could not read Username for 'https://github.com': No such device or address
program finished with exit code 128

2014-11-25 16:43:41+0000 [-] while polling for changes
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 380, in callback
self._startRunCallbacks(result)
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 488, in _startRunCallbacks
self._runCallbacks()
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 575, in _runCallbacks
current.result = callback(current.result, _args, _kw)
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1126, in gotResult
_inlineCallbacks(r, g, deferred)
--- ---
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib64/python2.7/site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib64/python2.7/site-packages/buildbot/changes/gitpoller.py", line 162, in poll
[self.repourl] + refspecs, path=self.workdir)
File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 575, in _runCallbacks
current.result = callback(current.result, _args, _kw)
File "/usr/lib64/python2.7/site-packages/buildbot/changes/gitpoller.py", line 299, in _convert_nonzero_to_failure
% (self.repourl, code, stderr))
exceptions.EnvironmentError: command on repourl http://github.com/
***** failed with exit code 128: fatal: could not read Username for 'https://github.com': No such device or address

run tester service error, cannot link to buildbotslave container

Starting dockertest_buildbotmaster_1...
Starting dockertest_buildbotslave_1...
Cannot start container 8b4c2652c3dd7c6cda42fea090df792829a86ac72f4d73be34c5a4fc0c22cfff: Cannot link to a non running container: /dockertest_buildbotslave_1 AS /dockertest_tester_run_1/buildbotslave_1
program finished with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.