Skip to content

Conversation

@breskeby
Copy link
Contributor

@breskeby breskeby commented Mar 25, 2025

bwc builds are built against an empty Gradle userhome by now and this results in

  • downloading the gradle distro for each first bwc build
  • downloading build dependency on each fresh bwc build resulting in >1gb of dependencies resolved
  • downloading java toolchains not resolved otherwise on the first bwc build.

Requiring less downloads on every ci build also results in more stable builds with less transient download errors like: https://gradle-enterprise.elastic.co/s/wcp3lfhkkhrqg/console-log/task/:distribution:bwc:staged:buildBwcLinuxTar?anchor=744&page=1

bwc builds are build against an empty Gradle userhome by now and this results in
- downloading the gradle distro for each first bwc build
- downloading build dependency on each fresh bwc build resulting in >1gb of dependencies resolved
- downloading java toolchains not resolved otherwise on the first bwc build.
@breskeby breskeby added >non-issue :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team auto-backport Automatically create backport pull requests when merged v8.19.0 v9.1.0 labels Mar 25, 2025
@breskeby breskeby self-assigned this Mar 25, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

* for packer caching only
* see CacheCacheableTestFixtures.
* */
protected MinioTestContainer() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes another packer cache issue when caching docker images we rely on in our fixtures: https://buildkite.com/elastic/elasticsearch-vm-images/builds/671#0195c53c-d566-405c-9503-afc95a6e6706

@breskeby breskeby requested a review from jozala March 25, 2025 22:25
@breskeby
Copy link
Contributor Author

@breskeby breskeby merged commit 4de4ec1 into elastic:main Mar 26, 2025
17 checks passed
breskeby added a commit to breskeby/elasticsearch that referenced this pull request Mar 26, 2025
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants