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.
pull/67587/head
Matt Clay 5 years ago committed by GitHub
parent 4373863f25
commit 19f6fc68d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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',

@ -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/*',

Loading…
Cancel
Save