A container image for a web-site preview proxy for Zuul
Go to file
Clark Boylan ae8090ef4a Use bullseye instead of buster
It occurred to me after we landed the switch to buster that the old
testing would've been closer to bullseye. I suspect that now that
bullseye has released testing has moved ahead of that and that is what
broke things. Anyway lets use bullseye instead as it is newer and more
up to date.

Change-Id: I2b405c4e3cd6c7d06d79875f540262ebba788336
2021-10-14 16:22:53 -07:00
playbooks Initial commit 2019-02-09 15:55:31 +00:00
.dockerignore Handle SSL proxying and other fixes 2020-04-08 09:50:29 -07:00
.gitignore Simplify build 2020-07-15 12:03:05 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:32 +00:00
.mailmap Initial commit 2019-02-09 15:55:31 +00:00
.zuul.yaml Build docker image 2019-02-22 10:39:06 -08:00
bindep.txt Remove libboost-system depends 2020-07-15 13:34:14 -05:00
COPYING Initial commit 2019-02-09 15:55:31 +00:00
Dockerfile Use bullseye instead of buster 2021-10-14 16:22:53 -07:00
main.cc Bump to c++17 and switch boost::optional to std::optional 2020-07-15 12:03:25 -05:00
Makefile Bump to c++17 and switch boost::optional to std::optional 2020-07-15 12:03:25 -05:00
README.rst Simplify build 2020-07-15 12:03:05 -05:00
vhost.conf Handle SSL proxying and other fixes 2020-04-08 09:50:29 -07:00

zuul-preview

A preview proxy server for Zuul.

For example, when this http proxy is fed with a Host header in the form similar to site.167715b656ee4504baa940c5bd9f3821.openstack.preview.opendev.org it proxies to the artifact 'site' of the build 167715b656ee4504baa940c5bd9f3821 under tenant 'openstack'. The actual location is determined dynamically by querying a Zuul API configured by the environment variable $ZUUL_API_URL.

Building

The best way to do it is to just build the docker container:

docker build .

But, if you want to build locally ... first you need some dependencies:

python3 -m pip install bindep
apt-get install $(bindep -b compile)

Then you can build the code:

make