-
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 move-uptime-rule-params
- Loading branch information
Showing
10,138 changed files
with
29,502 additions
and
26,653 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,2 +1,106 @@ | ||
env: | ||
IGNORE_SHIP_CI_STATS_ERROR: 'true' | ||
steps: | ||
- command: echo "Placeholder" | ||
- command: .buildkite/scripts/lifecycle/pre_build.sh | ||
label: Pre-Build | ||
timeout_in_minutes: 10 | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-prod | ||
provider: gcp | ||
machineType: n2-standard-2 | ||
|
||
- wait | ||
|
||
- command: .buildkite/scripts/steps/build_kibana.sh | ||
label: Build Kibana Distribution | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-prod | ||
provider: gcp | ||
machineType: n2-standard-8 | ||
preemptible: true | ||
key: build | ||
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''" | ||
timeout_in_minutes: 60 | ||
retry: | ||
automatic: | ||
- exit_status: '-1' | ||
limit: 3 | ||
|
||
- command: .buildkite/scripts/steps/test/pick_test_group_run_order.sh | ||
label: 'Pick Test Group Run Order' | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-prod | ||
provider: gcp | ||
machineType: n2-standard-2 | ||
timeout_in_minutes: 10 | ||
env: | ||
JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/test/jest.sh' | ||
JEST_INTEGRATION_SCRIPT: '.buildkite/scripts/steps/test/jest_integration.sh' | ||
FTR_CONFIGS_SCRIPT: '.buildkite/scripts/steps/test/ftr_configs.sh' | ||
LIMIT_CONFIG_TYPE: integration,functional | ||
retry: | ||
automatic: | ||
- exit_status: '*' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/defend_workflows.sh | ||
label: 'Defend Workflows Cypress Tests' | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-prod | ||
provider: gcp | ||
enableNestedVirtualization: true | ||
machineType: n2-standard-4 | ||
timeout_in_minutes: 60 | ||
parallelism: 20 | ||
key: defend-workflows-stateful | ||
depends_on: build | ||
retry: | ||
automatic: | ||
- exit_status: '-1' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/functional/defend_workflows_serverless.sh | ||
label: 'Defend Workflows Cypress Tests on Serverless' | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-prod | ||
provider: gcp | ||
enableNestedVirtualization: true | ||
machineType: n2-standard-4 | ||
timeout_in_minutes: 60 | ||
parallelism: 14 | ||
key: defend-workflows-serverless | ||
depends_on: build | ||
retry: | ||
automatic: | ||
- exit_status: '-1' | ||
limit: 1 | ||
|
||
- command: .buildkite/scripts/steps/fleet/promote_package_registry.sh | ||
label: Promote docker.elastic.co/package-registry/distribution:lite | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-prod | ||
provider: gcp | ||
machineType: n2-standard-2 | ||
depends_on: | ||
- ftr-configs | ||
- jest-integration | ||
- defend-worfklows-stateful | ||
- defend-workflows-serverless | ||
|
||
- wait: ~ | ||
continue_on_failure: true | ||
|
||
- command: .buildkite/scripts/lifecycle/post_build.sh | ||
label: Post-Build | ||
timeout_in_minutes: 10 | ||
agents: | ||
image: family/kibana-ubuntu-2004 | ||
imageProject: elastic-images-prod | ||
provider: gcp | ||
machineType: n2-standard-2 |
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
22 changes: 22 additions & 0 deletions
22
.buildkite/scripts/steps/fleet/promote_package_registry.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
PACKAGE_REGISTRY_BASE_IMAGE='docker.elastic.co/package-registry/distribution:lite' | ||
PACKAGE_REGISTRY_TARGET_IMAGE='docker.elastic.co/kibana-ci/package-registry-distribution:lite' | ||
|
||
if [[ "$BUILDKITE_BRANCH" == "main" ]]; then | ||
docker buildx imagetools create -t "$PACKAGE_REGISTRY_TARGET_IMAGE" "$PACKAGE_REGISTRY_BASE_IMAGE" | ||
cat << EOF | buildkite-agent pipeline upload | ||
steps: | ||
- label: "Update cache for EPR image" | ||
trigger: kibana-vm-images | ||
async: true | ||
build: | ||
env: | ||
IMAGES_CONFIG: "kibana/images.yml" | ||
RETRY: "1" | ||
EOF | ||
else | ||
echo "Skipping promotion for untracked branch $BUILDKITE_BRANCH" | ||
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
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
Oops, something went wrong.