SIGN IN SIGN UP
apache / spark UNCLAIMED

Apache Spark - A unified analytics engine for large-scale data processing

43050 0 0 Scala

[SPARK-55741][INFRA] Use `ubuntu-slim` for GitHub Actions `precondition` and `ui` jobs

### What changes were proposed in this pull request?

This PR aims to use `ubuntu-slim` for GitHub Actions `precondition` and `ui` job.

### Why are the changes needed?

`ubuntu-slim` is a new cost-efficient runner to fit small jobs like `precondition`. We had better use this to save ASF infra usage (if possible)
- https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/
- https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md

| Feature | `ubuntu-slim` | `ubuntu-latest` |
| :--- | :---: | :---: |
| **Cost (per minute)** | **$0.002** | **$0.012** |
| **Cost for 1,000 mins** | **$2.00** | **$12.00** |
| **CPU** | 1 vCPU | 4 vCPU |
| **Memory (RAM)** | 5 GB | 16 GB |
| **Storage (SSD)** | 14 GB | 14 GB |
| **Maximum Runtime** | **15 Minutes** | 6 Hours |
| **Isolation Type** | Container-based (L2) | Dedicated VM |

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

<img width="365" height="212" alt="Screenshot 2026-02-26 at 21 51 06" src="https://github.com/user-attachments/assets/dbcdb852-5e29-4adc-8846-7f260664f62f" />

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`

Closes #54537 from dongjoon-hyun/SPARK-55741.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
D
Dongjoon Hyun committed
eae6ede29253f4d71a16dd260a0b9d807652e468
Parent: a0a092f