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
Jimmy Zelinskie 290c8abeb5 Make empty token more readable in logs.
Enterprises use "" for tokens. This was confusing to read in the logs
without making things more clear by adding quotes around the value.
2014-11-20 15:22:34 -05: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
buildman Make empty token more readable in logs. 2014-11-20 15:22:34 -05: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 _ping endpoint to match the new spec 2014-11-07 10:05:05 -05:00
data Move the robot deletion code into a delete_instance method on the User object 2014-11-10 13:18:17 -05: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 Fix OAuth login to try usernames until it finds a valid username 2014-11-10 11:30:47 -05:00
events Add better (jinja-based) messaging to the notifications and add some fixes for the email templates 2014-10-22 19:01:56 -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
health Clarify the health checking logic and remove the accidental inclusion of the override 2014-11-02 15:42:59 -05:00
screenshots Fix screenshot generation 2014-05-19 14:14:18 -04:00
static Get the new build system working for enterprise 2014-11-13 19:41:17 -05:00
storage Lots of small NPE and other exception fixes 2014-09-15 11:27:33 -04:00
templates - Make the OAuth config system centralized 2014-11-05 16:43:37 -05:00
test - Turn on foreign key constraint checking in the tests 2014-11-07 12:05:21 -05:00
tools Add a new tool for parsing build packs and make sure reparsedockerfile writes it out as well 2014-11-02 14:05:27 -05:00
util Make sure the external login link for GHE links to the enterprise GitHub and not the hosted version 2014-11-06 20:35:52 -05:00
workers Make sure builders close the db handle when no work comes in and make the metrics transaction smaller in scope 2014-10-24 11:40:02 -04:00
.dockerignore Add OS X .DS_Store to the .dockerignore 2014-11-02 16:36: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 - Make the OAuth config system centralized 2014-11-05 16:43:37 -05: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 Do not automatically tag repos with latest in the bobfile. 2014-07-22 16:46:59 -04:00
config.py - Make the OAuth config system centralized 2014-11-05 16:43:37 -05:00
Dockerfile.buildworker Update the dockerfiles to remove build time dependencies. 2014-10-15 12:03:52 -04:00
Dockerfile.web Move grunt npm install before ADDs, so we don't have to download all the packages on every build 2014-11-05 12:45:14 -05:00
external_libraries.py Add UI for managing repo notifications 2014-07-17 13:32:39 -04:00
initdb.py - Turn on foreign key constraint checking in the tests 2014-11-07 12:05:21 -05:00
local-run.sh Simple code review changes. 2014-11-20 14:36:22 -05:00
local-test.sh Simple code review changes. 2014-11-20 14:36:22 -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 Switch to using our branch of docker-py 2014-10-15 16:03:16 -04:00
requirements.txt Switch to using our branch of docker-py 2014-10-15 16:03:16 -04: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