kubernetes/minikube
ci: Ensure workflow timeouts - runs can get stuck for hours
已关闭
#23,041 创建于 2026年5月25日
area/testinggood first issuehelp wanted
仓库指标
- 星标
- (31,799 个星标)
- PR 合并指标
- (平均合并 12天 19小时) (30 天内合并 43 个 PR)
描述
This run was stuck for 6 hours! in the apt-get install step https://github.com/kubernetes/minikube/actions/runs/26373054430/job/77628725110?pr=23040
Fix
- Set job level timeout
- Set step level timeout
Job level timeout
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
Step level timeout
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Run complex tests
run: ./run-tests.sh
timeout-minutes: 10
For the next step see #23043.