Skip to content

Commit

Permalink
Can't do this for checkout :(
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple committed Jun 26, 2023
1 parent f21b3aa commit 2256988
Show file tree
Hide file tree
Showing 33 changed files with 312 additions and 52 deletions.
13 changes: 0 additions & 13 deletions .github/actions/checkout/action.yaml

This file was deleted.

9 changes: 8 additions & 1 deletion .github/workflows/bloat_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ jobs:
image: connectedhomeip/chip-build:0.7.3

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000

- name: Report
run: |
Expand Down
27 changes: 24 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ jobs:
env:
CONCURRENCY_CONTEXT: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
run: echo "$CONCURRENCY_CONTEXT"
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux
- name: Try to ensure the directories for core dumping exist and we
Expand Down Expand Up @@ -354,7 +361,14 @@ jobs:
env:
CONCURRENCY_CONTEXT: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
run: echo "$CONCURRENCY_CONTEXT"
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux

Expand Down Expand Up @@ -501,7 +515,14 @@ jobs:
net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux

Expand Down
27 changes: 24 additions & 3 deletions .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ jobs:
options: --user root

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux
- uses: ./.github/actions/bootstrap-cache
Expand All @@ -60,7 +67,14 @@ jobs:
options: --user root

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform esp32
- uses: ./.github/actions/bootstrap-cache
Expand All @@ -81,7 +95,14 @@ jobs:
options: --user root

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform nrfconnect
- uses: ./.github/actions/bootstrap-cache
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,14 @@ jobs:
# options: "--privileged"

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/darwin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ jobs:
runs-on: macos-latest

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform darwin
- name: Setup Environment
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ jobs:
runs-on: macos-latest

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform darwin
- name: Setup Environment
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/docker_img.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@ jobs:
# NOTE: vscode image consumes ~52 GB disk space but GitHub-hosted runners provide ~10 GB free disk space(https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)
#- "-vscode"
steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Build All images using project bash script
run: |
cd integrations/docker/images/chip-build${{ matrix.img }}
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-ameba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ jobs:
options: --user root

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform ameba
- uses: ./.github/actions/bootstrap-cache
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-asr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ jobs:
options: --user root

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform asr
- uses: ./.github/actions/bootstrap-cache
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-cc13x2x7_26x2x7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ jobs:
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform cc13xx_26xx
- name: Set up environment for size reports
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-cc32xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ jobs:
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform cc32xx
- name: Set up environment for size reports
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/examples-esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ jobs:
- "/tmp/bloat_reports:/tmp/bloat_reports"

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform esp32

Expand Down Expand Up @@ -137,7 +144,14 @@ jobs:
- "/tmp/bloat_reports:/tmp/bloat_reports"

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform esp32

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-infineon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ jobs:
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform infineon

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-k32w.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ jobs:
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform k32w0

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-linux-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ jobs:
- "/tmp/bloat_reports:/tmp/bloat_reports"

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-linux-imx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ jobs:
image: connectedhomeip/chip-build-imx:0.7.19.1

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-linux-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ jobs:
- "/tmp/bloat_reports:/tmp/bloat_reports"

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform linux

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-mbed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ jobs:
- "/tmp/bloat_reports:/tmp/bloat_reports"

steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform mbed

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/examples-mw320.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ jobs:
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
- uses: ./.github/actions/checkout
- uses: Wandalen/wretry.action@v1.3.0
name: Checkout
with:
action: actions/checkout@v3.5.2
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Checkout submodules
run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform mw320

Expand Down

0 comments on commit 2256988

Please sign in to comment.