[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 1/4] html output: ReportHtmlUnpubBaseUrl: New config variable



This allows us to generate private urls for unpublished flights.  This
will be useful for links from the ongoing flights summary - since,
naturally, none of those logs are published yet.

The URLs will be of more limited use; the exact usefulness will depend
on the deployment.

If no separate Unpub url is specified, simply use the Pub one.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest.pm        | 2 ++
 production-config | 1 +
 2 files changed, 3 insertions(+)

diff --git a/Osstest.pm b/Osstest.pm
index 4ebd922..a78728c 100644
--- a/Osstest.pm
+++ b/Osstest.pm
@@ -237,6 +237,8 @@ sub readglobalconfig () {
     $c{WebspaceCommon} ||= 'osstest/';
     $c{WebspaceLog} ||= '/var/log/apache2/access.log';
 
+    $c{ReportHtmlUnpubBaseUrl} ||= $c{ReportHtmlPubBaseUrl};
+
     $c{OverlayLocal} ||= "overlay-local";
     $c{GuestDebianSuite} ||= $c{DebianSuite};
 
diff --git a/production-config b/production-config
index 9bc2dc8..a95e243 100644
--- a/production-config
+++ b/production-config
@@ -54,6 +54,7 @@ HttpProxy http://cache:3128/
 PubBaseUrl http://logs.test-lab.xenproject.org/osstest
 ReportHtmlPubBaseUrl="$c{PubBaseUrl}/logs"
 ResultsHtmlPubBaseUrl="$c{PubBaseUrl}/results"
+ReportHtmlUnpubBaseUrl="http://osstest/~osstest/pub/logs/";
 
 Publish osstest@www:/var/www/osstest
 GlobalLockDir /home/osstest/testing.git
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.