Skip to content

Commit 59e1717

Browse files
committed
fixup! feat: dockerize blockfrost-ryo
1 parent 6f46246 commit 59e1717

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

compose/common.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ x-provider-server-environment: &provider-server-environment
7676
NETWORK_INFO_PROVIDER: ${NETWORK_INFO_PROVIDER:-dbsync}
7777
TX_SUBMIT_PROVIDER: ${TX_SUBMIT_PROVIDER:-submit-node}
7878
STAKE_POOL_PROVIDER: ${STAKE_POOL_PROVIDER:-dbsync}
79+
NETWORK: ${NETWORK:-mainnet}
80+
BLOCKFROST_API_KEY: ${BLOCKFROST_API_KEY}
81+
BLOCKFROST_CUSTOM_BACKEND_URL: ${BLOCKFROST_CUSTOM_BACKEND_URL}
7982

8083
x-sdk-environment: &sdk-environment
8184
LOGGER_MIN_SEVERITY: ${LOGGER_MIN_SEVERITY:-info}

packages/e2e/.env.example

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,13 @@ STAKE_POOL_PROJECTOR_URL='http://localhost:4002/'
5757
# It should be configured to 'slow' when running against real networks like preprod.
5858
# The local-network slotLength is 0.2s when running in fast mode (default), and 1s when running in slow mode.
5959
NETWORK_SPEED=fast
60+
61+
# to run tests against local blockfrost
62+
# Blockfrost secrets
63+
#BLOCKFROST_CUSTOM_BACKEND_URL='http://blockfrost-ryo:3000'
64+
#ASSET_PROVIDER: 'blockfrost'
65+
#UTXO_PROVIDER: 'blockfrost'
66+
#CHAIN_HISTORY_PROVIDER: 'blockfrost'
67+
#REWARDS_PROVIDER: 'blockfrost'
68+
#NETWORK_INFO_PROVIDER: 'blockfrost'
69+
#TX_SUBMIT_PROVIDER: 'blockfrost'

packages/e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"test:web-extension:watch": "run-s test:web-extension:build test:web-extension:watch:bg",
4747
"test:web-extension:watch:bg": "run-p test:web-extension:watch:build test:web-extension:watch:run",
4848
"test:ws": "jest -c jest.config.js --forceExit --selectProjects ws-server --runInBand --verbose",
49-
"local-network:common": "DISABLE_DB_CACHE=${DISABLE_DB_CACHE:-true} SUBMIT_API_ARGS='--testnet-magic 888' USE_BLOCKFROST=false __FIX_UMASK__=$(chmod -R a+r ../../compose/placeholder-secrets) docker compose --env-file ../cardano-services/environments/.env.local -p local-network-e2e -f docker-compose.yml -f ../../compose/common.yml -f ../../compose/$(uname -m).yml $FILES --profile ${DOCKER_COMPOSE_PROFILE:-none} up",
49+
"local-network:common": "DISABLE_DB_CACHE=${DISABLE_DB_CACHE:-true} SUBMIT_API_ARGS='--testnet-magic 888' USE_BLOCKFROST=false __FIX_UMASK__=$(chmod -R a+r ../../compose/placeholder-secrets) docker compose --env-file ./.env --env-file ../cardano-services/environments/.env.local -p local-network-e2e -f docker-compose.yml -f ../../compose/common.yml -f ../../compose/$(uname -m).yml $FILES --profile ${DOCKER_COMPOSE_PROFILE:-none} up",
5050
"local-network:up": "FILES='' yarn local-network:common",
5151
"local-network:blockfrost:up": "FILES='' DOCKER_COMPOSE_PROFILE='blockfrost-ryo' yarn local-network:common",
5252
"local-network:single:up": "FILES='' yarn local-network:common cardano-node file-server local-testnet ogmios postgres",

0 commit comments

Comments
 (0)