Add operations-guide to redirect ignore list
The openstack/operations-guide repo is not cycle based and uses the publish-openstack-tox-docs-direct job. This adds the repo to the list to be ignored when generating the .htaccess file of redirects so it does not get sent to /latest. Change-Id: I41f1c88a823c4c6873ae2a179ec9df6d52501d37 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
db48465a9e
commit
68b8532eeb
@ -350,6 +350,7 @@ _IGNORED_REPOS = [
|
||||
'openstack/releases',
|
||||
'openstack-infra/releasestatus',
|
||||
'openstack/contributor-guide',
|
||||
'openstack/operations-guide',
|
||||
]
|
||||
|
||||
# List of infra repos that publish to the normal location (/REPO/) and
|
||||
@ -417,6 +418,8 @@ def _get_official_repos():
|
||||
base = name.rsplit('/')[-1]
|
||||
if name in seen_repos:
|
||||
continue
|
||||
if name in _IGNORED_REPOS:
|
||||
continue
|
||||
regular_repos.append({
|
||||
'name': name,
|
||||
'base': base,
|
||||
|
Loading…
Reference in New Issue
Block a user