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
2019-02-11 18:52:29 +00:00
2019-02-09 15:55:31 +00:00
2019-02-09 15:57:32 +00:00
2019-04-19 19:25:32 +00:00
2019-02-09 15:55:31 +00:00
2019-02-22 10:39:06 -08:00
2019-02-10 15:31:12 +00:00
2019-02-09 15:55:31 +00:00
2019-02-09 15:55:31 +00:00
2019-02-10 19:15:50 +00: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

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
Description
A container image for a web-site preview proxy for Zuul
Readme 358 KiB
Languages
C++ 69.6%
Dockerfile 17.9%
Makefile 12.5%