Skip to content

Commit b47fb82

Browse files
committed
workflows: set timeouts for GitHub Actions Essential CI jobs
I've selected the timeouts according to how long each job seems to run in practice, with a big buffer to allow for load on the remote execution cluster, etc. The longest-running jobs I've given 60 minutes, with less time for the shorter jobs. Epic: CRDB-8308 Release note: None
1 parent 6a45828 commit b47fb82

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/github-actions-essential-ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ concurrency:
5353
jobs:
5454
acceptance:
5555
runs-on: [self-hosted, basic_big_runner_group]
56+
timeout-minutes: 30
5657
steps:
5758
- uses: actions/checkout@v4
5859
with:
@@ -78,6 +79,7 @@ jobs:
7879
if: always()
7980
check_generated_code:
8081
runs-on: [self-hosted, basic_runner_group]
82+
timeout-minutes: 30
8183
steps:
8284
- uses: actions/checkout@v4
8385
with:
@@ -92,6 +94,7 @@ jobs:
9294
if: always()
9395
docker_image_amd64:
9496
runs-on: [self-hosted, basic_runner_group]
97+
timeout-minutes: 30
9598
steps:
9699
- uses: actions/checkout@v4
97100
with:
@@ -112,6 +115,7 @@ jobs:
112115
if: always()
113116
examples_orms:
114117
runs-on: [self-hosted, basic_big_runner_group]
118+
timeout-minutes: 40
115119
steps:
116120
- uses: actions/checkout@v4
117121
with:
@@ -132,6 +136,7 @@ jobs:
132136
if: always()
133137
lint:
134138
runs-on: [self-hosted, basic_big_runner_group]
139+
timeout-minutes: 60
135140
steps:
136141
- uses: actions/checkout@v4
137142
with:
@@ -155,6 +160,7 @@ jobs:
155160
if: always()
156161
local_roachtest:
157162
runs-on: [self-hosted, basic_big_runner_group]
163+
timeout-minutes: 60
158164
steps:
159165
- uses: actions/checkout@v4
160166
with:
@@ -175,6 +181,7 @@ jobs:
175181
if: always()
176182
local_roachtest_fips:
177183
runs-on: [self-hosted, basic_runner_group_fips]
184+
timeout-minutes: 60
178185
steps:
179186
- uses: actions/checkout@v4
180187
with:
@@ -195,6 +202,7 @@ jobs:
195202
if: always()
196203
linux_amd64_build:
197204
runs-on: [self-hosted, basic_runner_group]
205+
timeout-minutes: 30
198206
steps:
199207
- uses: actions/checkout@v4
200208
with:
@@ -215,6 +223,7 @@ jobs:
215223
if: always()
216224
linux_amd64_fips_build:
217225
runs-on: [self-hosted, basic_runner_group]
226+
timeout-minutes: 30
218227
steps:
219228
- uses: actions/checkout@v4
220229
with:
@@ -235,6 +244,7 @@ jobs:
235244
if: always()
236245
linux_arm64_build:
237246
runs-on: [self-hosted, basic_runner_group]
247+
timeout-minutes: 30
238248
steps:
239249
- uses: actions/checkout@v4
240250
with:
@@ -255,6 +265,7 @@ jobs:
255265
if: always()
256266
macos_amd64_build:
257267
runs-on: [self-hosted, basic_runner_group]
268+
timeout-minutes: 30
258269
steps:
259270
- uses: actions/checkout@v4
260271
with:
@@ -275,6 +286,7 @@ jobs:
275286
if: always()
276287
macos_arm64_build:
277288
runs-on: [self-hosted, basic_runner_group]
289+
timeout-minutes: 30
278290
steps:
279291
- uses: actions/checkout@v4
280292
with:
@@ -295,6 +307,7 @@ jobs:
295307
if: always()
296308
unit_tests:
297309
runs-on: [self-hosted, basic_runner_group]
310+
timeout-minutes: 60
298311
steps:
299312
- uses: actions/checkout@v4
300313
with:
@@ -317,6 +330,7 @@ jobs:
317330
if: always()
318331
windows_build:
319332
runs-on: [self-hosted, basic_runner_group]
333+
timeout-minutes: 30
320334
steps:
321335
- uses: actions/checkout@v4
322336
with:

0 commit comments

Comments
 (0)