[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 02/11] ts-coverity-upload: Pass HttpsProxyMITMCert to curl
"proxy config: Add ability to install MITM TLS cert" sets this up on the test hosts, but not the controller. We don't really want this odd configuration globally on the controller. Instead, we have to pass it where it is needed. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- ts-coverity-upload | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ts-coverity-upload b/ts-coverity-upload index bcdfa91..c52bb87 100755 --- a/ts-coverity-upload +++ b/ts-coverity-upload @@ -47,6 +47,11 @@ sub upload() { my $proxy = $c{CoverityHttpProxy} // $c{HttpProxy}; push @args, qw(-x), $proxy if $proxy; + if ($c{HttpsProxyMITMCert}) { + push @args, qw(--cacert), + stashfilecontents($c{HttpsProxyMITMCert}, "cacert.pem"); + } + push @args, qw(--max-time 7200); push @args, qw(--fail); # turn 404 etc into a failure. push @args, $r{coverity_submit_url}; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |