A container image for a web-site preview proxy for Zuul
a2fd4212ba
We don't need them. We do for building, but the transitive depend from libcpprest takes care of it for us. We don't need libboost-system for runtime at all. Change-Id: Ife9af152d14da238ef7ce2b72e9ac1d766663da5 |
||
---|---|---|
playbooks | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.zuul.yaml | ||
bindep.txt | ||
COPYING | ||
Dockerfile | ||
main.cc | ||
Makefile | ||
README.rst | ||
vhost.conf |
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