From cf6744db62cfd9a424edf8960953e2f100b0f64d Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 6 Jan 2017 13:52:38 -0600 Subject: [PATCH] Skip CI link in list for infra supported drivers For lack of a better way, for drivers that have CI run by Jenkins we denote this using the name 'Cinder_Jenkins'. CI links were added to the generated driver list, but for these drivers this results in a link to an invalid wiki page. For these drivers we should just skip adding the CI info link. Change-Id: I8a3087f8102392ca604a42fdf006e1a4e1a026d6 --- tools/generate_driver_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate_driver_list.py b/tools/generate_driver_list.py index a09ad909669..5f7d9aacd20 100755 --- a/tools/generate_driver_list.py +++ b/tools/generate_driver_list.py @@ -76,7 +76,7 @@ def print_drivers(drivers, config_name, output): if driver.version: output.write('* Version: %s' % driver.version) output.write('* %s=%s' % (config_name, driver.class_fqn)) - if driver.ci_wiki_name: + if driver.ci_wiki_name and 'Cinder_Jenkins' not in driver.ci_wiki_name: output.write('* CI info: %s%s' % (CI_WIKI_ROOT, driver.ci_wiki_name)) output.write('* Description:')