Skip to content

Commit

Permalink
fix: docker compose for e2e tests and create bucket in localstack (#19)
Browse files Browse the repository at this point in the history
* Fix docker compose + create bucket in localstack

* Space
  • Loading branch information
stephhuynh18 authored Jul 11, 2023
1 parent 8197f92 commit b535aa6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions aws/buckets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
awslocal s3 mb s3://ceramic-local-tests
7 changes: 6 additions & 1 deletion docker-compose.integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ services:
- ETH_RPC_URL=http://ganache:8545
- IPFS_URL=http://ceramic1_ipfs:5001
- REMOTE_CERAMIC_URL=http://remote_ceramic:7007
- PUBSUB_TOPIC=integration-tests-docker
- PUBSUB_TOPIC=/integration-tests-docker
- AWS_ACCOUNT_ID=000000000000
- AWS_REGION=us-east-1
- AWS_ACCESS_KEY_ID=.
- AWS_SECRET_ACCESS_KEY=.
- S3_ENDPOINT_URL=http://localstack:4566
depends_on:
remote_ceramic:
condition: service_healthy
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ services:
- SERVICES=sqs,dynamodb
networks:
- internal
volumes:
- ./aws:/etc/localstack/init/ready.d
healthcheck:
test:
- CMD
Expand Down

0 comments on commit b535aa6

Please sign in to comment.