Commit graph

21 commits

Author SHA1 Message Date
yackob03
f8f4c55f89 Close the db connections on the workers occasionally. 2013-10-30 13:22:00 -04:00
yackob03
1bbcd91ae0 Make sure the daemon starts up in the right directory to access the certs file. 2013-10-29 19:59:29 -04:00
yackob03
7adf37e6b5 Move the parmiko import to work around a bug with python daemonization and paramiko. 2013-10-29 18:56:57 -04:00
yackob03
5e81f999d1 Make the build server and build worker slightly more robust to errors. 2013-10-29 18:15:12 -04:00
yackob03
6f105326aa Return unfinished items to the queue when they can be retried. 2013-10-29 15:42:19 -04:00
yackob03
798cf78172 Re-add cleaning up the DO node. 2013-10-29 15:39:44 -04:00
yackob03
c91b40f356 Switch to using environment variables to pass information to the build node, this closes down a security loophole with the admin endpoint of the server. 2013-10-29 13:42:26 -04:00
yackob03
1c7398e920 Allow build node logs to flow to docker. Clean up the pull key before executing user code. Actually clean up the DO node when we are done. Run the status server threaded just in case. 2013-10-28 14:49:23 -04:00
yackob03
d7f51fb764 Bug fixes and associated changes involved with spinning up build nodes and sending jobs to them. 2013-10-27 19:06:20 -04:00
yackob03
78d2d6cad0 Add a test endpoint that allows us to manually create builds. Add access tokens to the build data. 2013-10-25 18:17:43 -04:00
yackob03
684ce83058 Add a test api to test repositories which are currenlty building. 2013-10-25 15:47:34 -04:00
yackob03
ffc33e454c Fixes and refinements to the dockerfile build system. 2013-10-25 15:13:11 -04:00
yackob03
9b9a29c310 Flesh out the create API and wire everything up together. Next up, testing. 2013-10-25 01:14:38 -04:00
yackob03
32ccc599fb Revert some fabric changes to the build worker. 2013-10-24 16:39:25 -04:00
yackob03
847e91b696 Add the first part of the build worker that runs on quay. 2013-10-24 16:37:03 -04:00
yackob03
0c979cd79f Fix the diffsworker to run as a daemon. 2013-10-20 14:52:56 -04:00
yackob03
abb6efda40 Process as many jobs as the queue will give us in a row, sleep for longer in between checks. 2013-10-20 03:26:06 -04:00
yackob03
607bf3ecc4 Daemonize the worker. 2013-10-18 17:52:55 -04:00
yackob03
2fcd8df42b Get the worker and the registry playing nice together. 2013-10-18 17:27:09 -04:00
yackob03
4514f5a969 Fix some typos and bugs in the worker. 2013-10-18 15:28:16 -04:00
yackob03
93b856bdb3 First few changes for the image diffs feature. 2013-10-17 18:25:19 -04:00