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-02-25 18:30:38 -05:00
art Move other PSDs to the art directory as well 2014-05-08 18:31:01 -04:00
auth Remove support for the old style push temporary tokens. 2015-02-24 14:31:19 -05:00
avatars Fix various bugs and styling issues 2014-11-24 19:40:03 -05:00
binary_dependencies Remove the old builder infrastructure. 2015-01-29 11:03:23 -05:00
buildman Reenable metrics until we know they are the problem 2015-02-25 16:00:46 -05:00
buildstatus Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
conf nginx: add comment explaining repo rate limiting 2015-02-25 12:32:48 -05:00
data Fix the deadlock in tags. 2015-02-25 17:49:46 -05:00
emails Add inbox actions. Note that this isn't enabled because of issues around DKIM in Gmail with SES. 2015-01-15 17:11:05 -05:00
endpoints Add trigger metadata (which includes the SHA) and the built image_id to the event data 2015-02-24 15:13:51 -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
formats Fixes 2015-02-05 17:37:58 -05:00
grunt Make sure CSS compilation in grunt loads all CSS files recursively. 2015-02-25 11:47:19 -05:00
health Add is_testing info and mirror the moved endpoints so we can migrate safely. 2015-01-20 16:58:29 -05:00
screenshots Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
static Fix default mail sender field in the setup tool 2015-02-25 18:30:38 -05:00
storage Have the config setup tool automatically prepare the S3 or GCS storage with CORS config 2015-01-16 16:10:40 -05:00
templates Add a service status indicator to the footer and add a notification bar for any incidents 2015-02-24 17:41:30 -05:00
test Fix default test DB 2015-02-24 15:00:40 -05:00
tools Add a tool for sending password reset emails 2015-01-29 12:21:06 -05:00
util Fix some problems with off by one in the id condition when deleteing temporary access tokens. 2015-02-20 16:23:36 -05:00
workers Add a transaction around the extend_processing call 2015-01-29 18:40:41 -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 buildman: add BuildMetrics and BuildReporter 2015-02-17 10:56:09 -05:00
application.py Unify the logging infrastructure and turn the prod logging level to INFO in preparation for picking up a new cloud logger. 2015-02-11 14:15:18 -05:00
Bobfile Update the bobfile to only use the one dockerfile. 2015-01-29 11:04:05 -05:00
build.sh - Add build notifications back in 2015-02-03 13:01:42 -05:00
config.py Switch our temporary token lookups for signed grants which will not require DB access. 2015-02-19 16:54:23 -05:00
Dockerfile Fix pygpgme dependency 2015-02-05 17:15:17 -05:00
external_libraries.py Get dashboard working and upgrade bootstrap. Note: the bootstrap fixes will be coming in the followup CL 2015-02-17 19:15:54 -05:00
initdb.py Add tracking of the kind of temporary access tokens, so we can display if a pull/push by token is for a build worker 2015-02-17 12:35:16 -05:00
local-run.sh remove shebang from local scripts 2014-11-20 15:25:13 -05:00
local-setup-osx.sh scripts: add a local setup script for OSX 2015-01-30 11:48:44 -05:00
local-test.sh test: add TROLLIUSDEBUG=1 to test script 2015-02-17 15:32:54 -05:00
README.md Rename the repository in the README 2014-12-08 13:31:44 -05:00
registry.py Change to only run the cloud watch reporter in the gunicorn_web 2015-01-16 13:44:29 -05:00
requirements-nover.txt requirements: switch to vendored python-etcd 2015-02-23 14:31:24 -05:00
requirements.txt requirements: switch to vendored python-etcd 2015-02-23 14:31:24 -05: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 web: remove manually starting of queuemetrics 2015-02-17 13:16:03 -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://github.com/coreos-inc/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://github.com/coreos-inc/quay.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://github.com/coreos-inc/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://github.com/coreos-inc/quay.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