Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
update integration test to use the latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
xinaxu committed Oct 17, 2023
1 parent c7f0d0f commit 27933a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/devnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
cache-name: cache-fil-proof-params
with:
path: ./integration/test/devnet/data/proofs
path: ~/.cache/filecoin-proof-parameters/
key: ${{ runner.os }}-build-${{ env.cache-name }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
Expand All @@ -48,4 +48,4 @@ jobs:
AWS_ACCESS_KEY_ID: 'accessKey1'
AWS_SECRET_ACCESS_KEY: 'verySecretKey1'
AWS_DEFAULT_REGION: 'location-motion-v1'
uses: ./.github/actions/aws-cli-s3-upload-test
uses: ./.github/actions/aws-cli-s3-upload-test
2 changes: 1 addition & 1 deletion integration/test/motionlarity/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SINGULARITY_REF=:v0.5.1
SINGULARITY_REF=:v0.5.2
LOTUS_TEST='true'
LOTUS_API=http://lotus:1234/rpc/v1
MOTION_PRICE_PER_GIB_EPOCH=0
Expand Down
12 changes: 9 additions & 3 deletions integration/test/motionlarity/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- motion-singularity-volume:/usr/src/app/storage
environment:
DATABASE_CONNECTION_STRING: postgres://${SINGULARITY_DB_USER:-postgres}:${SINGULARITY_DB_PASSWORD:-postgres}@db:5432/${SINGULARITY_DB_NAME:-singularity}
LOTUS_TEST:
LOTUS_TEST:
LOTUS_API:
LOTUS_TOKEN:
depends_on:
Expand All @@ -53,6 +53,11 @@ services:
LOTUS_TEST:
LOTUS_API:
LOTUS_TOKEN:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9091/health"]
interval: 5s
timeout: 5s
retries: 5
logging: *default-logging
depends_on:
singularity_admin_init:
Expand Down Expand Up @@ -154,12 +159,13 @@ services:
- motion-singularity-volume:/usr/src/app/storage
logging: *default-logging
depends_on:
- singularity_api
singularity_api:
condition: service_healthy

volumes:
motion-singularity-volume:

networks:
default:
name: devnet
external: true
external: true

0 comments on commit 27933a5

Please sign in to comment.