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
josephschorr d894e01ba1 Merge pull request #1466 from coreos-inc/fixlogin
Temporary fix for login screen by always showing the signin (instead …
2016-05-16 14:13:12 -04:00
auth Fix user:admin scope handling and add test 2016-05-09 11:16:01 +02:00
avatars
binary_dependencies Use jwtproxy binary from github 2016-04-29 14:10:33 -04:00
buildman
buildstatus status badges updated to use shields.io standard 2015-03-23 20:24:08 -04:00
buildtrigger
conf Implement setup tool support for Clair 2016-05-04 13:40:50 -04:00
contrib/osx
data Always use log entry kind cache 2016-05-13 15:20:55 -04:00
digest
emails Better UX when recovering organization emails 2015-12-28 15:25:31 -05:00
endpoints Make security scan testing much faster 2016-05-05 13:55:24 -04:00
events Fix all target="_blank" anchors to be safer 2016-04-28 14:38:22 -04:00
features
formats Better env handling 2016-04-20 14:53:10 -04:00
grunt
health Add RDSAwareHealthCheck as alias for ProductionHealthCheck 2016-03-25 15:25:42 -04:00
screenshots
static Temporary fix for login screen by always showing the signin (instead of create account) 2016-05-16 14:12:15 -04:00
storage Make security scan testing much faster 2016-05-05 13:55:24 -04:00
templates Fix all target="_blank" anchors to be safer 2016-04-28 14:38:22 -04:00
test Fix ACI signing tests 2016-05-16 13:31:43 -04:00
tools
util Add ACI signing tests 2016-05-13 18:29:57 -04:00
workers Use the registry API for security scanning 2016-05-04 18:04:06 -04:00
.dockerignore
.gitignore
alembic.ini
app.py Use the registry API for security scanning 2016-05-04 18:04:06 -04:00
application.py Split secscan endpoints into a new process 2016-05-02 11:38:00 -04:00
Bobfile
boot.py Implement setup tool support for Clair 2016-05-04 13:40:50 -04:00
build.sh
CHANGELOG.md Add changelog for v1.16.0 (#1446) 2016-05-06 11:19:38 -05:00
config.py Implement setup tool support for Clair 2016-05-04 13:40:50 -04:00
dev.df
Dockerfile address review comments 2016-04-29 14:10:33 -04:00
external_libraries.py keys ui WIP 2016-04-29 14:05:16 -04:00
initdb.py Hide expired keys outside of their staleness window 2016-04-29 14:10:33 -04:00
local-docker.sh Add fulldbtest support to local-docker.sh 2015-10-21 15:33:48 -04:00
local-run.sh
local-test.sh
MAINTAINERS
pylintrc
README.md
registry.py
release.py
requirements-dev.txt
requirements-nover.txt Add pre shared generation tool 2016-04-29 14:09:37 -04:00
requirements.txt Add pre shared generation tool 2016-04-29 14:09:37 -04:00
ROADMAP.md
secscan.py Split secscan endpoints into a new process 2016-05-02 11:38:00 -04:00
verbs.py
web.py Split secscan endpoints into a new process 2016-05-02 11:38:00 -04:00

Quay - container image registry

master branch build status: Docker Repository on Quay

Quay is a container image registry with managements APIs, a Docker registry API, a container build system. The application is implemented as a set of API endpoints written in python and an Angular.js frontend.

Setup Development Environment

If you are doing local development on your workstation against the code base follow these instructions.

Docker

Quay and its parts can run inside of docker containers. This method requires no installation of any python packages on your host machine. The local-docker.sh script is provided to prepare and run parts of quay. First, start redis:

docker run -d -p 6379:6379 redis

And clone the configuration repo:

git clone git@github.com:coreos-inc/quay-config.git ../quay-config
ln -s ../../quay-config/local conf/stack

To build and run a docker container, pass one argument to local-docker.sh:

  • dev: run quay on port 5000
  • buildman: run the buildmanager
  • notifications: run the notification worker
  • test: run the unit tests
  • initdb: clear and initialize the test database

For example:

./local-docker.sh dev

will start quay in a docker container. Now quay will be running on: http://127.0.0.1:5000 The username is devtable and the password is password.

OS X

git clone git@github.com:coreos-inc/quay.git
cd quay
./contrib/osx/local-setup.sh

Now run the server; it will use sqlite as the SQL server.

./local-run.sh

Now quay will be running on: http://127.0.0.1:5000 The username is devtable and the password is password.

Some packages may fail to build with clang (which now defaults to C11). They can be installed with C99 with:

CFLAGS='-std=c99' pip install --no-cache --no-binary :all: gevent
CFLAGS='-std=c99' pip install --no-cache --no-binary :all: cffi
CFLAGS='-std=c99' pip install --no-cache --no-binary :all: cryptography

Update Requirements

  1. Create a new virtualenv
  2. Activate new virtualenv
  3. Install unversioned dependencies
  4. Run tests
  5. Freeze requirements
  6. Deactivate virtualenv
  7. Remove virtualenv

Example (commands may differ dependending on virtualenv tools):

pyenv virtualenv 2.7.11 quay-deps
pyenv activate quay-deps
pip install -r requirements-nover.txt
./local-test.sh
pip freeze > requirements.txt
pyenv deactivate quay-deps
pyenv uninstall quay-deps