kibana/.buildkite
Paul Tavares 807856abd2
[Security Solution][Endpoint] Combine the Endpoint management cypress test suites into a single configuration/run (#166757)
## Summary

- Combines the `endpoint` and `mocked_data` tests suites so that they
run from the same cypress configuration/run buildkite setup
- Moved test files from the `endpoint/` and `mocked_data/` directories
into new sub-directories that more closely describe the set of tests
they contain
- The `security_solution/package.json` file was updated so that the
following `scripts` will now output a warning indicating that command is
no longer valid:
    - `cypress:dw:endpoint`
    - `cypress:dw:endpoint:run`
    - `cypress:dw:endpoint:open`


The following npm/yarn commands remain available for running tests
locally:

```shell
yarn --cwd=x-pack/plugins/security_solution cypress:dw:open
``` 

```shell
yarn --cwd=x-pack/plugins/security_solution cypress:dw:run
```


New test file struncture:

<img width="415" alt="image"
src="0cb4bc76-b434-4219-b73e-508645201a81">
2023-09-20 14:38:29 -04:00
..
hooks [Ops] Skip buildkite hooks for non kibana jobs (#165597) 2023-09-04 09:29:16 -07:00
pipeline-utils [Build Kite][Code Coverage] Drop ftr_run_order.json (#151114) 2023-02-22 11:39:06 +00:00
pipelines [Security Solution][Endpoint] Combine the Endpoint management cypress test suites into a single configuration/run (#166757) 2023-09-20 14:38:29 -04:00
scripts [Security Solution][Endpoint] Combine the Endpoint management cypress test suites into a single configuration/run (#166757) 2023-09-20 14:38:29 -04:00
.mocharc.json [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
.npmrc [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
disabled_jest_configs.json [Watcher] Re-enable jest tests (#162592) 2023-08-09 13:17:07 -04:00
ftr_configs.yml [Defend Workflows] Add tags for mocked and real Endpoint Cypress tests for Serverless (#165094) 2023-09-20 10:36:11 +02:00
package-lock.json Upgrade Node.js from v16.18.1 to v18.13.0 (#144012) 2023-01-17 21:04:23 +01:00
package.json Upgrade Node.js from v16.18.1 to v18.13.0 (#144012) 2023-01-17 21:04:23 +01:00
pull_requests.json Add temporary test pipeline for KME test (#157334) 2023-05-10 17:16:49 -04:00
README.md [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
tsconfig.json Implement package linter (#148496) 2023-01-09 16:49:29 -07:00
tsconfig.test.json [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00

Kibana / Buildkite

Directory Structure

  • hooks - special directory used by Buildkite agents for hooks
  • pipeline-utils - Shared TypeScript utils for use in pipeline scripts
  • pipelines - contains pipeline definitions
  • scripts/common - scripts that get sourced by other scripts to set environment variables or import shared functions
  • scripts/lifecycle - general scripts for tasks that run before or after individual steps or the entire build
  • scripts/steps - scripts that define something that will run for a step defined in a pipeline
  • scripts/* - all other scripts are building blocks that make up the tasks in pipelines. They may be run by other scripts, but should not be sourced