No description
This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2014-05-21 19:50:37 -04:00
art Add a logo for quay. Make the navbar a little friendlier to smaller devices. 2013-10-13 16:13:50 -04:00
auth Fix the super user default config. Slight style tweaks to the super user permission implementation. 2014-04-10 15:51:39 -04:00
binary_dependencies Switch to a version of docker which doesnt re-translate already translated UIDs on untar. 2014-05-20 18:25:53 -04:00
buildstatus Add support for build status tags, which link to the Quay.io repo 2014-02-28 16:23:36 -05:00
conf Let gunicorn load code before forking. 2014-05-20 19:06:54 -04:00
data 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
endpoints 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
features - Add code for placing the features information on the frontend 2014-04-04 23:26:10 -04:00
grunt Enable DEBUGGING mode, which loads the individual script files rather than the minimized bundles created by grunt 2014-04-15 16:35:15 -04:00
screenshots Fix screenshot generation 2014-05-19 14:14:18 -04:00
static Update the screenshots. 2014-05-21 14:54:07 -04:00
storage Move the upload flag to the database, and use the database stored image size rather than going to s3. 2014-05-02 16:59:46 -04:00
templates Add sentry exception monitoring. 2014-04-28 18:59:22 -04:00
test 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
tools Merge branch 'master' of ssh://bitbucket.org/yackob03/quay 2014-05-06 18:46:39 -04:00
util 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
workers 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
.gitignore Add steps to the Dockerfile to build the frontend bundles 2014-04-15 17:14:19 -04:00
alembic.ini Add alembic plumbing for database schema migrations. 2014-04-09 19:11:33 -04:00
app.py 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
application.py Rework the config to use runit logging. 2014-05-18 17:19:14 -04:00
config.py 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
Dockerfile 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
Dockerfile.buildworker Switch to a version of docker which doesnt re-translate already translated UIDs on untar. 2014-05-20 18:25:53 -04:00
Dockerfile.web Rework the config to use runit logging. 2014-05-18 17:19:14 -04:00
initdb.py Fix screenshot generation 2014-05-19 14:14:18 -04:00
README.md Update the instructions for deploying prod to pull from staging. 2014-05-20 18:26:12 -04:00
requirements-nover.txt Revamp the logging a bit. Not quite done yet. 2014-05-01 19:44:28 -04:00
requirements.txt Revamp the logging a bit. Not quite done yet. 2014-05-01 19:44:28 -04:00
run-local.sh Get the basic tutorial working completely, including reacting to server-side events 2014-02-06 20:58:26 -05:00

to build and upload quay to quay:

curl -s https://get.docker.io/ubuntu/ | sudo sh
sudo apt-get update && sudo apt-get install -y git
git clone https://bitbucket.org/yackob03/quay.git
cd quay
rm Dockerfile
ln -s Dockerfile.web Dockerfile
sudo docker build -t quay.io/quay/quay .
sudo docker push quay.io/quay/quay

to prepare a new host:

curl -s https://get.docker.io/ubuntu/ | sudo sh
sudo apt-get update && sudo apt-get install -y git
git clone https://github.com/DevTable/gantryd.git
cd gantryd
cat requirements.system | xargs sudo apt-get install -y
virtualenv --distribute venv
venv/bin/pip install -r requirements.txt
sudo docker login -p 9Y1PX7D3IE4KPSGCIALH17EM5V3ZTMP8CNNHJNXAQ2NJGAS48BDH8J1PUOZ869ML -u 'quay+deploy' -e notused staging.quay.io

start the quay processes:

cd ~
git clone https://bitbucket.org/yackob03/quayconfig.git
sudo docker pull staging.quay.io/quay/quay
cd ~/gantryd
sudo venv/bin/python gantry.py ../quayconfig/production/gantry.json update quay

start the log shipper (DEPRECATED):

sudo docker pull quay.io/quay/logstash
sudo docker run -d -e REDIS_PORT_6379_TCP_ADDR=logs.quay.io -v /mnt/logs:/mnt/logs quay.io/quay/logstash quay.conf

running the tests:

TEST=true python -m unittest discover

running the tests with coverage (requires coverage module):

TEST=true coverage run -m unittest discover
coverage html

generating screenshots:

cd screenshots
casperjs screenshots.js --d