Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retry in upload codecov actions #5184

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/ci-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,15 @@ jobs:

- name: Setup CODECOV_TOKEN
uses: ./.github/actions/setup-codecov

- name: Upload coverage to codecov
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: Wandalen/wretry.action@v1.3.0
yurishkuro marked this conversation as resolved.
Show resolved Hide resolved
with:
file: cover.out
verbose: true
flags: cassandra-${{ matrix.version.major }}
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
attempt_limit: 3
action: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
with: |
file: cover.out
verbose: true
flags: cassandra-${{ matrix.version.major }}
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
17 changes: 10 additions & 7 deletions .github/workflows/ci-elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,15 @@ jobs:

- name: Setup CODECOV_TOKEN
uses: ./.github/actions/setup-codecov

- name: Upload coverage to codecov
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: Wandalen/wretry.action@v1.3.0
with:
files: cover.out,cover-index-cleaner.out,cover-index-rollover.out
verbose: true
flags: elasticsearch-${{ matrix.version.major }}
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
attempt_limit: 3
action: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
with: |
files: cover.out,cover-index-cleaner.out,cover-index-rollover.out
verbose: true
flags: elasticsearch-${{ matrix.version.major }}
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
17 changes: 10 additions & 7 deletions .github/workflows/ci-grpc-badger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ jobs:

- name: Setup CODECOV_TOKEN
uses: ./.github/actions/setup-codecov

- name: Upload coverage to codecov
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: Wandalen/wretry.action@v1.3.0
with:
files: cover.out,cover-badger.out
verbose: true
flags: grpc-badger
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
attempt_limit: 3
action: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
with: |
files: cover.out,cover-badger.out
verbose: true
flags: grpc-badger
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
15 changes: 9 additions & 6 deletions .github/workflows/ci-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ jobs:
uses: ./.github/actions/setup-codecov

- name: Upload coverage to codecov
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: Wandalen/wretry.action@v1.3.0
with:
files: cover.out
verbose: true
flags: kafka
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
attempt_limit: 3
action: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
with: |
files: cover.out
verbose: true
flags: kafka
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
15 changes: 9 additions & 6 deletions .github/workflows/ci-opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@ jobs:
uses: ./.github/actions/setup-codecov

- name: Upload coverage to codecov
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: Wandalen/wretry.action@v1.3.0
with:
files: cover.out,cover-index-cleaner.out,cover-index-rollover.out
verbose: true
flags: opensearch-${{ matrix.version.major }}
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
attempt_limit: 3
action: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
with: |
files: cover.out,cover-index-cleaner.out,cover-index-rollover.out
verbose: true
flags: opensearch-${{ matrix.version.major }}
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
15 changes: 9 additions & 6 deletions .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@ jobs:
uses: ./.github/actions/setup-codecov

- name: Upload coverage to codecov
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
uses: Wandalen/wretry.action@v1.3.0
with:
file: cover.out
verbose: true
flags: unittests
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
attempt_limit: 3
action: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
with: |
file: cover.out
verbose: true
flags: unittests
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}
Loading