mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[ska] update paths, kibana.jsons for test plugins (#223004)
## Summary This pull request introduces changes to map test directories and plugins according new SKA ### Test Directory Organization: * [`.buildkite/pull_requests.json`](diffhunk://#diff-f6a29d74dea38fb756d38e158cbd1c306158a61f66da3d0633bb64af3000e5cfR44-R45): Added regex patterns to include directories under `x-pack/platform/test` and `x-pack/solutions/(search|observability|security)/test` for build reuse. [[1]](diffhunk://#diff-f6a29d74dea38fb756d38e158cbd1c306158a61f66da3d0633bb64af3000e5cfR44-R45) [[2]](diffhunk://#diff-f6a29d74dea38fb756d38e158cbd1c306158a61f66da3d0633bb64af3000e5cfR72-R73) [[3]](diffhunk://#diff-f6a29d74dea38fb756d38e158cbd1c306158a61f66da3d0633bb64af3000e5cfR99-R100) * [`src/platform/packages/shared/kbn-test/src/functional_test_runner/cli/code_owners.ts`](diffhunk://#diff-be6c88de4eca4b556f8b3d63174abc86830a2fc76502ccc318de3753fcf69e42L16-R25): Expanded `TEST_DIRECTORIES` to include new test paths for `platform` and `solutions` groups. ### Module Grouping Logic: * [`packages/kbn-repo-source-classifier/src/group.ts`](diffhunk://#diff-ca1d6e73c75bc70f1f99a19fdc6cca66ca79dc290de32f222595aa7d0b5099b9R49-R52): Updated `MODULE_GROUPING_BY_PATH` to include `x-pack/platform/test` and `x-pack/solutions/*/test` directories under their respective groups with appropriate visibility settings. [[1]](diffhunk://#diff-ca1d6e73c75bc70f1f99a19fdc6cca66ca79dc290de32f222595aa7d0b5099b9R49-R52) [[2]](diffhunk://#diff-ca1d6e73c75bc70f1f99a19fdc6cca66ca79dc290de32f222595aa7d0b5099b9R61-R64) ### Plugin Metadata Updates: * Various plugin `kibana.jsonc` files under `x-pack/platform/test`: Added `group` and `visibility` fields to ensure plugins are categorized under the `platform` group with `private` visibility. [[1]](diffhunk://#diff-9a5f9434970ecdc05e4e011ea6a677d5df9daff80173d30e871bee57f291dc61R5-R6) [[2]](diffhunk://#diff-4c6f1ed3260dd9413db2e7ac107bec1c68db883fed9fe5adb4416494bf2ad770R5-R6) [[3]](diffhunk://#diff-54d92cdb9f449d9787cc79650f65fca02d3c28698d16bcb3a2195e638a0ef3b0R5-R6) [[4]](diffhunk://#diff-821b5bb2cb432c7817e3bc2be254be13f9ae721f9b6ec48d604df1f5f35a065dR5-R6) [[5]](diffhunk://#diff-32ee7ae7e104765e023fbb7cc98f770056c51f61e9c33f1530367b04cabe0e68R5-R6) [[6]](diffhunk://#diff-8f976d082851d9e761a5bb0d8b044aeae7069ab013312e7fed2616932c3fd013R5-R6) These changes collectively improve the organization and maintainability of test-related files and plugins within the repository.
This commit is contained in:
parent
f2129b04dd
commit
666f7ea237
11 changed files with 67 additions and 2 deletions
|
@ -46,6 +46,10 @@ const MODULE_GROUPING_BY_PATH: Record<string, ModuleAttrs> = ['packages', 'plugi
|
|||
group: solution,
|
||||
visibility: 'private',
|
||||
};
|
||||
acc[`x-pack/solutions/${solution}/test`] = {
|
||||
group: solution,
|
||||
visibility: 'private',
|
||||
};
|
||||
return acc;
|
||||
}, {}),
|
||||
}))
|
||||
|
@ -54,6 +58,10 @@ const MODULE_GROUPING_BY_PATH: Record<string, ModuleAttrs> = ['packages', 'plugi
|
|||
group: 'platform',
|
||||
visibility: 'shared',
|
||||
},
|
||||
'x-pack/platform/test': {
|
||||
group: 'platform',
|
||||
visibility: 'shared',
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue