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-04-21 18:53:03 -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 Remove files which are no longer used. 2014-04-11 13:33:05 -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 Remove the no longer used nginx config. 2014-04-18 11:01:59 -04:00
data Make the local userfiles 404 if the file is not there. Remove some extraneous logging from the trigger. 2014-04-16 22:43:57 -04:00
endpoints Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-04-17 16:53:55 -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 Add a build history screenshot to the landing page and fix the screenshots.js script to work on prod 2014-03-17 17:34:23 -04:00
static Clarify the language in the build trigger setup dialog 2014-04-18 18:37:45 -04:00
storage First attempt at making config loadable through string config overrides in an env variable. 2014-04-03 17:31:46 -04:00
templates Add stripe back into the libraries loaded. 2014-04-18 11:02:13 -04:00
test Merge branch 'tagyourit' 2014-04-17 14:20:28 -04:00
tools Merge remote-tracking branch 'origin/master' into ncc1701 2014-04-14 19:37:22 -04:00
util Make the command portion of the dockerfile parser case insensitive. 2014-04-17 16:49:04 -04:00
workers Update the build worker to remove all tags from expired images. 2014-04-18 18:36:11 -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 Fix the tests and implement a fake stripe. 2014-04-10 15:20:16 -04:00
application.py Get staging to run under docker on an EC2 host. 2014-04-10 18:30:09 -04:00
config.py Switch to having GitHub login off in the default config, since the keys are empty anyway 2014-04-16 22:51:56 -04:00
Dockerfile Install a more modern version of phantomjs that can run on 12.04 headless. 2014-04-21 18:53:03 -04:00
initdb.py Merge remote-tracking branch 'origin/master' into tagyourit 2014-04-15 15:58:30 -04:00
README.md Make sure we update libssl inside the image to fix heartbleed. 2014-04-17 13:04:35 -04:00
requirements-nover.txt Finish the implementation of local userfiles. Strip charsets from mimetypes in the build worker. Add canonical name ordering to the build queue. Port all queues to the canonical naming version. 2014-04-11 18:34:47 -04:00
requirements.txt Finish the implementation of local userfiles. Strip charsets from mimetypes in the build worker. Add canonical name ordering to the build queue. Port all queues to the canonical naming version. 2014-04-11 18:34:47 -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 git clone https://bitbucket.org/yackob03/quay.git
cd quay
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 quay.io

start the quay processes:

cd ~
git clone https://bitbucket.org/yackob03/quayconfig.git
sudo docker pull quay.io/quay/quay
sudo mkdir -p /mnt/logs/
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