A container image for a web-site preview proxy for Zuul
Go to file
James E. Blair e0d10c611e Look up artifacts by metadata.type rather than name
So that we can have nice looking names like "Preview Site", find
the artifact by looking up the 'type' field in metadata.

Change-Id: Ia01e95c77f068bd8ab3a515aa023c1f79332fc67
2020-04-07 08:34:55 -07:00
m4 Remove stray " 2019-02-11 18:52:29 +00:00
playbooks Initial commit 2019-02-09 15:55:31 +00:00
zuul-preview Look up artifacts by metadata.type rather than name 2020-04-07 08:34:55 -07:00
.gitignore Add zuul-preview to .gitignore 2019-02-09 15:57:32 +00: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
COPYING Initial commit 2019-02-09 15:55:31 +00:00
Dockerfile Use debian:testing-minimal base image 2019-02-11 18:26:42 +00:00
Makefile.am Remove cruft from Makefile.am 2019-02-10 19:15:50 +00:00
README.rst add basic description into README.rst 2019-03-11 12:41:10 +01:00
bindep.txt Remove vendored copies of m4 files 2019-02-10 15:31:12 +00:00
build.sh Initial commit 2019-02-09 15:55:31 +00:00
configure.ac Use autoconf archive for boost and openssl 2019-02-11 14:53:57 +00:00
vhost.conf Don't proxy urls that don't appear in the map 2020-04-06 15:02:40 -07:00

README.rst

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

First you need some dependencies:

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

Then you can build the code:

autoreconf -fi
./configure
make