git.delta.rocks / unique-network / refs/commits / 3976407f1d5d

difftreelog

ci enable fast-inflation for integration tests

Yaroslav Bolyukin2023-11-15parent: #43d9e12.patch.diff
in: master

3 files changed

modified.docker/Dockerfile-chain-devdiffbeforeafterboth
--- a/.docker/Dockerfile-chain-dev
+++ b/.docker/Dockerfile-chain-dev
@@ -21,7 +21,7 @@
 
 WORKDIR /dev_chain
 
-RUN cargo build --profile integration-tests --features=${NETWORK}-runtime
+RUN cargo build --profile integration-tests --features=${NETWORK}-runtime,fast-inflation
 RUN echo "$NETWORK"
 
-CMD cargo run --profile integration-tests --features=${NETWORK}-runtime -- --dev -linfo --rpc-cors=all --unsafe-rpc-external
+CMD cargo run --profile integration-tests --features=${NETWORK}-runtime,fast-inflation -- --dev -linfo --rpc-cors=all --unsafe-rpc-external
modified.docker/Dockerfile-uniquediffbeforeafterboth
--- a/.docker/Dockerfile-unique
+++ b/.docker/Dockerfile-unique
@@ -47,7 +47,7 @@
     --mount=type=cache,target=/unique_parachain/unique-chain/target \
     cd unique-chain && \
     echo "Using runtime features '$RUNTIME_FEATURES'" && \
-    CARGO_INCREMENTAL=0 cargo build --profile integration-tests --features="$RUNTIME_FEATURES" --locked && \
+    CARGO_INCREMENTAL=0 cargo build --profile integration-tests --features=fast-inflation,"$RUNTIME_FEATURES" --locked && \
     mv ./target/integration-tests/unique-collator /unique_parachain/unique-chain/ && \
     cd target/integration-tests/wbuild && find . -name "*.wasm" -exec sh -c 'mkdir -p "../../../wasm/$(dirname {})"; cp {} "../../../wasm/{}"' \;
 
modified.docker/docker-compose.gov.j2diffbeforeafterboth
before · .docker/docker-compose.gov.j2
1version: "3.5"23services:4  node-dev:5    build:6      args:7        - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"8        - "NETWORK={{ NETWORK }}"9        - "WASM_NAME={{ WASM_NAME }}"10      context: ../11      dockerfile: .docker/Dockerfile-chain-dev12    image: node-dev13    container_name: node-dev14    expose:15      - 994416      - 993317    ports:18      - 127.0.0.1:9944:994419      - 127.0.0.1:9933:993320    logging:21      options:22        max-size: "1m"23        max-file: "3"24    command: cargo run --profile integration-tests --features={{ NETWORK }}-runtime,gov-test-timings -- --dev -linfo --rpc-cors=all --unsafe-rpc-external