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
Joseph Schorr f4daa5e97b - Update the migrations tool to verify migrations work up and down for both MySQL and PostgresSQL.
- Add migrations for the squashed image tables and for backfilling the uncompressed sizes
- Make sure gzip stream uses a max length when determining the uncompressed size
2014-10-07 15:29:56 -04:00
art Move other PSDs to the art directory as well 2014-05-08 18:31:01 -04:00
auth Phase 2 of migrating repo namespaces to referencing user objects, backfilling the rows without a value for namespace_user, and changing all accesses to go through the namespace_user object. All tests are passing, manual testing still required. 2014-09-24 18:01:35 -04:00
binary_dependencies Change the ownership of files as theyre being unpacked from the tar. 2014-07-25 13:45:56 -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 Fix the docker registry headers for _ping. 2014-10-03 16:41:16 -04:00
data - Update the migrations tool to verify migrations work up and down for both MySQL and PostgresSQL. 2014-10-07 15:29:56 -04:00
emails Tweak the team invite email. Update the test database to reflect the latest structure. 2014-09-19 10:03:35 -04:00
endpoints Merge master into laffa 2014-10-07 14:03:17 -04:00
features - Add code for placing the features information on the frontend 2014-04-04 23:26:10 -04:00
grunt Fix inline SVG that was being miscompiled by htmlmin 2014-08-14 13:47:09 -04:00
screenshots Fix screenshot generation 2014-05-19 14:14:18 -04:00
static Merge master into laffa 2014-10-07 14:03:17 -04:00
storage Address review comments 2014-09-17 17:49:46 -04:00
templates Add a feature flag to disable user creation 2014-10-02 14:49:18 -04:00
test - Update the migrations tool to verify migrations work up and down for both MySQL and PostgresSQL. 2014-10-07 15:29:56 -04:00
tools - Update the migrations tool to verify migrations work up and down for both MySQL and PostgresSQL. 2014-10-07 15:29:56 -04:00
util - Update the migrations tool to verify migrations work up and down for both MySQL and PostgresSQL. 2014-10-07 15:29:56 -04:00
workers image_and_tag must be before we use it 2014-10-03 13:00:41 -04:00
.dockerignore Remove all license code 2014-08-21 17:44:56 -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 Merge remote-tracking branch 'origin/master' into waltermitty 2014-09-11 11:18:28 -04:00
application.py Merge master into laffa 2014-10-07 14:03:17 -04:00
Bobfile Do not automatically tag repos with latest in the bobfile. 2014-07-22 16:46:59 -04:00
config.py Add a feature flag to disable user creation 2014-10-02 14:49:18 -04:00
Dockerfile.buildworker Refresh the version of phusion baseimage and the ubuntu package server contents. 2014-09-10 14:43:10 -04:00
Dockerfile.web Move the temp directory outside of devicemapper. 2014-09-15 23:44:35 -04:00
external_libraries.py Add UI for managing repo notifications 2014-07-17 13:32:39 -04:00
initdb.py Merge master into laffa 2014-10-07 14:03:17 -04:00
README.md Strip Quay password from readme. 2014-05-27 15:24:29 -04:00
requirements-nover.txt Actually store the generated image storage in the database, and allow it to be garbage collected when the parent image storage is collected. 2014-09-18 17:26:40 -04:00
requirements.txt Add missing pyyaml dependency 2014-08-21 20:38:30 -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