difftreelog
merge try-tuntime compose files
in: master
4 files changed
.docker/Dockerfile-parachaindiffbeforeafterboth35FROM rust-builder as builder-unique35FROM rust-builder as builder-unique363637ARG PROFILE=release37ARG PROFILE=release38ARG NETWORK=38ARG NETWORK39ARG REPO_URL=39ARG REPO_URL40ARG BRANCH=40ARG BRANCH414142RUN echo "NETWORK="$NETWORK42RUN echo "NETWORK="${NETWORK}434344WORKDIR /unique_parachain44WORKDIR /unique_parachain454546RUN git clone $REPO_URL -b $BRANCH . && \46RUN git clone $REPO_URL -b $BRANCH . && \47 cargo build --features="${NETWORK}-runtime" --$PROFILE47 cargo build --features=${NETWORK}-runtime --$PROFILE484849# ===== RUN ======49# ===== RUN ======5050.docker/Dockerfile-try-runtimediffbeforeafterboth2FROM ubuntu:20.04 as rust-builder2FROM ubuntu:20.04 as rust-builder3LABEL maintainer="Unique.Network"3LABEL maintainer="Unique.Network"445ARG RUST_TOOLCHAIN=5ARG RUST_TOOLCHAIN667ENV RUST_TOOLCHAIN $RUST_TOOLCHAIN7ENV RUST_TOOLCHAIN $RUST_TOOLCHAIN8ENV CARGO_HOME="/cargo-home"8ENV CARGO_HOME="/cargo-home"343435ARG PROFILE=release35ARG PROFILE=release36ARG NETWORK36ARG NETWORK37ARG REPLICA_FROM=37ARG REPLICA_FROM38ENV NETWORK $NETWORK38ENV NETWORK $NETWORK39ENV REPLICA_FROM $REPLICA_FROM39ENV REPLICA_FROM $REPLICA_FROM4040.docker/docker-compose.try-runtime.j2diffbeforeafterboth3services:3services:4 try-runtime:4 try-runtime:5 build:5 build:6 context: ../7 dockerfile: .docker/Dockerfile-try-runtime6 args:8 args:7 - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"9 - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"8 - "NETWORK={{ NETWORK }}"10 - "NETWORK={{ NETWORK }}"9 - "REPLICA_FROM={{ REPLICA_FROM }}"11 - "REPLICA_FROM={{ REPLICA_FROM }}" 12 image: try-runtime13 container_name: try-runtime14 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"102411.github/workflows/try-runtime.ymldiffbeforeafterboth52 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml52 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml535354 - name: Build the stack54 - name: Build the stack55 run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up --build --force-recreate --timeout 300 --remove-orphans --exit-code-from try-runtime55 run: docker-compose -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up --build --force-recreate --timeout 300 --remove-orphans --exit-code-from try-runtime56 56 57 - name: Collect Docker Logs57 - name: Collect Docker Logs58 if: success() || failure()58 if: success() || failure()666667 - name: Stop running containers67 - name: Stop running containers68 if: always() # run this step always68 if: always() # run this step always69 run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" down69 run: docker-compose -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" down70 70 71 - name: Remove builder cache71 - name: Remove builder cache72 if: always() # run this step always72 if: always() # run this step always