Skip to content

Commit

Permalink
ci: fix sccache key and dashmate helper pulling
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 7, 2023
1 parent eef8b26 commit 8244c5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ runs:
RUSTC_WRAPPER=sccache
SCCACHE_BUCKET=${{ inputs.bucket }}
SCCACHE_REGION=${{ inputs.region }}
SCCACHE_S3_KEY_PREFIX="${{ runner.os }}/sccache"
SCCACHE_S3_KEY_PREFIX=${{ runner.os }}/sccache
platforms: ${{ steps.platforms.outputs.result }}
push: ${{ fromJSON(inputs.push) }}
cache-from: ${{ steps.layer_cache_settings.outputs.cache_from }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
aws ecr get-login-password --region ${{ vars.AWS_REGION }} | docker login --username AWS --password-stdin $DOCKER_HUB_ORG
SHA_TAG=sha-${{ github.sha }}
VERSION=$(cat package.json | jq -r '.version')
# Dashmate
docker pull $DOCKER_HUB_ORG/dashmate_helper:$SHA_TAG
docker tag $DOCKER_HUB_ORG/dashmate_helper:$SHA_TAG dashpay/dashmate_helper:${{ github.sha }}
docker tag $DOCKER_HUB_ORG/dashmate_helper:$SHA_TAG dashpay/dashmate_helper:$VERSION
- name: Get dashmate fingerprint
id: dashmate-fingerprint
Expand Down Expand Up @@ -91,7 +91,6 @@ jobs:
# DAPI
yarn dashmate config set --config=local platform.dapi.api.docker.image $DOCKER_HUB_ORG/dapi:$SHA_TAG
# TODO: Move setup network to a separate job before test suite to do not run twice?
./scripts/setup_local_network.sh
./scripts/configure_test_suite.sh
./scripts/configure_dotenv.sh
Expand Down

0 comments on commit 8244c5b

Please sign in to comment.