Skip to content

Commit 999ce27

Browse files
authored
CI: Skip cache segment download after 3 minutes (#26500)
* CI: Disable bootstrap cache until actions/cache is fixed * Set SEGMENT_DOWNLOAD_TIMEOUT_MINS to 3 minutes Re-enable bootstrap cache
1 parent a0ebf5a commit 999ce27

33 files changed

+95
-1
lines changed

.github/workflows/build.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ concurrency:
2626

2727
env:
2828
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2931

3032
jobs:
3133
build_linux_gcc_debug:

.github/workflows/chef.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ concurrency:
2323
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2424
cancel-in-progress: true
2525

26+
env:
27+
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
30+
2631
jobs:
2732
chef_linux:
2833
name: Chef - Linux CI Examples

.github/workflows/cirque.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ concurrency:
2424
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2525
cancel-in-progress: true
2626

27+
env:
28+
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
31+
2732
jobs:
2833
cirque:
2934
name: Cirque

.github/workflows/darwin-tests.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ concurrency:
2828

2929
env:
3030
CHIP_NO_LOG_TIMESTAMPS: true
31+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
32+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
3133

3234
jobs:
3335
test_suites_chip_tool_darwin:

.github/workflows/darwin.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ concurrency:
2424
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2525
cancel-in-progress: true
2626

27+
env:
28+
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
31+
2732
jobs:
2833
darwin:
2934
name: Build Darwin

.github/workflows/examples-ameba.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
ameba:

.github/workflows/examples-bouffalolab.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ concurrency:
2626

2727
env:
2828
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2931

3032
jobs:
3133
bouffalolab:

.github/workflows/examples-cc13x2x7_26x2x7.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
cc26x2x7:

.github/workflows/examples-cc32xx.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ concurrency:
2323
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2424
cancel-in-progress: true
2525

26+
env:
27+
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
30+
2631
jobs:
2732
cc32xx:
2833
name: cc32xx

.github/workflows/examples-efr32.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
efr32:

.github/workflows/examples-esp32.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
esp32:

.github/workflows/examples-infineon.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ concurrency:
2626

2727
env:
2828
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2931

3032
jobs:
3133
infineon:

.github/workflows/examples-k32w.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
k32w:

.github/workflows/examples-linux-arm.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
arm_crosscompile:

.github/workflows/examples-linux-imx.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
imx:

.github/workflows/examples-linux-standalone.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
linux_standalone:

.github/workflows/examples-mbed.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ concurrency:
2626

2727
env:
2828
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2931

3032
jobs:
3133
mbedos:

.github/workflows/examples-mw320.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
mw320:

.github/workflows/examples-nrfconnect.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
nrfconnect:

.github/workflows/examples-openiotsdk.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ concurrency:
2424
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2525
cancel-in-progress: true
2626

27+
env:
28+
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
31+
2732
jobs:
2833
openiotsdk:
2934
name: Open IoT SDK examples building

.github/workflows/examples-qpg.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
qpg:

.github/workflows/examples-telink.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
telink:

.github/workflows/examples-tizen.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
tizen:

.github/workflows/full-android.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ concurrency:
2424

2525
env:
2626
CHIP_NO_LOG_TIMESTAMPS: true
27+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
28+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2729

2830
jobs:
2931
full_android:

.github/workflows/fuzzing-build.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ concurrency:
2424

2525
env:
2626
CHIP_NO_LOG_TIMESTAMPS: true
27+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
28+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2729

2830
jobs:
2931
build_linux_fuzzing:

.github/workflows/lint.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ concurrency:
2323
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2424
cancel-in-progress: true
2525

26+
env:
27+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
28+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
29+
2630
jobs:
2731
code-lints:
2832
runs-on: ubuntu-latest
@@ -210,4 +214,3 @@ jobs:
210214
if: always()
211215
run: |
212216
git grep -n 'SuccessOrExit(CHIP_ERROR' -- './*' ':(exclude).github/workflows/lint.yml' && exit 1 || exit 0
213-

.github/workflows/qemu.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032

.github/workflows/release_artifacts.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ on:
2121
description: Release Tag
2222
required: true
2323

24+
env:
25+
CHIP_NO_LOG_TIMESTAMPS: true
26+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
27+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
28+
2429
jobs:
2530
esp32:
2631
name: ESP32

.github/workflows/smoketest-android.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ concurrency:
2525

2626
env:
2727
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
2830

2931
jobs:
3032
android:

.github/workflows/smoketest-darwin.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ concurrency:
2424
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2525
cancel-in-progress: true
2626

27+
env:
28+
CHIP_NO_LOG_TIMESTAMPS: true
29+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
30+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
31+
2732
jobs:
2833
darwin:
2934
name: Smoke Run - Darwin

.github/workflows/tests.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ concurrency:
2828

2929
env:
3030
CHIP_NO_LOG_TIMESTAMPS: true
31+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
32+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
3133

3234
jobs:
3335
test_suites_linux:

.github/workflows/zap_regeneration.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ concurrency:
2121
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2222
cancel-in-progress: true
2323

24+
env:
25+
CHIP_NO_LOG_TIMESTAMPS: true
26+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
27+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
28+
2429
jobs:
2530
zap_regeneration:
2631
name: ZAP Regeneration

.github/workflows/zap_templates.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ concurrency:
2323
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
2424
cancel-in-progress: true
2525

26+
env:
27+
CHIP_NO_LOG_TIMESTAMPS: true
28+
# XXX: Workaround for https://github.com/actions/cache/issues/1141
29+
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
30+
2631
jobs:
2732
zap_templates:
2833
name: ZAP templates generation

0 commit comments

Comments
 (0)