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
after · .docker/Dockerfile-chain-dev
1FROM uniquenetwork/services:latest23ARG RUST_TOOLCHAIN4ARG NETWORK56ENV DEBIAN_FRONTEND=noninteractive7ENV TZ=Etc/UTC8ENV NETWORK=$NETWORK9ENV CARGO_HOME="/cargo-home"10ENV PATH="/cargo-home/bin:$PATH"1112RUN echo "$NETWORK\n" && echo "$RUST_TOOLCHAIN\n"1314RUN rustup toolchain uninstall $(rustup toolchain list) && \15    rustup toolchain install $RUST_TOOLCHAIN && \16    rustup default $RUST_TOOLCHAIN && \17    rustup target add wasm32-unknown-unknown --toolchain $RUST_TOOLCHAIN1819RUN mkdir /dev_chain20COPY . /dev_chain2122WORKDIR /dev_chain2324RUN cargo build --profile integration-tests --features=${NETWORK}-runtime,fast-inflation25RUN echo "$NETWORK"2627CMD 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
--- a/.docker/docker-compose.gov.j2
+++ b/.docker/docker-compose.gov.j2
@@ -21,4 +21,4 @@
       options:
         max-size: "1m"
         max-file: "3"
-    command: cargo run --profile integration-tests --features={{ NETWORK }}-runtime,gov-test-timings -- --dev -linfo --rpc-cors=all --unsafe-rpc-external
+    command: cargo run --profile integration-tests --features={{ NETWORK }}-runtime,gov-test-timings,fast-inflation -- --dev -linfo --rpc-cors=all --unsafe-rpc-external