diff --git a/.github/workflows/tests-test-suite.yml b/.github/workflows/tests-test-suite.yml index da05767aac..4dd9882608 100644 --- a/.github/workflows/tests-test-suite.yml +++ b/.github/workflows/tests-test-suite.yml @@ -84,6 +84,22 @@ jobs: shell: bash if: steps.local-network-data.outputs.cache-hit != 'true' + - name: Dump dashmate volumes + run: ./scripts/dashmate/volumes/dump.sh + if: steps.local-network-data.outputs.cache-hit != 'true' + + - name: Save local network data + uses: strophy/actions-cache/save@opendal-update + with: + bucket: multi-runner-cache-x1xibo9c + root: local-network-data + path: | + /home/ubuntu/.dashmate + **/.env + dashmate_volumes_dump + key: local-network-volumes/${{ steps.dashmate-fingerprint.outputs.sha }} + if: steps.local-network-data.outputs.cache-hit != 'true' + - name: Configure pre-built docker images run: | DOCKER_HUB_ORG="${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com" @@ -111,22 +127,6 @@ jobs: yarn dashmate config set --config=local_3 platform.dapi.api.docker.image $DOCKER_HUB_ORG/dapi:$SHA_TAG yarn dashmate config set --config=local_seed platform.dapi.api.docker.image $DOCKER_HUB_ORG/dapi:$SHA_TAG - - name: Dump dashmate volumes - run: ./scripts/dashmate/volumes/dump.sh - if: steps.local-network-data.outputs.cache-hit != 'true' - - - name: Save local network data - uses: strophy/actions-cache/save@opendal-update - with: - bucket: multi-runner-cache-x1xibo9c - root: local-network-data - path: | - /home/ubuntu/.dashmate - **/.env - dashmate_volumes_dump - key: local-network-volumes/${{ steps.dashmate-fingerprint.outputs.sha }} - if: steps.local-network-data.outputs.cache-hit != 'true' - - name: Start local network run: yarn start