Skip to content

Commit 301a429

Browse files
committed
Merge branch 'main' into younesmln-kibana-config-for-max-number-of-services-per-service-group
2 parents f72c1a1 + c1081c6 commit 301a429

File tree

2,040 files changed

+73410
-30410
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,040 files changed

+73410
-30410
lines changed

.backportrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"repoName": "kibana",
44
"targetBranchChoices": [
55
"main",
6+
"8.3",
67
"8.2",
78
"8.1",
89
"8.0",
@@ -39,7 +40,7 @@
3940
"backport"
4041
],
4142
"branchLabelMapping": {
42-
"^v8.3.0$": "main",
43+
"^v8.4.0$": "main",
4344
"^v(\\d+).(\\d+).\\d+$": "$1.$2"
4445
},
4546
"autoMerge": true,

.buildkite/package-lock.json

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.buildkite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"version": "1.0.0",
44
"private": true,
55
"dependencies": {
6-
"kibana-buildkite-library": "git+https://[email protected]/elastic/kibana-buildkite-library#ae4994aba5f2e72edcc5914e2aa208086e4b7ea3"
6+
"kibana-buildkite-library": "git+https://[email protected]/elastic/kibana-buildkite-library#4ecaba35293fb635cf92ca205ee84fca52f19e2e"
77
}
88
}

.buildkite/pipelines/artifacts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ steps:
5353

5454
- command: KIBANA_DOCKER_CONTEXT=cloud .buildkite/scripts/steps/artifacts/docker_context.sh
5555
label: 'Docker Context Verification'
56+
soft_fail: true
5657
agents:
5758
queue: n2-2
5859
timeout_in_minutes: 30
@@ -74,6 +75,7 @@ steps:
7475

7576
- command: .buildkite/scripts/steps/artifacts/cloud.sh
7677
label: 'Cloud Deployment'
78+
soft_fail: true
7779
agents:
7880
queue: n2-2
7981
timeout_in_minutes: 30
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
steps:
2+
- command: .buildkite/scripts/lifecycle/pre_build.sh
3+
label: Pre-Build
4+
timeout_in_minutes: 10
5+
agents:
6+
queue: kibana-default
7+
8+
- wait
9+
10+
- command: .buildkite/scripts/steps/test/pick_test_group_run_order.sh
11+
label: 'Pick Test Group Run Order'
12+
agents:
13+
queue: kibana-default
14+
env:
15+
FTR_CONFIGS_DEPS: ''
16+
LIMIT_CONFIG_TYPE: 'unit,functional,integration'
17+
JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/code_coverage/jest.sh'
18+
JEST_INTEGRATION_SCRIPT: '.buildkite/scripts/steps/code_coverage/jest_integration.sh'
19+
FTR_CONFIGS_SCRIPT: '.buildkite/scripts/steps/code_coverage/ftr_configs.sh'
20+
21+
- command: .buildkite/scripts/steps/code_coverage/ingest.sh
22+
label: 'Merge and Ingest'
23+
agents:
24+
queue: c2-16
25+
depends_on:
26+
- jest
27+
- jest-integration
28+
- ftr-configs
29+
timeout_in_minutes: 30
30+
key: ingest

.buildkite/pipelines/es_snapshots/promote.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ steps:
1212
command: .buildkite/scripts/steps/es_snapshots/promote.sh
1313
agents:
1414
queue: kibana-default
15+
- wait
16+
- trigger: kibana-agent-packer-cache
17+
async: true
18+
branches: main

.buildkite/pull_requests.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"skip_ci_labels": ["skip-ci", "jenkins-ci"],
1919
"skip_target_branches": ["6.8", "7.11", "7.12"],
2020
"skip_ci_on_only_changed": [
21+
"^dev_docs/",
2122
"^docs/",
2223
"^rfcs/",
2324
"^.ci/.+\\.yml$",
@@ -26,6 +27,7 @@
2627
"^.ci/Jenkinsfile_[^/]+$",
2728
"^\\.github/",
2829
"\\.md$",
30+
"\\.mdx$",
2931
"^\\.backportrc\\.json$",
3032
"^nav-kibana-dev\\.docnav\\.json$",
3133
"^src/dev/prs/kibana_qa_pr_list\\.json$",

.buildkite/scripts/common/env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export KIBANA_DIR
77
export XPACK_DIR="$KIBANA_DIR/x-pack"
88

99
export CACHE_DIR="$HOME/.kibana"
10+
export ES_CACHE_DIR="$HOME/.es-snapshot-cache"
1011
PARENT_DIR="$(cd "$KIBANA_DIR/.."; pwd)"
1112
export PARENT_DIR
1213
export WORKSPACE="${WORKSPACE:-$PARENT_DIR}"

.buildkite/scripts/packer_cache.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@ source .buildkite/scripts/common/util.sh
66
source .buildkite/scripts/common/env.sh
77
source .buildkite/scripts/common/setup_node.sh
88

9+
export FORCE_BOOTSTRAP_REMOTE_CACHE=true
10+
911
yarn kbn bootstrap
12+
13+
for version in $(cat versions.json | jq -r '.versions[].version'); do
14+
node scripts/es snapshot --download-only --base-path "$ES_CACHE_DIR" --version "$version"
15+
done

.buildkite/scripts/steps/artifacts/cloud.sh

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,22 @@ set -euo pipefail
66

77
source .buildkite/scripts/steps/artifacts/env.sh
88

9-
echo "--- Publish Cloud image"
9+
echo "--- Build and publish Cloud image"
1010
mkdir -p target
11-
cd target
1211

13-
buildkite-agent artifact download "kibana-cloud-$FULL_VERSION-docker-image.tar.gz" . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
14-
docker load --input kibana-cloud-$FULL_VERSION-docker-image.tar.gz
12+
buildkite-agent artifact download "kibana-$FULL_VERSION-linux-x86_64.tar.gz" ./target --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
13+
14+
node scripts/build \
15+
--skip-initialize \
16+
--skip-generic-folders \
17+
--skip-platform-folders \
18+
--skip-archives \
19+
--docker-images \
20+
--skip-docker-ubi \
21+
--skip-docker-ubuntu \
22+
--skip-docker-contexts
23+
24+
docker load --input target/kibana-cloud-$FULL_VERSION-docker-image.tar.gz
1525

1626
TAG="$FULL_VERSION-$GIT_COMMIT"
1727
KIBANA_BASE_IMAGE="docker.elastic.co/kibana-ci/kibana-cloud:$FULL_VERSION"
@@ -25,8 +35,6 @@ trap 'docker logout docker.elastic.co' EXIT
2535
docker push "$KIBANA_TEST_IMAGE"
2636
docker logout docker.elastic.co
2737

28-
cd -
29-
3038
echo "--- Create deployment"
3139
CLOUD_DEPLOYMENT_NAME="kibana-artifacts-$TAG"
3240

0 commit comments

Comments
 (0)