Commit graph

1567 commits

Author SHA1 Message Date
Jake Moshenko
0b6552d6cc Fix the metrics so they are usable for scaling the workers down and up. Switch all datetimes which touch the database from now to utcnow. Fix the worker Dockerfile. 2014-05-23 14:16:26 -04:00
Jake Moshenko
f4c488f9b6 Fix the queue query for old jobs which won't run. 2014-05-22 13:50:06 -04:00
Jake Moshenko
f6726bd0a4 Merge branch 'ldapper'
Conflicts:
	Dockerfile
	app.py
	data/database.py
	endpoints/index.py
	test/data/test.db
2014-05-22 12:13:41 -04:00
Jake Moshenko
d14798de1d Add a queue capacity reporter plugin to the queue. Move the queue definitions to app. Add a cloudwatch reporter to the dockerfile build queue. 2014-05-21 19:50:37 -04:00
Jake Moshenko
512a17363f Update the screenshots. 2014-05-21 14:54:07 -04:00
Jake Moshenko
044cfdb656 Let gunicorn load code before forking. 2014-05-20 19:06:54 -04:00
Jake Moshenko
c953447ae0 Fix the tests to use a fake build that is not a moving target. 2014-05-20 18:53:00 -04:00
Jake Moshenko
688f22a9f5 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-05-20 18:26:38 -04:00
Jake Moshenko
ccc720fd39 Allow diffs to get very large for test cases. 2014-05-20 18:26:29 -04:00
Jake Moshenko
b493168a8b Update the instructions for deploying prod to pull from staging. 2014-05-20 18:26:12 -04:00
Jake Moshenko
9070ead4eb Switch to a version of docker which doesnt re-translate already translated UIDs on untar. 2014-05-20 18:25:53 -04:00
Joseph Schorr
701033751e Fix the robot pattern to make sure it does a length check 2014-05-20 17:58:39 -04:00
Joseph Schorr
c8a450cdf0 Make sure the create robot account error dialog shows a proper message 2014-05-20 17:52:03 -04:00
Jake Moshenko
033f66a94d Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-05-19 17:14:30 -04:00
Jake Moshenko
e1a5a3e543 Temporarily remove the db pool until we can figure out why they are running out of connections. 2014-05-19 17:14:23 -04:00
Joseph Schorr
faa46a12f2 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-05-19 16:04:41 -04:00
Joseph Schorr
c0f3054781 Fix screenshot generation 2014-05-19 14:14:18 -04:00
Jake Moshenko
b8466169ac Integrate sentry with the build worker. 2014-05-19 13:50:45 -04:00
Jake Moshenko
569f542c65 Pick up the latest set of changes from 0.11.1 tutum. 2014-05-19 13:50:29 -04:00
Jake Moshenko
77532dff33 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-05-19 13:24:18 -04:00
Jake Moshenko
9d92c1cb0f Switch to nginx compiled with the real ip module. 2014-05-19 13:24:07 -04:00
Joseph Schorr
cbcff2adee Make Phantomjs use a disk cache for the snapshots 2014-05-19 13:18:37 -04:00
Joseph Schorr
1c0c551d00 Add better logging to the snapshot generator for timing purposes and make sure the PhantomJS script always exists after a maximum of 10 seconds. 2014-05-19 13:11:07 -04:00
Joseph Schorr
29dc7fd079 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-05-19 12:35:26 -04:00
Joseph Schorr
91f9987d41 Fix NPE 2014-05-19 12:35:16 -04:00
Jake Moshenko
707bca892e Rename the nginx configuration to remove the word enterprise 2014-05-18 17:28:51 -04:00
Jake Moshenko
212a4650f4 Rework the config to use runit logging. 2014-05-18 17:19:14 -04:00
Jake Moshenko
334b4634d7 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into dindbuilder 2014-05-16 18:41:15 -04:00
Jake Moshenko
cc47e77156 Upgrade to the 0.11.1 tutum version of docker. Package it as a Dockerfile using Docker in Docker. Add a status server option to the workers to utilize the new termination signal and status features of gantry. 2014-05-16 18:31:24 -04:00
Joseph Schorr
62930aa9b5 Make sure we have a head_commit in the payload from Github 2014-05-16 15:45:13 -04:00
Joseph Schorr
ee37cf2f4e - Default to private repo in new repo view
- Make it even more clear when you choose public vs private
2014-05-16 14:19:54 -04:00
Jake Moshenko
8b5c781f84 Change the health check to ping the db and the redis build logs. 2014-05-13 18:53:42 -04:00
Jake Moshenko
b3aba08426 Upgrade to a trusty based version of phusion baseimage. 2014-05-13 18:31:52 -04:00
Jake Moshenko
c92ce54a37 Reduce a step in the worker bootstrap. 2014-05-13 17:44:45 -04:00
Jake Moshenko
11c6c5fa52 Merge remote-tracking branch 'origin/master' into ldapper
Conflicts:
	app.py
2014-05-13 16:55:02 -04:00
Jake Moshenko
53fa778cda Export a volume for data storage. 2014-05-13 16:27:54 -04:00
Jake Moshenko
628d09afe0 Remove the passwd attr ldap config. 2014-05-13 15:52:20 -04:00
Jake Moshenko
f60c73463a Fix the tests to work with the database proxy. 2014-05-13 15:26:13 -04:00
Jake Moshenko
d31c7e1ecf Merge branch 'ldapper' of ssh://bitbucket.org/yackob03/quay into ldapper 2014-05-13 15:22:46 -04:00
Jake Moshenko
2da8b4737e Fix the registry to work with unicode usernames in LDAP. 2014-05-13 15:22:31 -04:00
Jake Moshenko
f049f738da Run the db migrations on container start unless we're running against Sqlite. 2014-05-13 15:20:17 -04:00
Jake Moshenko
553ef36e9b Fix a remaining direct usage of transaction factory in the data model. 2014-05-13 15:17:16 -04:00
Jake Moshenko
5fdccfe3e6 Add an alembic migration for the full initial database with the data. Switch LDAP to using bind and creating a federated login entry. Add LDAP support to the registry and index endpoints. Add a username transliteration and suggestion mechanism. Switch the database and model to require a manual initialization call. 2014-05-13 12:17:26 -04:00
Joseph Schorr
8327d9fdbf Fix URLs of the generated build status badges 2014-05-12 19:03:42 -04:00
Joseph Schorr
0fd114df84 Add API usage tests for the superuser API 2014-05-12 15:22:58 -04:00
Joseph Schorr
f12970469b Add security tests for the superuser API 2014-05-12 14:45:19 -04:00
Joseph Schorr
08ccad7fe4 Add support for not using CDN-based resources. When USE_CDN = False, all CDN-based resources will instead be used from the local system. 2014-05-09 18:49:33 -04:00
Jake Moshenko
997a093b08 Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-05-09 18:45:17 -04:00
Jake Moshenko
bcb993a914 Set up the build logs to use our fake build logs on test and local. 2014-05-09 18:45:11 -04:00
Joseph Schorr
b4e091badd Fix the build view controller to always search for the build to update 2014-05-09 17:54:11 -04:00