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
This commit is contained in:
parent
ddaa1a0e7d
commit
e3a1a8cade
@ -211,6 +211,7 @@ class openstack_project::static (
|
|||||||
'/periodic*/*/*-tempest-dsvm*/*' => '/help/tempest-overview.html',
|
'/periodic*/*/*-tempest-dsvm*/*' => '/help/tempest-overview.html',
|
||||||
'/*/*/*/*/*-tempest-dsvm*/*/logs/' => '/help/tempest-logs.html',
|
'/*/*/*/*/*-tempest-dsvm*/*/logs/' => '/help/tempest-logs.html',
|
||||||
'/periodic*/*/*-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']],
|
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
|
# Docs-draft
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user