samuelololol / buildbotdocker Goto Github PK
View Code? Open in Web Editor NEWcustom buildbot environment in docker
License: GNU General Public License v2.0
custom buildbot environment in docker
License: GNU General Public License v2.0
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:
Because the installation of BuildbotDocker
is too complicated and almost only I know how to use, I want to simplify these settings by following:
master
)BuildbotDocker
to projectsbinding the buildbot image to host folder(this repo), links the settings files
https://github.com/samuelololol/BuildbotDocker/blob/master/docker-test/tests/test_buildbot.py#L14
Need to find a way to do a stable-time while using docker-compose.
time.sleep is just a workaround.
Clean up the <none>
docker images generated by BuildbotDocker
, whatever happens.
change folder name with related settings in config file: master.cfg
, commands in bin
The test sernario should follow steps below:
how to launch
commands to start an service containers(buildbotmaster, buildbotslave).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.
Settings in master.cfg are still chaos, need to be separated from master.cfg.
prepare the launch scripts for the buildbot CI
extract settings from buildbot.tac on buildbot slave
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
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
wish list
Provide test docker-compose.yml sciprts for this BuildbotDocker project as templates.
using Dockerfile to enable
wish list
enable the force build
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.