Commit graph

1149 commits

Author SHA1 Message Date
yackob03
c919b9321b Better messaging around build status. 2014-02-05 19:59:57 -05:00
yackob03
fab699530c Check for errors before delegating to the cleanup function. 2014-02-05 19:59:26 -05:00
Joseph Schorr
732ce83795 Move JSON pretty print config flag to the proper place 2014-02-05 17:05:06 -05:00
Joseph Schorr
4c9a1c1621 Disable pretty printing of JSON, since it can break Docker CLI 2014-02-05 17:00:33 -05:00
yackob03
67e0736fc6 Separate out the dockerfile build stuff to a separate class. Add a dependency on docker-py master. 2014-02-05 11:07:54 -05:00
Joseph Schorr
a049fc57c6 Start on tour infrastructure. Note that this code works but is NOT STYLED and has a FAKE TEMP TOUR in it 2014-02-04 20:50:13 -05:00
yackob03
72c380d9a1 Merge branch 'master' into bobthe 2014-02-04 19:29:32 -05:00
yackob03
8b8084f484 Add a mostly working cloud init script and a bitbucket deploy key. The docker run of logstash isn't working for some reason and still must be done manually. 2014-02-04 19:01:04 -05:00
yackob03
9c20560e91 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-02-04 15:09:00 -05:00
yackob03
a6f98570a1 Send everything in production through the gunicorn logger (allows rotation using USR1). Add a gunicorn logger that emits the logstash format. Move the gunicorn config to the conf subdir. Update the postrotate script to hopefully work. 2014-02-04 15:08:49 -05:00
Joseph Schorr
808b2e24d8 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-02-03 21:18:55 -05:00
Joseph Schorr
1f8c66512f Add a tool for manually resending a confirmation email 2014-02-03 21:18:39 -05:00
yackob03
5270066d6d Switch to the redis backed build logs and status. 2014-02-03 19:08:37 -05:00
Joseph Schorr
83a34c0ef3 Fix the few broken security tests after the error code fixes 2014-02-03 18:30:06 -05:00
Joseph Schorr
08160afdde Finish API endpoint unit tests 2014-02-03 18:18:33 -05:00
yackob03
5cc59e67a9 Merge branch 'master' into bobthe 2014-02-03 13:48:47 -05:00
yackob03
f2fef9fcde Update the logrotate config to use the right permissions for the file, and to call USR1 on nginx after rotation. Update the readme to use the nginx pidfile. 2014-02-03 11:57:29 -05:00
Joseph Schorr
e3eee958a4 Continue on API unit tests: Now 60% (or so) coverage 2014-01-31 19:45:44 -05:00
yackob03
cd1e1ec3b0 Merge remote-tracking branch 'origin/logcabin'
Conflicts:
	application.py
	requirements.txt
2014-01-31 19:33:38 -05:00
yackob03
f2e132871f Change the bounce command in the readme to use the pidfile for gunicorn. 2014-01-31 19:30:50 -05:00
yackob03
b48748d957 Have gunicorn publish its pid and have logrotate bounce it so that the file handle migrates. 2014-01-31 19:23:37 -05:00
yackob03
23fa91c75b Update the readme with information on starting the log pusher. 2014-01-31 19:21:05 -05:00
yackob03
b128701ed6 Forgot to move one of the nginx dirs. 2014-01-31 19:20:35 -05:00
Joseph Schorr
36d37e839b Continue on API unit tests: Now 50% (or so) coverage 2014-01-31 18:54:31 -05:00
yackob03
9db63a505f Add logrotate config and installation instructions to the readme. 2014-01-31 18:17:11 -05:00
yackob03
2b6c9149e8 Configure nginx to emit logstash logs for access logs. Move all nginx config to a conf subdir. Rework nginx config to share common parts. 2014-01-31 18:13:46 -05:00
Joseph Schorr
8fede11620 Fix broken API routes 2014-01-31 17:54:56 -05:00
Joseph Schorr
05b33dced4 Continue on API unit tests 2014-01-31 17:54:01 -05:00
Joseph Schorr
900ccd4c47 Start on unit tests for the API endpoint 2014-01-31 16:19:29 -05:00
Joseph Schorr
407ef7ad3c Switch to using the ?namespace param instead of cookie changes 2014-01-31 14:00:42 -05:00
Joseph Schorr
fdb628a0b0 Make the repo breadcrumb bar clickable 2014-01-31 13:52:35 -05:00
yackob03
0e2adf7a30 Empty tar files should be interepreted as no diffs. 2014-01-31 11:29:55 -05:00
yackob03
4000632829 Merge branch 'faster-testing' 2014-01-31 11:14:30 -05:00
yackob03
acbb075d13 Fix the imports for the model db. 2014-01-31 11:14:07 -05:00
Joseph Schorr
62deddce24 Upgrade peewee 2014-01-30 21:35:39 -05:00
Joseph Schorr
0833c88065 Make testing much faster by using a save point, rather than recreating the database every test 2014-01-30 20:57:40 -05:00
yackob03
85e1c96147 Disable DEBUG logging for boto. 2014-01-30 19:48:39 -05:00
yackob03
31ff854031 Fix the permissions for the build status tests. Fix a problem with logging the csrf token information when the user is anonymous. 2014-01-30 19:36:21 -05:00
yackob03
f840592b6e Merge branch 'master' of bitbucket.org:yackob03/quay 2014-01-30 19:07:22 -05:00
yackob03
7412fae9dc Fix the tests to use blueprints. 2014-01-30 19:06:26 -05:00
yackob03
fff5da6354 Fix the response codes for errors. 2014-01-30 19:06:10 -05:00
Joseph Schorr
6d412c726b Change the image 404 to a flask_abort to avoid logging it 2014-01-30 17:44:12 -05:00
Joseph Schorr
1af43735d0 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-01-30 17:24:13 -05:00
Joseph Schorr
4ffb86314b Fix all non-test url_for’s 2014-01-30 17:23:21 -05:00
yackob03
2ddbad3d39 url_for must reference the blueprint name now. 2014-01-30 17:23:14 -05:00
yackob03
f908791154 Make the messaging around conversion even clearer. 2014-01-30 16:06:48 -05:00
yackob03
19545d580c Update the screenshots with the new Documentation link. 2014-01-30 13:50:05 -05:00
yackob03
96a97f667c Merge remote-tracking branch 'origin/better-error' 2014-01-30 13:44:33 -05:00
yackob03
05febb1a0c Switch the CSRF token to logging only to test for a little while in prod. 2014-01-30 13:42:25 -05:00
yackob03
c13654bb52 First attempt at emitting logstash style logs. 2014-01-30 13:32:06 -05:00