MartijnVisser opened a new pull request, #28630:
URL: https://github.com/apache/flink/pull/28630
## What is the purpose of the change
Backport of #28624 (clean cherry-pick).
The nightly `cron_snapshot_deployment_binary` and
`cron_snapshot_deployment_maven` jobs run on Microsoft-hosted `ubuntu-24.04`
agents that start with only ~16 GB free; the multi-JDK CI image, the restored
Maven cache and the near-full dist build push disk usage to the brink of
failure. Every other hosted-agent template already runs
`tools/azure-pipelines/free_disk_space.sh` as its first step;
`build-nightly-dist.yml` is the one that never got it.
## Brief change log
- Run `free_disk_space.sh` (with `target: host`, since the jobs run inside
the build container) as the first step of both jobs in
`tools/azure-pipelines/build-nightly-dist.yml`
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Verified by the next scheduled nightly run on this branch: the "Free up disk
space" step should succeed in both `cron_snapshot_deployment` jobs and the
low-disk-space warnings should disappear from the build timeline.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (Claude Code)
Generated-by: Claude Code (Fable 5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]