Skip to content

Commit

Permalink
Merge branch 'main' of github.com:elastic/kibana into onboarding-stac…
Browse files Browse the repository at this point in the history
…k-add-plugin
  • Loading branch information
yansavitski committed Jan 5, 2025
2 parents befb4b4 + 211d4a6 commit 7c37136
Show file tree
Hide file tree
Showing 16,283 changed files with 149,055 additions and 178,185 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 7 additions & 8 deletions .buildkite/ftr_oblt_stateful_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ disabled:
- x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts
- x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts
- x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config_run.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts
- x-pack/plugins/observability_solution/inventory/e2e/ftr_config_run.ts
- x-pack/plugins/observability_solution/inventory/e2e/ftr_config.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config_open.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config_runner.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config_run.ts
- x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/inventory/e2e/ftr_config_run.ts
- x-pack/solutions/observability/plugins/inventory/e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_open.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_runner.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config.ts

#FTR configs
- x-pack/solutions/observability/plugins/uptime/e2e/config.ts
Expand Down Expand Up @@ -38,7 +38,6 @@ enabled:
- x-pack/test/apm_api_integration/rules/config.ts
- x-pack/test/apm_api_integration/trial/config.ts
- x-pack/test/dataset_quality_api_integration/basic/config.ts
- x-pack/test/functional/apps/observability_logs_explorer/config.ts
- x-pack/test/functional/apps/dataset_quality/config.ts
- x-pack/test/functional/apps/slo/embeddables/config.ts
- x-pack/test/functional/apps/uptime/config.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: bk-kibana-package-registry-promote
name: bk-kibana-package-registry-verify-and-promote
description: Promote package-registry/distribution:lite
links:
- url: 'https://buildkite.com/elastic/kibana-package-registry-promote'
- url: 'https://buildkite.com/elastic/kibana-package-registry-verify-and-promote'
title: Pipeline link
spec:
type: buildkite-pipeline
Expand All @@ -15,18 +15,22 @@ spec:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: kibana / package registry promote
description: Promote package-registry/distribution:lite
name: kibana / package registry verify and promote
description: Verify and promote docker.elastic.co/package-registry/distribution:lite
spec:
env:
SLACK_NOTIFICATIONS_CHANNEL: "#kibana-operations-alerts"
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "false"
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
REPORT_FAILED_TESTS_TO_GITHUB: 'true'
repository: elastic/kibana
branch_configuration: main
default_branch: main
pipeline_file: ".buildkite/pipelines/fleet/package_registry.yml"
provider_settings:
trigger_mode: none
schedules:
Daily promotion:
cronline: 0 22 * * * America/New_York
teams:
everyone:
access_level: BUILD_AND_READ
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipeline-resource-definitions/kibana-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
spec:
env:
ELASTIC_PR_COMMENTS_ENABLED: 'true'
GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
ELASTIC_GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
GITHUB_BUILD_COMMIT_STATUS_CONTEXT: kibana-ci
allow_rebuilds: true
branch_configuration: ''
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipelines/build_api_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ steps:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-4
machineType: n2-highmem-4
preemptible: true
key: build_api_docs
timeout_in_minutes: 50
Expand Down
12 changes: 6 additions & 6 deletions .buildkite/pipelines/chrome_forward_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -153,7 +153,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 2
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -181,7 +181,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 4
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -209,7 +209,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 3
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -265,7 +265,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'
Expand All @@ -279,7 +279,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 8
retry:
automatic:
- exit_status: '-1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ steps:
preemptible: true
depends_on: build
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: "-1"
Expand Down Expand Up @@ -175,7 +175,7 @@ steps:
preemptible: true
depends_on: build
timeout_in_minutes: 60
parallelism: 2
parallelism: 4
retry:
automatic:
- exit_status: "-1"
Expand Down
106 changes: 105 additions & 1 deletion .buildkite/pipelines/fleet/package_registry.yml
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-workflows-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
14 changes: 7 additions & 7 deletions .buildkite/pipelines/on_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ steps:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-4
machineType: n2-highmem-4
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 80
Expand Down Expand Up @@ -218,7 +218,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -278,7 +278,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 2
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -308,7 +308,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 4
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -338,7 +338,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 3
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -398,7 +398,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'
Expand All @@ -413,7 +413,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 8
retry:
automatic:
- exit_status: '-1'
Expand Down
12 changes: 6 additions & 6 deletions .buildkite/pipelines/pointer_compression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -162,7 +162,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 2
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -196,7 +196,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 4
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -230,7 +230,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 3
retry:
automatic:
- exit_status: '-1'
Expand Down Expand Up @@ -298,7 +298,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'
Expand All @@ -315,7 +315,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 8
retry:
automatic:
- exit_status: '-1'
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipelines/pull_request/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ steps:
- command: .buildkite/scripts/steps/api_docs/build_api_docs.sh
label: 'Build API Docs'
agents:
machineType: n2-standard-4
machineType: n2-highmem-4
preemptible: true
diskSizeGb: 75
key: build_api_docs
Expand Down
Loading

0 comments on commit 7c37136

Please sign in to comment.