lkiesow / openbuild Goto Github PK
View Code? Open in Web Editor NEWBuild server for git-based repositories
License: GNU Affero General Public License v3.0
Build server for git-based repositories
License: GNU Affero General Public License v3.0
when the config is missing the process dies like this:
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:38 min
[INFO] Finished at: 2017-03-22T13:19:12+00:00
[INFO] Final Memory: 295M/670M
[INFO] ------------------------------------------------------------------------
Traceback (most recent call last):
File "/bin/openbuild-run", line 12, in
run()
File "/usr/lib/python2.7/site-packages/openbuild/commands.py", line 165, in run
publish(build, buildcfg, log)
File "/usr/lib/python2.7/site-packages/openbuild/commands.py", line 117, in publish
out, err = p.communicate()
UnboundLocalError: local variable 'p' referenced before assignment
Eg if the docker command dails
The build chain can run into a state where the database marked a job as running but the build process is gone. There is no way to recover except changing the value by hand inside the table.
β¦on first start-up or with special command
usermod -a -G docker openbuild
E.g. createrepo
If the the commit of the running job leaves untracked files the process will die like this:
2017-03-22 14:29:31 ERROR [commands.py:178:run()]
Traceback (most recent call last):
File "/bin/openbuild-run", line 12, in
run()
File "/usr/lib/python2.7/site-packages/openbuild/commands.py", line 147, in run
git.clean()
File "/usr/lib/python2.7/site-packages/openbuild/git.py", line 49, in clean
raise OSError('Could not check out commit hash', err)
OSError: [Errno Could not check out commit hash] warning: failed to remove assemblies/dist-worker-encoding/pom.xml
warning: failed to remove assemblies/dist-worker-light/pom.xml
warning: failed to remove docs/rpmbuild/jetty.xml
warning: failed to remove docs/rpmbuild/opencast.logrotate
warning: failed to remove docs/rpmbuild/opencast.spec
warning: failed to remove docs/rpmbuild/org.apache.aries.transaction.cfg
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.