Skip to content

Commit a90d90d

Browse files
authored
[chore] update segment download timeout to 2 minutes across all builds (open-telemetry#25832)
Fixes open-telemetry#25794 Fixes open-telemetry#21506
1 parent 26b3cce commit a90d90d

File tree

7 files changed

+24
-16
lines changed

7 files changed

+24
-16
lines changed

.github/workflows/build-and-test-windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ on:
1212
- main
1313
env:
1414
TEST_RESULTS: testbed/tests/results/junit/results.xml
15-
# See: https://github.com/actions/cache/issues/810#issuecomment-1222550359
16-
# Cache downloads for this workflow consistently run in under 10 minutes
17-
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 15
15+
# Make sure to exit early if cache segment download times out after 2 minutes.
16+
# We limit cache download as a whole to 5 minutes.
17+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
1818

1919
# Do not cancel this workflow on main
2020
concurrency:

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
pull_request:
88
env:
99
TEST_RESULTS: testbed/tests/results/junit/results.xml
10-
# See: https://github.com/actions/cache/issues/810#issuecomment-1222550359
11-
# Cache downloads for this workflow consistently run in under 1 minute
12-
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5
10+
# Make sure to exit early if cache segment download times out after 2 minutes.
11+
# We limit cache download as a whole to 5 minutes.
12+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
1313

1414
# Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616
1515
concurrency:

.github/workflows/changelog.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ on:
1212
- main
1313

1414
env:
15-
# See: https://github.com/actions/cache/issues/810#issuecomment-1222550359
16-
# Cache downloads for this workflow consistently run in under 1 minute
17-
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5
15+
# Make sure to exit early if cache segment download times out after 2 minutes.
16+
# We limit cache download as a whole to 5 minutes.
17+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
1818

1919
concurrency:
2020
group: ${{ github.workflow }}-${{ github.head_ref }}

.github/workflows/e2e-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ on:
77
tags:
88
- 'v[0-9]+.[0-9]+.[0-9]+*'
99
pull_request:
10-
10+
env:
11+
# Make sure to exit early if cache segment download times out after 2 minutes.
12+
# We limit cache download as a whole to 5 minutes.
13+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
1114
jobs:
1215
docker-build:
1316
runs-on: ubuntu-latest

.github/workflows/load-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
# See: https://github.com/actions/cache/issues/810#issuecomment-1222550359
16-
# Cache downloads for this workflow consistently run in under 2 minutes
17-
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5
15+
# Make sure to exit early if cache segment download times out after 2 minutes.
16+
# We limit cache download as a whole to 5 minutes.
17+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
1818

1919
jobs:
2020
setup-environment:

.github/workflows/prometheus-compliance-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
# See: https://github.com/actions/cache/issues/810#issuecomment-1222550359
16-
# Cache downloads for this workflow consistently run in under 1 minute
17-
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5
15+
# Make sure to exit early if cache segment download times out after 2 minutes.
16+
# We limit cache download as a whole to 5 minutes.
17+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
1818

1919
jobs:
2020
prometheus-compliance-tests:

.github/workflows/tidy-dependencies.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- main
77

8+
env:
9+
# Make sure to exit early if cache segment download times out after 2 minutes.
10+
# We limit cache download as a whole to 5 minutes.
11+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
12+
813
jobs:
914
setup-environment:
1015
# disabling until permission issues is resolved

0 commit comments

Comments
 (0)