Commit graph

390 commits

Author SHA1 Message Date
Joseph Schorr
89d9bcd894 - Make sure to send the subdirectory when restarting a build
- Make sure to use the subdirectory to read the Dockerfile's location in a build package, and display the path
- Nicer UI for showing the trigger description in the build view
- Fix an NPE in the file change tree
2014-03-05 16:27:56 -05:00
jakedt
fde96c736a Fix a problem with initdb and add a limit to the builds API. 2014-03-05 15:50:32 -05:00
jakedt
5f0969778e Fix the status badge logic again. 2014-03-05 15:14:12 -05:00
jakedt
7a89b0872f Fix the tag logic. 2014-03-05 14:57:14 -05:00
jakedt
638dbb3d8d Cache the status tags and fix the tag for images that were pushed from a build. 2014-03-05 14:35:11 -05:00
jakedt
2af3d24557 Merge remote-tracking branch 'origin/taggedrustedbuilds' into rustedbuilds 2014-03-04 16:59:54 -05:00
jakedt
7add6679b6 Merge branch 'rustedbuilds' of ssh://bitbucket.org/yackob03/quay into rustedbuilds 2014-03-03 18:45:48 -05:00
jakedt
b5b3d6ce18 Add the resource key to the build view. 2014-03-03 18:45:40 -05:00
Joseph Schorr
3f806b10c2 Add support for build status tags, which link to the Quay.io repo 2014-02-28 16:23:36 -05:00
Joseph Schorr
39eaca346d Add an icon for build triggers and properly handle build trigger activation errors 2014-02-26 18:43:16 -05:00
Joseph Schorr
eca525e18c This 404 is expected by Docker, so don't use the "normal" abort for it. 2014-02-26 16:03:00 -05:00
Joseph Schorr
206049dbf8 - Add a build now command to the trigger
- Have the trigger description use the master_branch in the config
2014-02-25 19:53:41 -05:00
jakedt
011490d36d Refactor a lot of the build create code out into a common method. Add an endpoint for manually starting triggers. 2014-02-25 19:39:43 -05:00
Joseph Schorr
a6128978cb Merge branch 'rustedbuilds' of https://bitbucket.org/yackob03/quay into rustedbuilds 2014-02-25 18:22:59 -05:00
Joseph Schorr
e687b4d2d4 Add logging descriptions for the new trigger logs 2014-02-25 18:22:55 -05:00
jakedt
c13f7cd9df Add the resource_key back to the repository build. 2014-02-25 18:22:02 -05:00
jakedt
b9580c1c29 Merge remote-tracking branch 'origin/master' into rustedbuilds 2014-02-25 17:19:15 -05:00
jakedt
9afd49e882 Leave ISEs as 400s, but log exceptions and have slightly improved error messages. 2014-02-25 17:19:02 -05:00
jakedt
de49ce151b Merge remote-tracking branch 'origin/master' into rustedbuilds 2014-02-25 17:00:38 -05:00
jakedt
fa4c925e4d Allow exception tracebacks to get logged to the log file. 2014-02-25 16:54:49 -05:00
jakedt
4b689a7a7c Fix the translation of old ids to new ids, again. 2014-02-25 16:31:52 -05:00
Joseph Schorr
61ca29de04 Move the auth context methods into their own file so that we don't have auth trying to import itself 2014-02-25 15:07:24 -05:00
Joseph Schorr
a120f6c64a Make sure all aborts have message information 2014-02-25 14:15:12 -05:00
jakedt
aa20a807bd Link up the build trigger when a build is created from a webhook. 2014-02-24 23:12:09 -05:00
jakedt
001c822d74 Merge branch 'rustedbuilds' of ssh://bitbucket.org/yackob03/quay into rustedbuilds 2014-02-24 22:58:03 -05:00
jakedt
b23a7ed130 Extract the top level zipball subdir from the zip file. 2014-02-24 22:57:58 -05:00
Joseph Schorr
ef02e769fb Merge branch 'rustedbuilds' of https://bitbucket.org/yackob03/quay into rustedbuilds 2014-02-24 20:38:57 -05:00
Joseph Schorr
d1fdc31549 - Add a dropdown-select directive and use it in the git trigger setup dialog both times
- Add a dropdown-select for the docker file folder
- Add an API method for listing the build source sub directories
2014-02-24 20:36:54 -05:00
jakedt
b094480164 Add code that will allow build triggers to be deactivated or deleted from their services. 2014-02-24 16:36:49 -05:00
jakedt
cbb1ab5e68 Merge remote-tracking branch 'origin/master' into rustedbuilds 2014-02-24 16:11:33 -05:00
jakedt
13dea98499 Prepare the build worker to support multiple tags and subdirectories. Change the build database config to accept a job config object instead of breaking out the parameters into independent blocks. 2014-02-24 16:11:23 -05:00
jakedt
4b0f4c0a7b Handle the case of empty repositories in the trigger. 2014-02-24 14:12:54 -05:00
jakedt
d861f9b646 Add some code for finding Dockerfiles in the repository. 2014-02-24 13:56:21 -05:00
jakedt
86e93a2c0f Write triggers are successfully installing on GitHub, noice! 2014-02-21 17:09:56 -05:00
jakedt
b3fe3a32e4 Fix logins for access tokens. 2014-02-21 16:07:08 -05:00
jakedt
a6400171b3 First stab at implementing token.activate. 2014-02-21 16:02:31 -05:00
jakedt
d5304f7db0 Merge remote-tracking branch 'origin/master' into rustedbuilds
Conflicts:
	data/database.py
	endpoints/api.py
	endpoints/common.py
	test/data/test.db
2014-02-21 14:52:40 -05:00
jakedt
f339160ab9 Fix for mapping translations for existing images. 2014-02-21 08:00:47 -05:00
jakedt
a63a49caa1 Fix up the shared base images stuff. 2014-02-20 22:26:10 -05:00
Joseph Schorr
5519d93a64 Get UI for activating github build triggers in place and working. Note that the actual server-side activation is still not done (but the proper method is invoked) 2014-02-20 18:57:49 -05:00
jakedt
05dd00d495 Make our registry respond with their silly response message that will make login work without saying account created every time. 2014-02-20 14:49:34 -05:00
jakedt
9e426816a5 Pass trigger information on build status. Set up a trigger for the sample building repository. Allow to list the builds started from a trigger. Protect the callback with the proper auth for creating a trigger on a repo. 2014-02-19 16:08:33 -05:00
jakedt
f4642be11a Merge remote-tracking branch 'origin/allyourbaseimage'
Conflicts:
	test/data/test.db
	test/test_api_usage.py
2014-02-18 19:15:14 -05:00
jakedt
f60f9eb62a Properly connect the github push webhook with the build worker. Still need to resolve the archive format. 2014-02-18 18:09:14 -05:00
jakedt
ed38bcdafc Merge remote-tracking branch 'origin/master' into rustedbuilds
Conflicts:
	test/data/test.db
2014-02-18 16:13:34 -05:00
jakedt
b5d4919364 Split out callbacks into their own blueprint. Add build trigger DB information and connect it with some APIs. Stub out the UI to allow for generation of triggers. Split out the triggers into a plugin-ish architecture for easily adding new triggers. 2014-02-18 15:50:15 -05:00
Joseph Schorr
bc0d51656a Add ability to see a build's build pack, including browsing and downloading of the contents if it is a zip 2014-02-17 17:28:20 -05:00
jakedt
fc4983ed8b Merge remote-tracking branch 'origin/master' into rustedbuilds 2014-02-17 16:40:28 -05:00
jakedt
46de02a9ec Merge remote-tracking branch 'origin/master' into allyourbaseimage 2014-02-17 15:18:01 -05:00
jakedt
369417c3ad Fix the test for where extended image properties should come from. Fix the delete tag dialog to specify that the repo will be gc'ed after tag deletion. 2014-02-17 14:52:46 -05:00