Skip to content

[9.1] [CI] Add preferCached for docker-startup commands (#244766)#245212

Merged
kibanamachine merged 1 commit into
elastic:9.1from
kibanamachine:backport/9.1/pr-244766
Dec 4, 2025
Merged

[9.1] [CI] Add preferCached for docker-startup commands (#244766)#245212
kibanamachine merged 1 commit into
elastic:9.1from
kibanamachine:backport/9.1/pr-244766

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

## Summary
Add `preferCached` as an option in the test util for starting docker
images, turn it on for all EPR image pulls, in order to prevent costly
docker pulls in FTRs/integration tests.

After elastic#244517 we still have a small temporal zone in between an agent
being provisioned and the tests being ran, where a promotion would
trigger a docker pull, that depletes disk space, it also would make
pulls slow, and potentially time out tests.

This PR suggests, we should always use the cached variant (for EPR at
least). With this, the above risk zone is no longer causing pulls, it's
just that we are still testing the previously promoted and cached image,
probably not risky.

(cherry picked from commit 5336f0d)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Dec 4, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) December 4, 2025 10:02
@botelastic botelastic Bot added ci:project-deploy-observability Create an Observability project Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation labels Dec 4, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-presentation-team (Team:obs-presentation)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 4, 2025

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress

  • Buildkite Build
  • Commit: b179a39
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-245212-b179a399a81a

cc @delanni

@kibanamachine kibanamachine merged commit 29fc860 into elastic:9.1 Dec 4, 2025
22 checks passed
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 ci:project-deploy-observability Create an Observability project Team:Fleet Team label for Observability Data Collection Fleet team Team:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants