Skip to content

[8.18] [ci] Trigger VM image rebuild for cache rebuild only (#213497)#213721

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

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

Conversation

@delanni
Copy link
Contributor

@delanni delanni commented Mar 10, 2025

Backport

This will backport the following commits from main to 8.18:

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)

# Conflicts:
#	.buildkite/pipeline-resource-definitions/kibana-vm-images.yml
#	.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh
#	.buildkite/scripts/steps/fleet/promote_package_registry.sh
@delanni delanni requested a review from kibanamachine as a code owner March 10, 2025 12:28
@delanni delanni added the backport This PR is a backport of another PR label Mar 10, 2025
@delanni delanni enabled auto-merge (squash) March 10, 2025 12:28
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@delanni delanni disabled auto-merge March 10, 2025 16:31
@delanni delanni merged commit e410786 into elastic:8.18 Mar 10, 2025
11 checks passed
@delanni delanni deleted the backport/8.18/pr-213497 branch March 10, 2025 16:40
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.

2 participants