-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/deprecate-disableable-plugins
- Loading branch information
Showing
739 changed files
with
9,691 additions
and
5,209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
.buildkite/scripts/lifecycle/post_command.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
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: | ||
queue: c2-8 | ||
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 | ||
timeout_in_minutes: 120 | ||
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: | ||
queue: ci-group-4d | ||
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: | ||
queue: jest | ||
timeout_in_minutes: 120 | ||
key: jest-integration | ||
|
||
- command: .buildkite/scripts/steps/test/api_integration.sh | ||
label: 'API Integration Tests' | ||
agents: | ||
queue: jest | ||
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 | ||
|
||
- plugins: | ||
- junit-annotate#v1.9.0: | ||
artifacts: target/junit/**/*.xml | ||
job-uuid-file-pattern: '-bk__(.*).xml' | ||
|
||
- wait: ~ | ||
continue_on_failure: true | ||
|
||
- command: .buildkite/scripts/lifecycle/post_build.sh | ||
label: Post-Build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
IS_TEST_EXECUTION_STEP="$(buildkite-agent meta-data get "${BUILDKITE_JOB_ID}_is_test_execution_step" --default '')" | ||
|
||
if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then | ||
buildkite-agent artifact upload 'target/junit/**/*' | ||
buildkite-agent artifact upload 'target/kibana-*' | ||
buildkite-agent artifact upload 'target/kibana-coverage/jest/**/*' | ||
buildkite-agent artifact upload 'target/kibana-security-solution/**/*.png' | ||
buildkite-agent artifact upload 'target/test-metrics/*' | ||
buildkite-agent artifact upload 'target/test-suites-ci-plan.json' | ||
buildkite-agent artifact upload 'test/**/screenshots/diff/*.png' | ||
buildkite-agent artifact upload 'test/**/screenshots/failure/*.png' | ||
buildkite-agent artifact upload 'test/**/screenshots/session/*.png' | ||
buildkite-agent artifact upload 'test/functional/failure_debug/html/*.html' | ||
buildkite-agent artifact upload 'x-pack/test/**/screenshots/diff/*.png' | ||
buildkite-agent artifact upload 'x-pack/test/**/screenshots/failure/*.png' | ||
buildkite-agent artifact upload 'x-pack/test/**/screenshots/session/*.png' | ||
buildkite-agent artifact upload 'x-pack/test/functional/apps/reporting/reports/session/*.pdf' | ||
buildkite-agent artifact upload 'x-pack/test/functional/failure_debug/html/*.html' | ||
buildkite-agent artifact upload '.es/**/*.hprof' | ||
|
||
# TODO - re-enable when Jenkins is disabled | ||
# node scripts/report_failed_tests --build-url="${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}" 'target/junit/**/*.xml' | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.