-
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.
- Loading branch information
Showing
1,573 changed files
with
39,880 additions
and
35,215 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 |
---|---|---|
@@ -1 +1 @@ | ||
1.7.5 | ||
1.10.1 |
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 |
---|---|---|
@@ -1 +1 @@ | ||
4.0.0 | ||
4.2.1 |
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,35 @@ | ||
steps: | ||
- block: ":gear: Performance Tests Configuration" | ||
prompt: "Fill out the details for performance test" | ||
fields: | ||
- text: ":arrows_counterclockwise: Iterations" | ||
key: "performance-test-iteration-count" | ||
hint: "How many times you want to run tests? " | ||
required: true | ||
if: build.env('ITERATION_COUNT_ENV') == null | ||
|
||
- label: ":male-mechanic::skin-tone-2: Pre-Build" | ||
command: .buildkite/scripts/lifecycle/pre_build.sh | ||
|
||
- wait | ||
|
||
- label: ":factory_worker: Build Kibana Distribution and Plugins" | ||
command: .buildkite/scripts/steps/build_kibana.sh | ||
agents: | ||
queue: c2-16 | ||
key: build | ||
|
||
- label: ":muscle: Performance Tests" | ||
command: .buildkite/scripts/steps/functional/performance.sh | ||
agents: | ||
queue: ci-group-6 | ||
depends_on: build | ||
concurrency: 50 | ||
concurrency_group: 'performance-test-group' | ||
|
||
- wait: ~ | ||
continue_on_failure: true | ||
|
||
- label: ":male_superhero::skin-tone-2: Post-Build" | ||
command: .buildkite/scripts/lifecycle/post_build.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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/demo_env/es_and_init.sh | ||
label: Initialize Environment and Deploy ES | ||
timeout_in_minutes: 10 | ||
|
||
- command: .buildkite/scripts/steps/demo_env/kibana.sh | ||
label: Build and Deploy Kibana | ||
agents: | ||
queue: c2-8 | ||
timeout_in_minutes: 60 |
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 was deleted.
Oops, something went wrong.
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,38 @@ | ||
#!/usr/bin/env bash | ||
|
||
source .buildkite/scripts/common/util.sh | ||
|
||
KIBANA_BUILDBUDDY_CI_API_KEY=$(retry 5 5 vault read -field=value secret/kibana-issues/dev/kibana-buildbuddy-ci-api-key) | ||
export KIBANA_BUILDBUDDY_CI_API_KEY | ||
|
||
echo "[bazel] writing .bazelrc" | ||
cat <<EOF > $KIBANA_DIR/.bazelrc | ||
# Generated by .buildkite/scripts/common/setup_bazel.sh | ||
import %workspace%/.bazelrc.common | ||
build --build_metadata=ROLE=CI | ||
EOF | ||
|
||
if [[ "${BAZEL_CACHE_MODE:-none}" == read* ]]; then | ||
echo "[bazel] enabling caching" | ||
cat <<EOF >> $KIBANA_DIR/.bazelrc | ||
build --bes_results_url=https://app.buildbuddy.io/invocation/ | ||
build --bes_backend=grpcs://cloud.buildbuddy.io | ||
build --remote_cache=grpcs://cloud.buildbuddy.io | ||
build --remote_timeout=3600 | ||
build --remote_header=x-buildbuddy-api-key=$KIBANA_BUILDBUDDY_CI_API_KEY | ||
EOF | ||
fi | ||
|
||
if [[ "${BAZEL_CACHE_MODE:-none}" == "read" ]]; then | ||
echo "[bazel] cache set to read-only" | ||
cat <<EOF >> $KIBANA_DIR/.bazelrc | ||
build --noremote_upload_local_results | ||
EOF | ||
fi | ||
|
||
if [[ "${BAZEL_CACHE_MODE:-none}" != @(read|read-write|none|) ]]; then | ||
echo "invalid value for BAZEL_CACHE_MODE received ($BAZEL_CACHE_MODE), expected one of [read,read-write,none]" | ||
exit 1 | ||
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
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,20 @@ | ||
#!/bin/bash | ||
|
||
set -uo pipefail | ||
|
||
if [ -z "${ITERATION_COUNT_ENV+x}" ]; then | ||
ITERATION_COUNT="$(buildkite-agent meta-data get performance-test-iteration-count)" | ||
else | ||
ITERATION_COUNT=$ITERATION_COUNT_ENV | ||
fi | ||
|
||
tput setab 2; tput setaf 0; echo "Performance test will be run at ${BUILDKITE_BRANCH} ${ITERATION_COUNT} times" | ||
|
||
cat << EOF | buildkite-agent pipeline upload | ||
steps: | ||
- command: .buildkite/scripts/steps/functional/performance_sub.sh | ||
parallelism: "$ITERATION_COUNT" | ||
EOF | ||
|
||
|
||
|
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,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source .buildkite/scripts/common/util.sh | ||
|
||
.buildkite/scripts/bootstrap.sh | ||
.buildkite/scripts/download_build_artifacts.sh | ||
|
||
cd "$XPACK_DIR" | ||
|
||
echo --- Run Performance Tests | ||
checks-reporter-with-killswitch "Run Performance Tests" \ | ||
node scripts/functional_tests \ | ||
--debug --bail \ | ||
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \ | ||
--config test/performance/config.ts; |
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.