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

qa-tests: avoid deleting snapshots from testbed data dir #12901

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/qa-clean-exit-block-downloading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Delete Erigon Testbed Data Directory
if: always()
run: |
rm -rf $ERIGON_TESTBED_DATA_DIR
find $ERIGON_TESTBED_DATA_DIR -mindepth 1 -maxdepth 1 ! -name 'snapshots' -exec rm -rf {} +

- name: Resume the Erigon instance dedicated to db maintenance
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qa-constrained-tip-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Delete Erigon Testbed Data Directory
if: always()
run: |
rm -rf $ERIGON_TESTBED_DATA_DIR
find $ERIGON_TESTBED_DATA_DIR -mindepth 1 -maxdepth 1 ! -name 'snapshots' -exec rm -rf {} +

- name: Resume the Erigon instance dedicated to db maintenance
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qa-tip-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ jobs:
${{ github.workspace }}/result-${{ env.CHAIN }}.json
${{ env.ERIGON_TESTBED_DATA_DIR }}/logs/erigon.log

- name: Delete Erigon Testbed Data Directory
- name: Delete Erigon Testbed Data Directory (except snapshots)
if: always()
run: |
rm -rf $ERIGON_TESTBED_DATA_DIR
find $ERIGON_TESTBED_DATA_DIR -mindepth 1 -maxdepth 1 ! -name 'snapshots' -exec rm -rf {} +

- name: Resume the Erigon instance dedicated to db maintenance
run: |
Expand Down
Loading