ansible-test - Use ansible-core for docs links.

pull/76524/head
Matt Clay 3 years ago
parent 19a58859d6
commit 16cdac66fe

@ -0,0 +1,2 @@
bugfixes:
- ansible-test - Update help links to reference ``ansible-core`` instead of ``ansible``.

@ -127,5 +127,5 @@ class AwsCloudEnvironment(CloudEnvironment):
"""Callback to run when an integration target fails."""
if not tries and self.managed:
display.notice('If %s failed due to permissions, the IAM test policy may need to be updated. '
'https://docs.ansible.com/ansible/devel/dev_guide/platforms/aws_guidelines.html#aws-permissions-for-integration-tests.'
'https://docs.ansible.com/ansible-core/devel/dev_guide/platforms/aws_guidelines.html#aws-permissions-for-integration-tests.'
% target.name)

@ -64,7 +64,7 @@ class IntegrationAliasesTest(SanitySingleVersion):
UNSTABLE = 'unstable/'
UNSUPPORTED = 'unsupported/'
EXPLAIN_URL = 'https://docs.ansible.com/ansible/devel/dev_guide/testing/sanity/integration-aliases.html'
EXPLAIN_URL = 'https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/integration-aliases.html'
TEMPLATE_DISABLED = """
The following integration tests are **disabled** [[explain]({explain_url}#disabled)]:

@ -347,7 +347,7 @@ class TestFailure(TestResult):
if re.search(r'^[0-9.]+$', ansible_version):
url_version = '.'.join(ansible_version.split('.')[:2])
testing_docs_url = 'https://docs.ansible.com/ansible/%s/dev_guide/testing' % url_version
testing_docs_url = 'https://docs.ansible.com/ansible-core/%s/dev_guide/testing' % url_version
url = '%s/%s/' % (testing_docs_url, self.command)

@ -141,7 +141,7 @@ def validate_metadata_file(path, is_ansible, check_deprecation_dates=False):
current_version = get_collection_version()
# Updates to schema MUST also be reflected in the documentation
# ~https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html
# ~https://docs.ansible.com/ansible-core/devel/dev_guide/developing_collections.html
# plugin_routing schema

@ -487,7 +487,7 @@ class ModuleValidator(Validator):
path=self.object_path,
code='use-short-gplv3-license',
msg='Found old style GPLv3 license header: '
'https://docs.ansible.com/ansible/devel/dev_guide/developing_modules_documenting.html#copyright'
'https://docs.ansible.com/ansible-core/devel/dev_guide/developing_modules_documenting.html#copyright'
)
def _check_for_subprocess(self):

Loading…
Cancel
Save