difftreelog
ci cleanup docker-compose for parallel test runs
in: master
1 file changed
docker-compose-tests-parachain.ymldiffbeforeafterboth1version: "3.5"23services:4 blockchain_nodes:5 image: blockchain_nodes6 container_name: blockchain_nodes7 ports:8 - 9944:99449 - 9844:984410 - 9933:993411 build:12 context: ./13 dockerfile: Dockerfile-parachain14 args:15 - RUST_TOOLCHAIN=${RUST_TOOLCHAIN:?err}16 - RUST_C=${RUST_C:?err}17 - POLKA_VERSION=${POLKA_VERSION:?err}18 - NFT_BRANCH=${NFT_BRANCH:?err}19 volumes:20# - ./chain-data:/chain-data21 - ./launch-config.json:/polkadot-launch/launch-config.json22 - ./runtime_types.json:/polkadot-launch/runtime_types.json23 env_file:24 - ./.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'2930 integration_tests:31 container_name: integration_tests32 image: integration_tests33 build:34 context: tests/35 dockerfile: Dockerfile-tests36 environment:37 RPC_URL: http://blockchain_nodes:9934/38 volumes:39 - ./tests/src/config_docker.ts:/nft_parachain/src/config.ts40 - /home/ubuntu/mochawesome-report:/nft_parachain/mochawesome-report41 - ./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:46 - 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: bridge1version: "3.5"23services:4 blockchain_nodes:5 build:6 context: ./7 dockerfile: Dockerfile-parachain8 args:9 - RUST_TOOLCHAIN=${RUST_TOOLCHAIN:?err}10 - RUST_C=${RUST_C:?err}11 - POLKA_VERSION=${POLKA_VERSION:?err}12 - NFT_BRANCH=${NFT_BRANCH:?err}13 volumes:14 - ./launch-config.json:/polkadot-launch/launch-config.json15 - ./runtime_types.json:/polkadot-launch/runtime_types.json16 env_file:17 - ./.env1819 integration_tests:20 build:21 context: tests/22 dockerfile: Dockerfile-tests23 environment:24 RPC_URL: http://blockchain_nodes:9934/25 volumes:26 - ./tests/src/config_docker.ts:/nft_parachain/src/config.ts27 - /home/ubuntu/mochawesome-report:/nft_parachain/mochawesome-report28 - ./runtime_types.json:/runtime_types.json29 depends_on:30 - blockchain_nodes