difftreelog
ci cleanup docker-compose for parallel test runs
in: master
1 file changed
docker-compose-tests-parachain.ymldiffbeforeafterboth223services:3services:4 blockchain_nodes:4 blockchain_nodes:5 image: blockchain_nodes6 container_name: blockchain_nodes7 ports:8 - 9944:99449 - 9844:984410 - 9933:993411 build:5 build:12 context: ./6 context: ./13 dockerfile: Dockerfile-parachain7 dockerfile: Dockerfile-parachain17 - POLKA_VERSION=${POLKA_VERSION:?err}11 - POLKA_VERSION=${POLKA_VERSION:?err}18 - NFT_BRANCH=${NFT_BRANCH:?err}12 - NFT_BRANCH=${NFT_BRANCH:?err}19 volumes:13 volumes:20# - ./chain-data:/chain-data21 - ./launch-config.json:/polkadot-launch/launch-config.json14 - ./launch-config.json:/polkadot-launch/launch-config.json22 - ./runtime_types.json:/polkadot-launch/runtime_types.json15 - ./runtime_types.json:/polkadot-launch/runtime_types.json23 env_file:16 env_file:24 - ./.env17 - ./.env25 networks:26 - node_test_network27 #command: bash -c "yarn --cwd polkadot-launch start"28 #command: bash -c 'while true; do sleep 60; df -h; done'291830 integration_tests:19 integration_tests:31 container_name: integration_tests32 image: integration_tests33 build:20 build:34 context: tests/21 context: tests/35 dockerfile: Dockerfile-tests22 dockerfile: Dockerfile-tests39 - ./tests/src/config_docker.ts:/nft_parachain/src/config.ts26 - ./tests/src/config_docker.ts:/nft_parachain/src/config.ts40 - /home/ubuntu/mochawesome-report:/nft_parachain/mochawesome-report27 - /home/ubuntu/mochawesome-report:/nft_parachain/mochawesome-report41 - ./runtime_types.json:/runtime_types.json28 - ./runtime_types.json:/runtime_types.json42# command: bash -c 'while true; do sleep 20; df -h; done'43 networks:44 - node_test_network45 depends_on:29 depends_on:46 - blockchain_nodes30 - blockchain_nodes4748# unit_tests:49# container_name: unit_test50# image: nft_unit_test51# build:52# context: ./53# dockerfile: Dockerfile-unit54# container_name: unit_test55# networks:56# - node_test_network57 # command: bash -c 'while true; do sleep 20; df -h; done'58# command: bash -c 'cargo test'5960networks:61 node_test_network:62 name: node_test_network63 driver: bridge6431