Commit graph

876 commits

Author SHA1 Message Date
Joseph Schorr
da71aa7254 Clear the timer that watches build status when the page is changed 2013-10-29 18:56:56 -04:00
root
2190f1adc5 Merge branch 'dockerbuild' of https://bitbucket.org/yackob03/quay into dockerbuild 2013-10-29 22:56:00 +00:00
root
6dd1b56a03 Merge branch 'dockerbuild' of https://bitbucket.org/yackob03/quay into dockerbuild 2013-10-29 22:16:22 +00:00
root
3a38c93af7 Local config for nginx.conf, this should not be pushed. 2013-10-29 22:16:13 +00:00
yackob03
5e81f999d1 Make the build server and build worker slightly more robust to errors. 2013-10-29 18:15:12 -04:00
yackob03
d3d593f7e1 Add some missing dependencies to for the workers. 2013-10-29 18:14:22 -04:00
yackob03
ba5553e9a8 Make the nginx config ALMOST work on digital ocean. 2013-10-29 18:14:00 -04:00
yackob03
6b6a238d3a Not all hosts may have apt-add-repository. 2013-10-29 18:13:27 -04:00
yackob03
78d6c9d9a3 Just use the current server as the registry server, this will work for all externally available addresses. 2013-10-29 16:11:54 -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
7f17c6da24 Fix the forking problem in the buildserver. 2013-10-29 14:42:16 -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
a313a77a6b Switch some unnecessary button calls over to links. 2013-10-29 13:41:26 -04:00
Joseph Schorr
e8cbc9c864 Merge branch 'dockerbuild' of https://bitbucket.org/yackob03/quay into dockerbuild 2013-10-28 17:08:36 -04:00
Joseph Schorr
1ee21318d4 Have the private option in the new repo form alert the user about needing to purchase a plan and let them do so 2013-10-28 17:08: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
Joseph Schorr
bb2446c45c Actually, there is a simpler way to do this 2013-10-28 13:33:19 -04:00
Joseph Schorr
59543a2e51 Add the image push percent to the progress bar 2013-10-28 13:31:43 -04:00
Joseph Schorr
5175364e62 Add a create repo button in a few places 2013-10-28 13:22:18 -04:00
Joseph Schorr
8cb177128b Fixes to the new repo and build status:
- make the new repo icon gray
  - have the build status properly center (this is a hack, unfortunately)
  - have the build status update when open
2013-10-28 13:09:22 -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
3026f83c2c Remove the test build starter as it no longer works. 2013-10-27 16:01:14 -04:00
yackob03
0ff19d5401 Filter the inactive builds when computing the is_building flag. 2013-10-27 16:00:44 -04:00
yackob03
b1a5b9c343 Fix CORS s3 upload. 2013-10-26 18:37:53 -04:00
yackob03
c276bce177 Merge branch 'dockerbuild' of ssh://bitbucket.org/yackob03/quay into dockerbuild 2013-10-26 17:41:32 -04:00
yackob03
be035637f6 Require API login for the build APIs. 2013-10-26 17:41:29 -04:00
Joseph Schorr
28f6ff1605 Get file dropping working and wire it up to call the build repo endpoint 2013-10-26 17:20:59 -04:00
Joseph Schorr
fc6e3258a8 Work in progress: Add the UI for the build status and start on the file drop stuff 2013-10-26 16:03:11 -04:00
yackob03
dc7a62db67 Add the test db with the random test endpoint. 2013-10-25 20:08:44 -04:00
yackob03
89df3d10be Add dependencies for docker in docker. Fix the aufs startup command. Fix a bug in the buildserver. 2013-10-25 20:08:02 -04:00
yackob03
660a931d6b Docker apparently sometimes uses xz as a compression format. 2013-10-25 18:46:56 -04:00
yackob03
1ff67f688d Fix the content-type for S3 uploads of user data. 2013-10-25 18:18:06 -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
c5ff08e57d Update the buildserver to use the new post format. 2013-10-25 18:14:35 -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
e07e624c15 Missed a few links. 2013-10-24 23:58:05 -04:00
yackob03
e418d21d31 Fix the header links when we're on a non-angular page. 2013-10-24 23:56:08 -04:00
Joseph Schorr
2afb8c85b1 Get the new repo page ready for wiring 2013-10-24 18:13:24 -04:00
Joseph Schorr
1d51618c9d Fix repo circle positioning by changing to absolute sizes everywhere 2013-10-24 17:51:09 -04:00
Joseph Schorr
2113fcf54f Merge branch 'dockerbuild' of https://bitbucket.org/yackob03/quay into dockerbuild 2013-10-24 17:42:17 -04:00
Joseph Schorr
70fd9afb2b Start on new repo page 2013-10-24 17:41:55 -04:00
yackob03
b4d916bcc5 Update to Font Awesome 4. 2013-10-24 17:41:37 -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
9dc9e0c940 Add a docker-in-docker container that will run the build server. 2013-10-24 14:57:05 -04:00
yackob03
5d5d027cc0 Move the source dockerfile processing to a modular system. Move actual build to a thread. Wire up the status API. Fix a bug with the way current_image was computed. Add untested support for raw dockerfile upload. 2013-10-24 01:29:34 -04:00
yackob03
cd28ae6b1a First stab at a buildserver that will puppet docker to build dockerfiles remotely. 2013-10-24 00:05:58 -04:00