From e3a1a8cade2e4ccdbb3deae96401c286bdb266f8 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Tue, 25 Jul 2017 12:47:05 -0700 Subject: [PATCH] Add a static footer for TripleO Quickstart logs Use a static html file from the tripleo-ci repo to help users debug TripleO Quickstart jobs, the same way as devstack-gate. Change-Id: If0d50040f9935976765d537e9ef0213631fe7e76 --- modules/openstack_project/manifests/static.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/openstack_project/manifests/static.pp b/modules/openstack_project/manifests/static.pp index 35884a6686..fa7035203c 100644 --- a/modules/openstack_project/manifests/static.pp +++ b/modules/openstack_project/manifests/static.pp @@ -211,6 +211,7 @@ class openstack_project::static ( '/periodic*/*/*-tempest-dsvm*/*' => '/help/tempest-overview.html', '/*/*/*/*/*-tempest-dsvm*/*/logs/' => '/help/tempest-logs.html', '/periodic*/*/*-tempest-dsvm*/*/logs/' => '/help/tempest-logs.html', + '/*/*/*/*/*tripleo-ci-*/*/logs/' => '/help/tripleo-quickstart-logs.html' } } @@ -245,6 +246,21 @@ class openstack_project::static ( require => [File['/srv/static/logs/help'], Vcsrepo['/opt/devstack-gate']], } + vcsrepo { '/opt/tripleo-ci': + ensure => latest, + provider => git, + revision => 'master', + source => 'https://git.openstack.org/openstack-infra/tripleo-ci', + } + file { '/srv/static/logs/help/tripleo-quickstart-logs.html': + ensure => present, + owner => 'root', + group => 'root', + mode => '0444', + source => 'file:///opt/tripleo-ci/docs/tripleo-quickstart-logs.html', + require => [File['/srv/static/logs/help'], Vcsrepo['/opt/tripleo-ci']], + } + ########################################################### # Docs-draft