2021-09-21 23:26:36 +02:00
|
|
|
env:
|
|
|
|
REPORT_FAILED_TESTS_TO_GITHUB: 'true'
|
2021-09-16 17:28:07 +02:00
|
|
|
steps:
|
|
|
|
- command: .buildkite/scripts/lifecycle/pre_build.sh
|
|
|
|
label: Pre-Build
|
|
|
|
|
|
|
|
- wait
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/build_kibana.sh
|
|
|
|
label: Build Kibana Distribution and Plugins
|
|
|
|
agents:
|
2021-10-02 01:01:42 +02:00
|
|
|
queue: c2-16
|
2021-09-16 17:28:07 +02:00
|
|
|
key: build
|
|
|
|
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/xpack_cigroup.sh
|
|
|
|
label: 'Default CI Group'
|
|
|
|
parallelism: 13
|
|
|
|
agents:
|
|
|
|
queue: ci-group-6
|
|
|
|
depends_on: build
|
2021-09-20 22:29:00 +02:00
|
|
|
timeout_in_minutes: 150
|
2021-09-16 17:28:07 +02:00
|
|
|
key: default-cigroup
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: CI_GROUP=Docker .buildkite/scripts/steps/functional/xpack_cigroup.sh
|
|
|
|
label: 'Docker CI Group'
|
|
|
|
agents:
|
|
|
|
queue: ci-group-6
|
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
key: default-cigroup-docker
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/oss_cigroup.sh
|
|
|
|
label: 'OSS CI Group'
|
|
|
|
parallelism: 11
|
|
|
|
agents:
|
|
|
|
queue: ci-group-4d
|
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
key: oss-cigroup
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/oss_accessibility.sh
|
|
|
|
label: 'OSS Accessibility Tests'
|
|
|
|
agents:
|
|
|
|
queue: ci-group-4d
|
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/xpack_accessibility.sh
|
|
|
|
label: 'Default Accessibility Tests'
|
|
|
|
agents:
|
|
|
|
queue: ci-group-6
|
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/oss_firefox.sh
|
|
|
|
label: 'OSS Firefox Tests'
|
|
|
|
agents:
|
|
|
|
queue: ci-group-4d
|
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/xpack_firefox.sh
|
|
|
|
label: 'Default Firefox Tests'
|
|
|
|
agents:
|
|
|
|
queue: ci-group-6
|
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/oss_misc.sh
|
|
|
|
label: 'OSS Misc Functional Tests'
|
|
|
|
agents:
|
2021-10-05 03:08:01 +02:00
|
|
|
queue: ci-group-6
|
2021-09-16 17:28:07 +02:00
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/functional/xpack_saved_object_field_metrics.sh
|
|
|
|
label: 'Saved Object Field Metrics'
|
|
|
|
agents:
|
|
|
|
queue: ci-group-6
|
|
|
|
depends_on: build
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
retry:
|
|
|
|
automatic:
|
|
|
|
- exit_status: '*'
|
|
|
|
limit: 1
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/test/jest_integration.sh
|
|
|
|
label: 'Jest Integration Tests'
|
|
|
|
agents:
|
2021-09-21 17:30:20 +02:00
|
|
|
queue: n2-4
|
2021-09-16 17:28:07 +02:00
|
|
|
timeout_in_minutes: 120
|
|
|
|
key: jest-integration
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/test/api_integration.sh
|
|
|
|
label: 'API Integration Tests'
|
|
|
|
agents:
|
2021-09-21 17:30:20 +02:00
|
|
|
queue: n2-2
|
2021-09-16 17:28:07 +02:00
|
|
|
timeout_in_minutes: 120
|
|
|
|
key: api-integration
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/test/jest.sh
|
|
|
|
label: 'Jest Tests'
|
|
|
|
agents:
|
|
|
|
queue: c2-16
|
|
|
|
timeout_in_minutes: 120
|
|
|
|
key: jest
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/lint.sh
|
|
|
|
label: 'Linting'
|
|
|
|
agents:
|
|
|
|
queue: n2-2
|
|
|
|
key: linting
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/checks.sh
|
|
|
|
label: 'Checks'
|
|
|
|
agents:
|
|
|
|
queue: c2-4
|
|
|
|
key: checks
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/steps/storybooks/build_and_upload.sh
|
|
|
|
label: 'Build Storybooks'
|
|
|
|
agents:
|
|
|
|
queue: c2-4
|
|
|
|
key: storybooks
|
|
|
|
|
|
|
|
- wait: ~
|
|
|
|
continue_on_failure: true
|
|
|
|
|
|
|
|
- command: .buildkite/scripts/lifecycle/post_build.sh
|
|
|
|
label: Post-Build
|