[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST 4/5] cambridge: Do not try to push harness to XenProject instance output
By arranging for cr-publish-flight-logs to ignore --push-harness if either of HarnessPublishGitRepoDir or HarnessPublishGitUserHost are not specified Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- Perhaps we should have our own tree for such things, but for now just nobble it. --- cr-publish-flight-logs | 4 ++++ production-config-cambridge | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cr-publish-flight-logs b/cr-publish-flight-logs index 1feb52d..5311015 100755 --- a/cr-publish-flight-logs +++ b/cr-publish-flight-logs @@ -43,6 +43,10 @@ if ($push_harness) { my $githost= $c{HarnessPublishGitUserHost}; my $gitdir= $c{HarnessPublishGitRepoDir}; + if (!$githost || !$gitdir) { + logm("Nowhere to publish harness to"); + return 0; + } system_checked("git push $githost:$gitdir HEAD:refs/heads/flight-$flight"); system_checked("ssh $githost 'cd $gitdir && git update-server-info'"); } diff --git a/production-config-cambridge b/production-config-cambridge index ad4e44c..043a73c 100644 --- a/production-config-cambridge +++ b/production-config-cambridge @@ -50,9 +50,6 @@ GlobalLockDir /export/home/osstest/testing.git LogsPublish= "$c{Publish}/logs" ResultsPublish= "$c{Publish}/results" -HarnessPublishGitUserHost xen@xxxxxxxxxxxxxxxxxxxxx -HarnessPublishGitRepoDir git/osstest.git - ReportTrailer= <<END Logs, config files, etc. are available at $c{ReportHtmlPubBaseUrl} -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |