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-06-04 16:08:26 -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 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 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 Merge branch 'ldapper' 2014-05-22 12:13:41 -04:00
data Split out the redis hostname for user events and build logs as a string config. Modularize the user events and fix all callers. 2014-05-30 14:25:29 -04:00
endpoints Move GitHub build trigger behind a feature flag. 2014-05-30 18:28:18 -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 Check on the builds array; it may not be present if the page has changed or the builds have not yet loaded 2014-06-04 16:08:26 -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 UI for handling the case when an enterprise has reached its maximum seat count 2014-05-28 15:22:36 -04:00
test Move GitHub build trigger behind a feature flag. 2014-05-30 18:28:18 -04:00
tools Rename the email util to not conflict with a builtin library. 2014-05-28 18:22:48 -04:00
util Add a module which will create notifications for all users when the license is at its expiration period, and terminate the process when the license expires. 2014-05-29 11:24:10 -04:00
workers Remove our deploy key from the workers/Readme which gets included in the Docker image. 2014-05-27 15:19:23 -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 Split out the redis hostname for user events and build logs as a string config. Modularize the user events and fix all callers. 2014-05-30 14:25:29 -04:00
application.py Rework the config to use runit logging. 2014-05-18 17:19:14 -04:00
config.py Move GitHub build trigger behind a feature flag. 2014-05-30 18:28:18 -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 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
Dockerfile.web Prevent the dockerfile from building if the ADD behavior for symlinks ever changes to a recursive copy. 2014-05-28 14:31:30 -04:00
external_libraries.py 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
initdb.py Add a module which will create notifications for all users when the license is at its expiration period, and terminate the process when the license expires. 2014-05-29 11:24:10 -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 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
README.md Strip Quay password from readme. 2014-05-27 15:24:29 -04:00
requirements-nover.txt 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
requirements.txt Fix the registry to work with unicode usernames in LDAP. 2014-05-13 15:22:31 -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