Update AIAB repo names

The Airship-In-A-Bottle repo was previously airship/in-a-bottle but has
been updated to airship/airship-in-a-bottle. Updating these references
to use the new name. This resolves both a consistency issue and failing
unit tests.

Change-Id: Ifa36e352a2718fb9998bf26f9f743ca2a7e8f8d4
This commit is contained in:
Alexander Hughes 2019-06-03 15:39:38 +00:00
parent b1576e43cc
commit b18c4c0093
3 changed files with 8 additions and 8 deletions

View File

@ -185,4 +185,4 @@ site definition contains a set of documents.::
in whatever way makes sense. The best practice here to define
them by racks is only a suggestion.
.. _Airship in a Bottle: https://opendev.org/airship/in-a-bottle
.. _Airship in a Bottle: https://opendev.org/airship/airship-in-a-bottle

View File

@ -498,14 +498,14 @@ def test_is_repository():
# airship-in-a-bottle
do_test(
url='https://review.opendev.org/airship/in-a-bottle',
url='https://review.opendev.org/airship/airship-in-a-bottle',
ref='refs/changes/39/596439/1')
do_test(
url='https://review.opendev.org/airship/in-a-bottle',
url='https://review.opendev.org/airship/airship-in-a-bottle',
ref='refs/changes/39/596439/1',
subpath='deployment_files')
do_test(
url='https://review.opendev.org/airship/in-a-bottle',
url='https://review.opendev.org/airship/airship-in-a-bottle',
ref='refs/changes/39/596439/1',
subpath='deployment_files/site')

View File

@ -694,11 +694,11 @@ class TestSiteCliActionsWithSubdirectory(BaseCLIActionTest):
"""Validates list action with subpath in remote URL."""
# Scenario:
#
# 1) List sites for https://opendev.org/airship/in-a-bottle
# 1) List sites for https://opendev.org/airship/airship-in-a-bottle
# deployment_files (subpath in remote URL)
# Perform site action using remote URL.
repo_name = 'in-a-bottle'
repo_name = 'airship-in-a-bottle'
repo_rev = '7a0717adc68261c7adb3a3db74a9326d6103519f'
repo_url = 'https://opendev.org/airship/%s/deployment_files@%s' % (
repo_name, repo_rev)
@ -709,11 +709,11 @@ class TestSiteCliActionsWithSubdirectory(BaseCLIActionTest):
"""Validates list action with subpath in local repo path."""
# Scenario:
#
# 1) List sites for local repo at /tmp/.../in-a-bottle/
# 1) List sites for local repo at /tmp/.../airship-in-a-bottle/
# deployment_files
# Perform site action using local repo path.
repo_name = 'in-a-bottle'
repo_name = 'airship-in-a-bottle'
repo_rev = '7a0717adc68261c7adb3a3db74a9326d6103519f'
repo_url = 'https://opendev.org/airship/%s' % repo_name
_repo_path = git.git_handler(repo_url, ref=repo_rev)