Skip to content

Commit

Permalink
Missed adding retries to 4 spots, spotted failures (#27397)
Browse files Browse the repository at this point in the history
* Updating retry, and adding a retry to start

* Pinning

* Adding retries to them all

* Trying to roll this back, it keeps failing...

* Reverting to the newer one

* Missed 4 caches, which are failing :)
  • Loading branch information
woody-apple authored and pull[bot] committed Oct 31, 2023
1 parent a6f4268 commit 9375956
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 25 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,18 @@ jobs:
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux

- name: Bootstrap cache
uses: buildjet/cache@v3
timeout-minutes: 10
if: ${{ !env.ACT }}
- uses: Wandalen/[email protected]
name: Bootstrap cache
timeout-minutes: 20
with:
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }}
path: |
.environment
build_overrides/pigweed_environment.gni
action: buildjet/cache@v3
attempt_limit: 3
attempt_delay: 2000
with: |
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }}
path: |
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
timeout-minutes: 15
run: |
Expand All @@ -87,11 +90,15 @@ jobs:
- name: Get Cirque Bootstrap cache key
id: cirque-bootstrap-cache-key
run: echo "val=$(scripts/tests/cirque_tests.sh cachekeyhash)" >> $GITHUB_OUTPUT
- name: Cirque Bootstrap cache
uses: buildjet/cache@v3
timeout-minutes: 10
- uses: Wandalen/[email protected]
name: Cirque Bootstrap cache
if: ${{ !env.ACT }}
timeout-minutes: 20
with:
action: buildjet/cache@v3
attempt_limit: 3
attempt_delay: 2000
with: |
key: ${{ runner.os }}-cirque-${{ steps.cirque-bootstrap-cache-key.outputs.val }}
restore-keys: ${{ runner.os }}-cirque-
path: ${{ env.GITHUB_CACHE_PATH }}
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/examples-bouffalolab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,18 @@ jobs:
GH_CONTEXT: ${{ toJson(github) }}
run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}"

- name: Bootstrap cache
uses: buildjet/cache@v3
timeout-minutes: 10
- uses: Wandalen/[email protected]
name: Bootstrap cache
timeout-minutes: 20
with:
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }}
path: |
.environment
build_overrides/pigweed_environment.gni
action: buildjet/cache@v3
attempt_limit: 3
attempt_delay: 2000
with: |
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }}
path: |
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
timeout-minutes: 25
run: bash scripts/bootstrap.sh
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/examples-efr32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,18 @@ jobs:
GH_CONTEXT: ${{ toJson(github) }}
run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}"

- name: Bootstrap cache
uses: buildjet/cache@v3
timeout-minutes: 10
- uses: Wandalen/[email protected]
name: Bootstrap cache
timeout-minutes: 20
with:
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }}
path: |
.environment
build_overrides/pigweed_environment.gni
action: buildjet/cache@v3
attempt_limit: 3
attempt_delay: 2000
with: |
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }}
path: |
.environment
build_overrides/pigweed_environment.gni
- name: Bootstrap
timeout-minutes: 25
run: bash scripts/bootstrap.sh
Expand Down

0 comments on commit 9375956

Please sign in to comment.