Skip to content

Commit

Permalink
ci: configure dashmate images in right place
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 10, 2023
1 parent 8c6da42 commit 6a7840d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/tests-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6a7840d

Please sign in to comment.