Skip to content

[9.0] [ci] Trigger VM image rebuild for cache rebuild only (#213497)#213697

Merged
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-213497
Mar 10, 2025
Merged

[9.0] [ci] Trigger VM image rebuild for cache rebuild only (#213497)#213697
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-213497

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

## Summary
When VM image rebuild is triggered after ES promotion, only the cache
warmup should be built.

This PR also separates the daily full build to a daily base + cache
build (in case ES promotions are failing for some reason, we should
still have a daily cache refresh).

Requires: elastic/ci-agent-images#1295

With this, we'd run a daily base image build and cache build (~40m +
25m) + cache warmups for every promotion (~4x 25m) instead of a full
build and promotion per build (~4x 55m). Ultimately not that much of a
gain 🤷 (4*55=220m => 40+5x25=165m)

(cherry picked from commit 830dbd4)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 10, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 10, 2025 10:02
@kibanamachine kibanamachine merged commit e3b7db6 into elastic:9.0 Mar 10, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #7 / EQL execution logic API @ess @serverless @serverlessQA EQL type rules parses shard failures for EQL event query

Metrics [docs]

✅ unchanged

cc @delanni

delanni added a commit that referenced this pull request Mar 10, 2025
…213719)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Trigger VM image rebuild for cache rebuild only
(#213497)](#213497)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T09:56:15Z","message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","skip-ci","backport:prev-minor","backport:prev-major","v9.1.0"],"title":"[ci]
Trigger VM image rebuild for cache rebuild
only","number":213497,"url":"https://github.com/elastic/kibana/pull/213497","mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213697","number":213697,"state":"MERGED","mergeCommit":{"sha":"e3b7db6f446a8daedb965cbe0f6823c91747c10c","message":"[9.0]
[ci] Trigger VM image rebuild for cache rebuild only (#213497)
(#213697)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [[ci] Trigger VM image rebuild for cache rebuild
only\n(#213497)](https://github.com/elastic/kibana/pull/213497)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213497","number":213497,"mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}}]}]
BACKPORT-->
delanni added a commit that referenced this pull request Mar 10, 2025
…#213721)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[ci] Trigger VM image rebuild for cache rebuild only
(#213497)](#213497)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T09:56:15Z","message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","skip-ci","backport:prev-minor","backport:prev-major","v9.1.0"],"title":"[ci]
Trigger VM image rebuild for cache rebuild
only","number":213497,"url":"https://github.com/elastic/kibana/pull/213497","mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213697","number":213697,"state":"MERGED","mergeCommit":{"sha":"e3b7db6f446a8daedb965cbe0f6823c91747c10c","message":"[9.0]
[ci] Trigger VM image rebuild for cache rebuild only (#213497)
(#213697)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [[ci] Trigger VM image rebuild for cache rebuild
only\n(#213497)](https://github.com/elastic/kibana/pull/213497)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213497","number":213497,"mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}}]}]
BACKPORT-->
delanni added a commit that referenced this pull request Mar 10, 2025
…#213722)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[ci] Trigger VM image rebuild for cache rebuild only
(#213497)](#213497)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T09:56:15Z","message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","skip-ci","backport:prev-minor","backport:prev-major","v9.1.0"],"title":"[ci]
Trigger VM image rebuild for cache rebuild
only","number":213497,"url":"https://github.com/elastic/kibana/pull/213497","mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213697","number":213697,"state":"MERGED","mergeCommit":{"sha":"e3b7db6f446a8daedb965cbe0f6823c91747c10c","message":"[9.0]
[ci] Trigger VM image rebuild for cache rebuild only (#213497)
(#213697)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [[ci] Trigger VM image rebuild for cache rebuild
only\n(#213497)](https://github.com/elastic/kibana/pull/213497)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213497","number":213497,"mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}}]}]
BACKPORT-->
delanni added a commit that referenced this pull request Mar 10, 2025
…#213723)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[ci] Trigger VM image rebuild for cache rebuild only
(#213497)](#213497)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T09:56:15Z","message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","skip-ci","backport:prev-minor","backport:prev-major","v9.1.0"],"title":"[ci]
Trigger VM image rebuild for cache rebuild
only","number":213497,"url":"https://github.com/elastic/kibana/pull/213497","mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213697","number":213697,"state":"MERGED","mergeCommit":{"sha":"e3b7db6f446a8daedb965cbe0f6823c91747c10c","message":"[9.0]
[ci] Trigger VM image rebuild for cache rebuild only (#213497)
(#213697)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [[ci] Trigger VM image rebuild for cache rebuild
only\n(#213497)](https://github.com/elastic/kibana/pull/213497)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213497","number":213497,"mergeCommit":{"message":"[ci]
Trigger VM image rebuild for cache rebuild only (#213497)\n\n##
Summary\nWhen VM image rebuild is triggered after ES promotion, only the
cache\nwarmup should be built.\n\nThis PR also separates the daily full
build to a daily base + cache\nbuild (in case ES promotions are failing
for some reason, we should\nstill have a daily cache
refresh).\n\nRequires:
https://github.com/elastic/ci-agent-images/pull/1295\n\nWith this, we'd
run a daily base image build and cache build (~40m +\n25m) + cache
warmups for every promotion (~4x 25m) instead of a full\nbuild and
promotion per build (~4x 55m). Ultimately not that much of a\ngain 🤷
(4*55=220m =>
40+5x25=165m)","sha":"830dbd4ed72cb05829dbc1ee383dee9f9cbcdac8"}}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants