[8.x] [ci] Set disk size for artifact builds (#197663) (#201893)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Set disk size for artifact builds
(#197663)](https://github.com/elastic/kibana/pull/197663)

<!--- 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":"2024-11-26T23:35:57Z","message":"[ci]
Set disk size for artifact builds (#197663)\n\nDefines disk size for
artifact builds. This will be a no-op - the boot\r\ndisk size is >= the
definitions in this PR.\r\n\r\nA test run with the smaller boot disk can
be seen
in\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/248242. I
plan\r\non making further adjustments after the boot disk has been
promoted.","sha":"316efc71d67ed565b7b6aad2947cb380ac39db1b","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:all-open"],"title":"[ci]
Set disk size for artifact
builds","number":197663,"url":"https://github.com/elastic/kibana/pull/197663","mergeCommit":{"message":"[ci]
Set disk size for artifact builds (#197663)\n\nDefines disk size for
artifact builds. This will be a no-op - the boot\r\ndisk size is >= the
definitions in this PR.\r\n\r\nA test run with the smaller boot disk can
be seen
in\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/248242. I
plan\r\non making further adjustments after the boot disk has been
promoted.","sha":"316efc71d67ed565b7b6aad2947cb380ac39db1b"}},"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/197663","number":197663,"mergeCommit":{"message":"[ci]
Set disk size for artifact builds (#197663)\n\nDefines disk size for
artifact builds. This will be a no-op - the boot\r\ndisk size is >= the
definitions in this PR.\r\n\r\nA test run with the smaller boot disk can
be seen
in\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/248242. I
plan\r\non making further adjustments after the boot disk has been
promoted.","sha":"316efc71d67ed565b7b6aad2947cb380ac39db1b"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
Kibana Machine 2024-11-27 12:28:37 +11:00 committed by GitHub
parent d574eccdd8
commit 316652648c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ steps:
imageProject: elastic-images-prod
provider: gcp
machineType: c2-standard-16
diskSizeGb: 125
timeout_in_minutes: 120
retry:
automatic:

View file

@ -12,6 +12,7 @@ steps:
agents:
machineType: n2-standard-8
preemptible: true
diskSizeGb: 125
key: build
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"
timeout_in_minutes: 90