Skip to content

Commit f343b5d

Browse files
authored
Merge branch 'main' into security/genai/conversations/bulk-update-conflicts
2 parents 562a440 + 83e1bdb commit f343b5d

File tree

725 files changed

+104406
-13392
lines changed

Some content is hidden

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

725 files changed

+104406
-13392
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/common/setup_job_env.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ 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+
196204
# Inject moon remote-cache credentials on CI
197205
if [[ "${CI:-}" =~ ^(1|true)$ ]]; then
198206
MOON_REMOTE_CACHE_TOKEN=$(vault_get moon-remote-cache token)

.buildkite/scripts/common/vault_fns.sh

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,33 +67,11 @@ vault_kv_set() {
6767
vault kv put "$VAULT_KV_PREFIX/$kv_path" "${fields[@]}"
6868
}
6969

70-
function get_vault_role_id() {
71-
if [[ "$IS_LEGACY_VAULT_ADDR" == "true" ]]; then
72-
VAULT_ROLE_ID="$(retry 5 15 gcloud secrets versions access latest --secret=kibana-buildkite-vault-role-id)"
73-
else
74-
VAULT_ROLE_ID="$(vault_get kibana-buildkite-vault-credentials role-id)"
75-
fi
76-
77-
echo "$VAULT_ROLE_ID"
78-
}
79-
80-
function get_vault_secret_id() {
81-
if [[ "$IS_LEGACY_VAULT_ADDR" == "true" ]]; then
82-
VAULT_SECRET_ID="$(retry 5 15 gcloud secrets versions access latest --secret=kibana-buildkite-vault-secret-id)"
83-
else
84-
VAULT_SECRET_ID="$(vault_get kibana-buildkite-vault-credentials secret-id)"
85-
fi
86-
87-
echo "$VAULT_SECRET_ID"
88-
}
89-
9070
function set_in_legacy_vault() {
9171
key_path=$1
9272
shift
9373
fields=("$@")
9474

95-
VAULT_ROLE_ID="$(get_vault_role_id)"
96-
VAULT_SECRET_ID="$(get_vault_secret_id)"
9775
VAULT_TOKEN_BAK="$VAULT_TOKEN"
9876

9977
# Make sure to either keep this variable name `VAULT_TOKEN` or unset `VAULT_TOKEN`,
@@ -115,8 +93,6 @@ function set_in_legacy_vault() {
11593
function unset_in_legacy_vault() {
11694
key_path=$1
11795

118-
VAULT_ROLE_ID="$(get_vault_role_id)"
119-
VAULT_SECRET_ID="$(get_vault_secret_id)"
12096
VAULT_TOKEN_BAK="$VAULT_TOKEN"
12197

12298
# Make sure to either keep this variable name `VAULT_TOKEN` or unset `VAULT_TOKEN`,

0 commit comments

Comments
 (0)