Skip to content

Commit cafb889

Browse files
authored
Merge branch 'main' into view-in-discover-button
2 parents be99fe8 + c7ef6cf commit cafb889

File tree

2,265 files changed

+135829
-26959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,265 files changed

+135829
-26959
lines changed

.buildkite/ftr_search_serverless_configs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ enabled:
1111
- x-pack/platform/test/serverless/functional/configs/search/config.examples.ts
1212
- x-pack/solutions/search/test/serverless/functional/configs/config.feature_flags.ts
1313
- x-pack/solutions/search/test/serverless/functional/configs/config.screenshots.ts
14+
- x-pack/solutions/search/test/serverless/functional/configs/config.nav_v2.ts
1415
- x-pack/platform/test/serverless/functional/configs/search/config.saved_objects_management.ts
1516
- x-pack/platform/test/serverless/functional/configs/search/config.context_awareness.ts
1617
- x-pack/platform/test/serverless/functional/configs/search/config.config_compat_mode.ts

.buildkite/ftr_search_stateful_configs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ enabled:
77
- x-pack/solutions/search/test/functional_search/config.ts
88
- x-pack/solutions/search/test/functional_search/config/config.search_playground.ts
99
- x-pack/solutions/search/test/functional_search/config/config.feature_flags.ts
10+
- x-pack/solutions/search/test/functional_search/config/config.nav_v2.ts
1011
- x-pack/solutions/search/test/api_integration/apis/search_playground/config.ts
1112
- x-pack/solutions/search/test/functional_solution_sidenav/config.ts
13+
- x-pack/solutions/search/test/functional_solution_sidenav/config.nav_v2.ts
1214
- x-pack/solutions/search/test/accessibility/config.ts
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
2+
apiVersion: backstage.io/v1alpha1
3+
kind: Resource
4+
metadata:
5+
name: bk-kibana-otel-semconv-sync
6+
description: Updates OpenTelemetry semantic conventions and regenerates field metadata
7+
links:
8+
- url: 'https://buildkite.com/elastic/kibana-otel-semconv-sync'
9+
title: Pipeline link
10+
spec:
11+
type: buildkite-pipeline
12+
owner: 'group:obs-ux-logs-team'
13+
system: buildkite
14+
implementation:
15+
apiVersion: buildkite.elastic.dev/v1
16+
kind: Pipeline
17+
metadata:
18+
name: kibana / OpenTelemetry semantic conventions sync
19+
description: Updates OTel semantic conventions and regenerates TypeScript field definitions
20+
spec:
21+
env:
22+
SLACK_NOTIFICATIONS_CHANNEL: '#obs-ux-logs'
23+
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
24+
allow_rebuilds: false
25+
branch_configuration: main
26+
default_branch: main
27+
repository: elastic/kibana
28+
pipeline_file: .buildkite/pipelines/otel_semconv_sync.yml
29+
provider_settings:
30+
build_branches: false
31+
build_pull_requests: false
32+
publish_commit_status: false
33+
trigger_mode: none
34+
build_tags: false
35+
prefix_pull_request_fork_branch_names: false
36+
skip_pull_request_builds_for_existing_commits: true
37+
teams:
38+
obs-ux-logs-team:
39+
access_level: MANAGE_BUILD_AND_READ
40+
kibana-operations:
41+
access_level: MANAGE_BUILD_AND_READ
42+
appex-qa:
43+
access_level: MANAGE_BUILD_AND_READ
44+
kibana-tech-leads:
45+
access_level: MANAGE_BUILD_AND_READ
46+
everyone:
47+
access_level: BUILD_AND_READ
48+
schedules:
49+
Weekly build:
50+
cronline: 0 2 * * 1 America/New_York # Monday 2 AM EST (matches GitHub Actions)
51+
message: Weekly OpenTelemetry semantic conventions sync
52+
branch: main
53+
tags:
54+
- kibana
55+
- observability
56+
- opentelemetry
57+
- obs-ux-logs

.buildkite/pipeline-resource-definitions/locations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ spec:
3232
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-migration-staging.yml
3333
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-on-merge-unsupported-ftrs.yml
3434
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-on-merge.yml
35+
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-otel-semconv-sync.yml
3536
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-package-registry.yml
3637
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-performance-daily.yml
3738
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-performance-data-set-extraction-daily.yml
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
steps:
2+
- command: .buildkite/scripts/steps/otel_semconv_sync.sh
3+
label: OpenTelemetry Semantic Conventions Sync
4+
timeout_in_minutes: 15
5+
agents:
6+
image: family/kibana-ubuntu-2404
7+
imageProject: elastic-images-prod
8+
provider: gcp
9+
machineType: n2-standard-2
10+
preemptible: true
11+
env:
12+
# Docker is available on these agents
13+
DOCKER_REQUIRED: 'true'

.buildkite/pipelines/pull_request/build_project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ steps:
44
agents:
55
machineType: n2-standard-16
66
preemptible: true
7+
diskSizeGb: 150
78
timeout_in_minutes: 60
89
soft_fail: true
910
retry:

.buildkite/pipelines/pull_request/deploy_project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ steps:
55
agents:
66
machineType: n2-standard-16
77
preemptible: true
8+
diskSizeGb: 150
89
timeout_in_minutes: 60
910
retry:
1011
automatic:

.buildkite/pipelines/serverless_deployment/build_pr_and_deploy_project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ steps:
6262
imageProject: elastic-images-prod
6363
machineType: n2-standard-16
6464
preemptible: true
65+
diskSizeGb: 150
6566
timeout_in_minutes: 60
6667
retry:
6768
automatic:

.buildkite/scripts/bootstrap.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ if [[ "$(pwd)" != *"/local-ssd/"* && "$(pwd)" != "/dev/shm"* ]]; then
2323
echo "Using ~/.kibana/.yarn-local-mirror as a starting point"
2424
mv ~/.kibana/.yarn-local-mirror ./
2525
fi
26+
if [[ -d ~/.kibana-moon-cache ]]; then
27+
echo "Using ~/.moon/cache as a starting point"
28+
mkdir -p ./.moon/cache
29+
mv ~/.kibana-moon-cache ./.moon/cache
30+
fi
2631
fi
2732

2833
# TODO: revisit the double bootstrap per attempt after removing Bazel and changing package manager.
@@ -34,11 +39,11 @@ if ! (yarn kbn bootstrap "${BOOTSTRAP_PARAMS[@]}" || yarn kbn bootstrap "${BOOTS
3439
# So, we should just delete node_modules in between attempts
3540
rm -rf node_modules
3641

42+
export MOON_LOG=debug
3743
echo "--- yarn install and bootstrap, attempt 2"
3844
yarn kbn bootstrap --force-install || yarn kbn bootstrap
3945
fi
4046

4147
if [[ "$DISABLE_BOOTSTRAP_VALIDATION" != "true" ]]; then
4248
check_for_changed_files 'yarn kbn bootstrap'
4349
fi
44-

.buildkite/scripts/common/setup_job_env.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,20 @@ EOF
193193
vault_get kibana-ci-sa-proxy-key key | base64 -d > "$KIBANA_SERVICE_ACCOUNT_PROXY_KEY"
194194
}
195195

196+
# Acquire credentials for legacy vault if needed
197+
{
198+
VAULT_ROLE_ID="$(vault_get kibana-buildkite-vault-credentials role-id)"
199+
export VAULT_ROLE_ID
200+
VAULT_SECRET_ID="$(vault_get kibana-buildkite-vault-credentials secret-id)"
201+
export VAULT_SECRET_ID
202+
}
203+
204+
# Inject moon remote-cache credentials on CI
205+
if [[ "${CI:-}" =~ ^(1|true)$ ]]; then
206+
MOON_REMOTE_CACHE_TOKEN=$(vault_get moon-remote-cache token)
207+
export MOON_REMOTE_CACHE_TOKEN
208+
fi
209+
196210
PIPELINE_PRE_COMMAND=${PIPELINE_PRE_COMMAND:-".buildkite/scripts/lifecycle/pipelines/$BUILDKITE_PIPELINE_SLUG/pre_command.sh"}
197211
if [[ -f "$PIPELINE_PRE_COMMAND" ]]; then
198212
source "$PIPELINE_PRE_COMMAND"

0 commit comments

Comments
 (0)