mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.17`: - [[api docs] Stabilize build (#205432)](https://github.com/elastic/kibana/pull/205432) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2025-01-03T01:14:14Z","message":"[api docs] Stabilize build (#205432)\n\nThe API docs build times have become unstable over the last few months,\r\nranging from 45 to 80 minutes before timing out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen the API docs build times out in the on-merge pipeline, or takes\r\nlonger than a pull request build, pull requests based on it will also\r\nfail due to missing baseline metrics. Testing at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821 and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates consistency and time improvements with more memory.\r\n\r\nThis updates the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates 24gb to the node process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[api docs] Stabilize build","number":205432,"url":"https://github.com/elastic/kibana/pull/205432","mergeCommit":{"message":"[api docs] Stabilize build (#205432)\n\nThe API docs build times have become unstable over the last few months,\r\nranging from 45 to 80 minutes before timing out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen the API docs build times out in the on-merge pipeline, or takes\r\nlonger than a pull request build, pull requests based on it will also\r\nfail due to missing baseline metrics. Testing at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821 and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates consistency and time improvements with more memory.\r\n\r\nThis updates the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates 24gb to the node process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205432","number":205432,"mergeCommit":{"message":"[api docs] Stabilize build (#205432)\n\nThe API docs build times have become unstable over the last few months,\r\nranging from 45 to 80 minutes before timing out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen the API docs build times out in the on-merge pipeline, or takes\r\nlonger than a pull request build, pull requests based on it will also\r\nfail due to missing baseline metrics. Testing at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821 and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates consistency and time improvements with more memory.\r\n\r\nThis updates the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates 24gb to the node process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08"}}]}] BACKPORT--> Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
parent
eba5c40e16
commit
476fe86fd2
6 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -126,7 +126,7 @@ steps:
|
|||
image: family/kibana-ubuntu-2004
|
||||
imageProject: elastic-images-prod
|
||||
provider: gcp
|
||||
machineType: n2-standard-4
|
||||
machineType: n2-highmem-4
|
||||
preemptible: true
|
||||
timeout_in_minutes: 80
|
||||
retry:
|
||||
|
|
|
@ -127,7 +127,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
|
||||
key: build_api_docs
|
||||
timeout_in_minutes: 90
|
||||
|
|
|
@ -5,7 +5,7 @@ set -euo pipefail
|
|||
.buildkite/scripts/bootstrap.sh
|
||||
|
||||
echo "--- Build API Docs"
|
||||
node --max-old-space-size=12000 scripts/build_api_docs
|
||||
node --max-old-space-size=24000 scripts/build_api_docs
|
||||
|
||||
if [[ "${PUBLISH_API_DOCS_CHANGES:-}" == "true" ]]; then
|
||||
echo "--- Store API Docs changes in Buildkite"
|
||||
|
|
|
@ -5,4 +5,4 @@ set -euo pipefail
|
|||
source .buildkite/scripts/common/util.sh
|
||||
|
||||
echo --- Building api docs
|
||||
node --max-old-space-size=12000 scripts/build_api_docs
|
||||
node --max-old-space-size=24000 scripts/build_api_docs
|
||||
|
|
|
@ -7,4 +7,4 @@ export DISABLE_BOOTSTRAP_VALIDATION=true
|
|||
.buildkite/scripts/bootstrap.sh
|
||||
|
||||
echo "--- Build API Docs"
|
||||
node --max-old-space-size=12000 scripts/build_api_docs
|
||||
node --max-old-space-size=24000 scripts/build_api_docs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue