Fix building of image-api-v2

Due to moving files around in the directory, openstack-doc-test did not
generate the markdown document correctly.

Adjust the test for checking that we build image-api-v2 for the
repository renames.

Change-Id: Ifdec7e0bdda4f4f4f4110d21b51b76ebe17968a3
This commit is contained in:
Andreas Jaeger 2014-02-14 17:57:19 +01:00
parent e2491b7edb
commit 1763efc4a3
2 changed files with 2 additions and 1 deletions

View File

@ -102,6 +102,7 @@ Release notes
* Fix openstack-doc-test niceness and syntax checks that always
failed in api projects.
* Fix building of image-api-v2
0.7
---

View File

@ -795,7 +795,7 @@ def build_book(book, publish_path, log_path):
stderr=subprocess.STDOUT
)
# Repository: image-api
elif book.endswith('openstack-image-service-api/src/markdown'):
elif base_book == 'image-api-v2':
output = subprocess.check_output(
[os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"),
"image-api-v2.0"],