Relocate Shippable tools. (#67556)

* Move Shippable tools to hacking directory.

These limits the `test/utils/shippable/` directory to scripts required for CI.

* Fix `test/utils/shippable/` file classification.

* Update package-data sanity test.
This commit is contained in:
Matt Clay 2020-02-19 09:55:34 -08:00 committed by GitHub
parent 4373863f25
commit 19f6fc68d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 6 deletions

View file

@ -809,18 +809,13 @@ class PathMapper:
if path.startswith('test/lib/'):
return all_tests(self.args) # test infrastructure, run all tests
if path.startswith('test/utils/shippable/tools/'):
return minimal # not used by tests
if path.startswith('test/utils/shippable/'):
if dirname == 'test/utils/shippable':
test_map = {
'cloud.sh': 'integration:cloud/',
'freebsd.sh': 'integration:all',
'linux.sh': 'integration:all',
'network.sh': 'network-integration:all',
'osx.sh': 'integration:all',
'rhel.sh': 'integration:all',
'remote.sh': 'integration:all',
'sanity.sh': 'sanity:all',
'units.sh': 'units:all',
'windows.sh': 'windows-integration:all',

View file

@ -26,6 +26,7 @@ def assemble_files_to_ship(complete_file_list):
'changelogs/fragments/*',
'hacking/aws_config/*',
'hacking/aws_config/*/*',
'hacking/shippable/*',
'hacking/tests/*',
'hacking/ticket_stubs/*',
'test/legacy/*',