-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Free disk space for ui tests #10225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Free disk space for ui tests #10225
Conversation
Signed-off-by: Artem Savchenko <armisav@gmail.com>
|
Connected to Huly®: UBERF-14119 |
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces disk space cleanup for UI test workflows by creating a reusable composite action that removes unnecessary system files before Docker builds. According to the PR description, this cleanup reduces disk usage from 79% to 54% (freeing up approximately 18GB).
- Created a new composite GitHub action for disk space cleanup
- Applied the cleanup action to all four UI test jobs before Docker builds
- The cleanup removes Android SDK, Azure CLI, and Google Cloud SDK to free up space
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/actions/free-disk-space/action.yml |
New composite action that removes unnecessary system directories and logs disk space before/after cleanup |
.github/workflows/main.yml |
Added free-disk-space action calls before Docker builds in uitest, uitest-pg, uitest-qms, and uitest-workspaces jobs |
Disk space before cleanup:
Filesystem Size Used Avail Use% Mounted on
/dev/root 72G 57G 16G 79% /
tmpfs 7.9G 84K 7.9G 1% /dev/shm
tmpfs 3.2G 1.1M 3.2G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda16 881M 62M 758M 8% /boot
/dev/sda15 105M 6.2M 99M 6% /boot/efi
/dev/sdb1 74G 4.1G 66G 6% /mnt
tmpfs 1.6G 12K 1.6G 1% /run/user/1001
Disk space after cleanup:
Filesystem Size Used Avail Use% Mounted on
/dev/root 72G 39G 34G 54% /
tmpfs 7.9G 84K 7.9G 1% /dev/shm
tmpfs 3.2G 1.1M 3.2G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda16 881M 62M 758M 8% /boot
/dev/sda15 105M 6.2M 99M 6% /boot/efi
/dev/sdb1 74G 4.1G 66G 6% /mnt
tmpfs 1.6G 12K 1.6G 1% /run/user/1001