-
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 'main' into issues/113737
# Conflicts: # .i18nrc.json
- Loading branch information
Showing
1,242 changed files
with
53,486 additions
and
618,339 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
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 @@ | ||
steps: | ||
- command: .buildkite/scripts/steps/package_testing/build.sh | ||
label: Build Packages | ||
agents: | ||
queue: c2-16 | ||
timeout_in_minutes: 60 | ||
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''" | ||
|
||
- wait | ||
|
||
- command: TEST_PACKAGE=deb .buildkite/scripts/steps/package_testing/test.sh | ||
label: Package testing for deb | ||
agents: | ||
queue: n2-4-virt | ||
timeout_in_minutes: 60 | ||
|
||
- command: TEST_PACKAGE=rpm .buildkite/scripts/steps/package_testing/test.sh | ||
label: Package testing for rpm | ||
agents: | ||
queue: n2-4-virt | ||
timeout_in_minutes: 60 | ||
|
||
- command: TEST_PACKAGE=docker .buildkite/scripts/steps/package_testing/test.sh | ||
label: Package testing for docker | ||
agents: | ||
queue: n2-4-virt | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ steps: | |
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
artifact_paths: | ||
- "target/kibana-osquery/**/*" |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
.buildkite/scripts/bootstrap.sh | ||
|
||
echo "--- Build Kibana Distribution" | ||
node scripts/build --all-platforms --debug --skip-docker-cloud --skip-docker-ubi --skip-docker-contexts | ||
|
||
cd target | ||
buildkite-agent artifact upload "./*-docker-image.tar.gz;./*.deb;./*.rpm" | ||
cd .. |
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,39 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
.buildkite/scripts/bootstrap.sh | ||
|
||
echo "--- Package Testing for $TEST_PACKAGE" | ||
|
||
mkdir -p target | ||
cd target | ||
if [[ "$TEST_PACKAGE" == "deb" ]]; then | ||
buildkite-agent artifact download 'kibana-*.deb' . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" | ||
KIBANA_IP_ADDRESS="192.168.50.5" | ||
elif [[ "$TEST_PACKAGE" == "rpm" ]]; then | ||
buildkite-agent artifact download 'kibana-*.rpm' . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" | ||
KIBANA_IP_ADDRESS="192.168.50.6" | ||
elif [[ "$TEST_PACKAGE" == "docker" ]]; then | ||
buildkite-agent artifact download 'kibana-*-docker-image.tar.gz' . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" | ||
KIBANA_IP_ADDRESS="192.168.50.7" | ||
fi | ||
cd .. | ||
|
||
export VAGRANT_CWD=test/package | ||
vagrant up "$TEST_PACKAGE" --no-provision | ||
|
||
node scripts/es snapshot \ | ||
-E network.bind_host=127.0.0.1,192.168.50.1 \ | ||
-E discovery.type=single-node \ | ||
--license=trial & | ||
while ! timeout 1 bash -c "echo > /dev/tcp/localhost/9200"; do sleep 30; done | ||
|
||
vagrant provision "$TEST_PACKAGE" | ||
|
||
export TEST_BROWSER_HEADLESS=1 | ||
export TEST_KIBANA_URL="http://elastic:changeme@$KIBANA_IP_ADDRESS:5601" | ||
export TEST_ES_URL=http://elastic:[email protected]:9200 | ||
|
||
cd x-pack | ||
node scripts/functional_test_runner.js --include-tag=smoke |
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
Validating CODEOWNERS rules …
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 |
---|---|---|
|
@@ -39,6 +39,3 @@ jobs: | |
github_token: ${{secrets.KIBANAMACHINE_TOKEN}} | ||
commit_user: kibanamachine | ||
commit_email: [email protected] | ||
auto_merge: 'true' | ||
auto_merge_method: 'squash' | ||
manual_backport_command_template: 'node scripts/backport --pr %pullNumber%' |
Oops, something went wrong.