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-07-18 16:34:52 -04:00
art Move other PSDs to the art directory as well 2014-05-08 18:31:01 -04:00
auth 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
binary_dependencies Upgrade the version of Docker in the builder to 1.1.0. Swap out our Docker symlink for a bobfile. 2014-07-11 18:30:35 -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 Only keep around 4 days worth or 400MB of logs. 2014-06-23 11:25:50 -04:00
data Fix the spawn_notification to work in all cases and clean up some of the remaining code 2014-07-18 16:34:52 -04:00
endpoints Fix the spawn_notification to work in all cases and clean up some of the remaining code 2014-07-18 16:34:52 -04:00
features - Add code for placing the features information on the frontend 2014-04-04 23:26:10 -04:00
grunt Turn off collapseBooleanAttributes, which was causing the issue. 2014-07-15 14:20:42 -04:00
screenshots Fix screenshot generation 2014-05-19 14:14:18 -04:00
static Merge branch 'master' into redalert 2014-07-18 15:58:56 -04:00
storage Remove path from get_supports_resumeable_download 2014-07-07 16:21:27 -04:00
templates Merge remote-tracking branch 'origin/touchdown' 2014-07-07 15:33:51 -04:00
test Fix the spawn_notification to work in all cases and clean up some of the remaining code 2014-07-18 16:34:52 -04:00
tools Add support for read slave databases. 2014-07-02 19:10:24 -04:00
util Add an exact abort and use it to send the expected response for 409s. 2014-06-11 16:55:38 -04:00
workers Fix the spawn_notification to work in all cases and clean up some of the remaining code 2014-07-18 16:34:52 -04:00
.dockerignore Simplify the dockerfiles using a dockerignore. 2014-07-17 23:17:43 -04:00
.gitignore Add UI for handling the case when an enterprise has reached its maximum seat count 2014-05-28 15:22:36 -04:00
alembic.ini Add alembic plumbing for database schema migrations. 2014-04-09 19:11:33 -04:00
app.py Convert over to notifications system. Note this is incomplete 2014-07-17 22:51:58 -04:00
application.py Disconnect from read slaves when the request ends. 2014-07-07 17:06:53 -04:00
Bobfile Upgrade the version of Docker in the builder to 1.1.0. Swap out our Docker symlink for a bobfile. 2014-07-11 18:30:35 -04:00
config.py Convert over to notifications system. Note this is incomplete 2014-07-17 22:51:58 -04:00
Dockerfile.buildworker Simplify the dockerfiles using a dockerignore. 2014-07-17 23:17:43 -04:00
Dockerfile.web Simplify the dockerfiles using a dockerignore. 2014-07-17 23:17:43 -04:00
external_libraries.py Add UI for managing repo notifications 2014-07-17 13:32:39 -04:00
initdb.py Add support for the remaining events to the frontend and the backend 2014-07-18 15:58:18 -04:00
license.py Eliminate a lot of the if cases in create_user by separating them out. Add a limit to the number of users which can be created based on the license. Add support for creating and loading licenses. 2014-05-28 13:51:52 -04:00
license.pyc Convert over to notifications system. Note this is incomplete 2014-07-17 22:51:58 -04:00
README.md Strip Quay password from readme. 2014-05-27 15:24:29 -04:00
requirements-nover.txt Temporarily downgrade the gunicorn version until the fix for this bug is available: https://github.com/benoitc/gunicorn/issues/790 2014-07-17 14:04:51 -04:00
requirements.txt Temporarily downgrade the gunicorn version until the fix for this bug is available: https://github.com/benoitc/gunicorn/issues/790 2014-07-17 14:04:51 -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:

Deploy cloud-init script from quayconfig/cloudconfig/webserver.yaml

or

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 -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

to build and upload the builder 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
rm Dockerfile
ln -s Dockerfile.buildworker Dockerfile
sudo docker build -t quay.io/quay/builder .
sudo docker push quay.io/quay/builder

to run the builder from a fresh 14.04 server:

Deploy cloud-init script from quayconfig/cloudconfig/builder.yaml

or

sudo apt-get update && sudo apt-get install -y git lxc linux-image-extra-`uname -r`
curl -s https://get.docker.io/ubuntu/ | sudo sh
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 -u 'quay+deploy' -e notused quay.io

start the worker

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

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