* ui: add support for exposing quay UI as a dynamic plugin (PROJQUAY-3203)
* Introduces a new SSO JWT based auth for client side Oauth
* Adds a new entrypoint component for the UI without topnav and sidenav for plugin
* Adds webpack config to build dynamic plugin
* chore: make local-dev-up should restart quay container
make local-dev-up deletes generated files that are needed by Quay. To
generate them again, the container should be restarted.
As docker-compose up doesn't have an option to restart the container, we
use docker-compose stop.
* chore: pass DOCKER_USER to docker-compose up clair
clair container depends on quay, so `docker-compose up clair` should
have correct environment variables for quay.
* chore: increase max_connections for clair-db
clair indexer can use up to 100 connections in our configuration, i.e.
all available postgres connections. In this case other workers are not
able to connect to postgres and cannot do their job.
When specified, the new build target (aka stage) builds quay the way
local-dev/Dockerfile used to, using local-dev/config.yml as
configuration, and starting up only the necessary tools for development.
See docker-compose.yml services:quay:build:target for how it's used.
Production builds should not be affected since the new target is not
referenced from anywhere but the docker-compose.yml.
* local-dev: implement local development environment
this commit copies the files in /init into /local-dev, edits those files
to support hot-reload features for local development, and introduces
docker-compose/makefile targets in order to support local dev.
Signed-off-by: ldelossa <ldelossa@redhat.com>
* local-dev: hop quay workers to gunicorn
this commit adds a uwsgi worker application delegate and a factory
function allowing each worker to be ran by gunicorn.
each worker now supports hot-reload and will reload itself when it's
code is updated.
this changes only affects the local dev env.
Signed-off-by: ldelossa <ldelossa@redhat.com>
* local-dev: add docs
Signed-off-by: ldelossa <ldelossa@redhat.com>