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
2015-01-07 17:45:59 -05:00
art Move other PSDs to the art directory as well 2014-05-08 18:31:01 -04:00
auth Merge branch 'koh' 2014-12-01 12:30:09 -08:00
avatars Fix various bugs and styling issues 2014-11-24 19:40:03 -05:00
binary_dependencies Update to a user namespace patched version of docker 1.3.2 2014-11-24 20:26:35 -05:00
buildman Have the build manager sleep if the requested manager is external 2014-12-01 14:41:46 -05:00
buildstatus Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
conf Merge branch 'bagger' 2014-12-01 12:48:59 -05:00
data remove 'include_starred' option on repo listings 2014-12-29 14:11:46 -05:00
emails Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
endpoints star status shown in normal repo listings 2014-12-30 15:07:14 -05:00
events Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
features Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
grunt Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
health Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
screenshots Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
static Add associated styles for 023f40c. 2015-01-07 17:45:59 -05:00
storage Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
templates Merge branch 'koh' 2014-12-01 12:30:09 -08:00
test star status shown in normal repo listings 2014-12-30 15:07:14 -05:00
tools Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
util Merge branch 'koh' 2014-12-01 12:30:09 -08:00
workers Disable the lxc stability check. LXC is so broken that this was causing the build fleet to thrash when it encountered real issues with LXC/user namespacing. 2014-11-25 04:18:50 -05:00
.dockerignore Don't add .pyc files to the Docker images 2014-11-23 14:20:10 -05: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 Merge branch 'koh' 2014-12-01 12:30:09 -08:00
application.py Split the app into separate backends, which can use different worker types and different timeouts. 2014-10-14 13:58:08 -04:00
Bobfile Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
config.py Merge branch 'koh' 2014-12-01 12:30:09 -08:00
Dockerfile.buildworker Need updated apt packages 2014-11-20 20:30:22 -05:00
Dockerfile.web Merge branch 'koh' 2014-12-01 12:30:09 -08:00
external_libraries.py Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
initdb.py Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
local-run.sh remove shebang from local scripts 2014-11-20 15:25:13 -05:00
local-test.sh remove shebang from local scripts 2014-11-20 15:25:13 -05:00
README.md Strip Quay password from readme. 2014-05-27 15:24:29 -04:00
registry.py Split the app into separate backends, which can use different worker types and different timeouts. 2014-10-14 13:58:08 -04:00
requirements-nover.txt Merge branch 'koh' 2014-12-01 12:30:09 -08:00
requirements.txt Merge branch 'koh' 2014-12-01 12:30:09 -08:00
verbs.py Split the app into separate backends, which can use different worker types and different timeouts. 2014-10-14 13:58:08 -04:00
web.py Split the app into separate backends, which can use different worker types and different timeouts. 2014-10-14 13:58:08 -04: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