Skip to content

Commit

Permalink
[gha] open issue when db-restore fails in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sausagee authored and bors-libra committed May 7, 2021
1 parent 2a72085 commit c0f646f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ jobs:
- name: replay transactions
run: |
cargo run --release --bin db-restore -- --concurrent-downloads 2 --target-db-dir /var/tmp/dbrestore/ auto --replay-all command-adapter --config "$CONFIG"
- uses: diem/actions/create-issue@04f4286ca22e4b9efbc5eb49a20e2e5389c5318b
if: ${{ failure() }}
env:
JOB_URL: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
title: "DB restore in transaction replay failed"
body: "Found db-restore failure in job ${{ env.JOB_URL }}"
assignees: "msmouse"
labels: "storage"
- uses: ./.github/actions/build-teardown

json-rpc-backward-compat-test:
Expand Down

0 comments on commit c0f646f

Please sign in to comment.