difftreelog
Merge branch 'develop' into CI-43-try-runtime
in: master
10 files changed
.docker/Dockerfile-try-runtimediffbeforeafterboth343435ARG PROFILE=release35ARG PROFILE=release36ARG FEATURE=36ARG FEATURE=37ARG REPO_URL=38ARG BRANCH=39ARG FORK_FROM=37ARG FORK_FROM=403839COPY . /unique_parachain41WORKDIR /unique_parachain40WORKDIR /unique_parachain4241434244RUN echo "Requested features: $FEATURE\n" && \43RUN echo "Requested features: $FEATURE\n" && \45 echo "Fork from: $FORK_FROM\n" && \44 echo "Fork from: $FORK_FROM\n" && \46 echo "Repositry URL: $REPO_URL\n" && \47 echo "Branch: $BRANCH\n" && \48 git clone $REPO_URL -b $BRANCH . && \49 cargo run --features=$FEATURE --release -- try-runtime on-runtime-upgrade live --uri $FORK_FROM45 cargo run --features=$FEATURE --release -- try-runtime on-runtime-upgrade live --uri $FORK_FROM50 46.docker/docker-compose.try-runtime.j2diffbeforeafterboth5 build:5 build:6 args:6 args:7 - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"7 - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"8 - "BRANCH={{ BRANCH }}"9 - "REPO_URL={{ REPO_URL }}"10 - "FEATURE={{ FEATURE }}"8 - "FEATURE={{ FEATURE }}"11 - "FORK_FROM={{ FORK_FROM }}"9 - "FORK_FROM={{ FORK_FROM }}"1210.github/workflows/build-test-master.ymldiffbeforeafterboth1name: MASTER - Build & Test1name: Yarn test para223# Controls when the action will run.3# Controls when the action will run.4on:4on:19env:19env:20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}2122concurrency: 23 group: ${{ github.workflow }}-${{ github.ref }}24 cancel-in-progress: true212522# A workflow run is made up of one or more jobs that can run sequentially or in parallel26# A workflow run is made up of one or more jobs that can run sequentially or in parallel23jobs:27jobs:242825 master-build-and-test:29 master-build-and-test:26 # The type of runner that the job will run on30 # The type of runner that the job will run on27 runs-on: self-hosted-ci31 runs-on: [self-hosted-ci,large]2832 timeout-minutes: 1380293330 name: ${{ matrix.network }} - Build and Test34 name: ${{ matrix.network }}313532 continue-on-error: true #Do not stop testing of matrix runs failed.36 continue-on-error: true #Do not stop testing of matrix runs failed.3337.github/workflows/codestyle.ymldiffbeforeafterboth10 - synchronize10 - synchronize11 - ready_for_review11 - ready_for_review1213concurrency: 14 group: ${{ github.workflow }}-${{ github.ref }}15 cancel-in-progress: true121613jobs:17jobs:14 rustfmt:18 rustfmt:.github/workflows/fork-update-withdata.ymldiffbeforeafterboth1name: Fork Parachain update with data1name: Upgrade replica223# Controls when the action will run.3# Controls when the action will run.4on:4on:19env:19env:20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}2122concurrency: 23 group: ${{ github.workflow }}-${{ github.ref }}24 cancel-in-progress: true212522# A workflow run is made up of one or more jobs that can run sequentially or in parallel26# A workflow run is made up of one or more jobs that can run sequentially or in parallel23jobs:27jobs:242825 fork-update-withdata:29 fork-update-withdata:26 # The type of runner that the job will run on30 # The type of runner that the job will run on27 runs-on: self-hosted-ci31 runs-on: [self-hosted-ci,large]32 timeout-minutes: 1380283329 name: ${{ matrix.network }} Fork Parachain with data34 name: ${{ matrix.network }}303531 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.36 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.3237.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth1name: Forkless Parachain update with no data1name: Upgrade nodata223# Controls when the action will run.3# Controls when the action will run.4on:4on:19env:19env:20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}2122concurrency: 23 group: ${{ github.workflow }}-${{ github.ref }}24 cancel-in-progress: true212522# A workflow run is made up of one or more jobs that can run sequentially or in parallel26# A workflow run is made up of one or more jobs that can run sequentially or in parallel23jobs:27jobs:56 forkless-update-nodata:61 forkless-update-nodata:57 needs: prepare-execution-marix62 needs: prepare-execution-marix58 # The type of runner that the job will run on63 # The type of runner that the job will run on59 runs-on: self-hosted-ci64 runs-on: [self-hosted-ci,medium]65 66 6768 timeout-minutes: 1380606961 name: ${{ matrix.network }} - Forkless Parachain Upgrade NO data70 name: ${{ matrix.network }}627163 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.72 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.6473.github/workflows/node_build_test.ymldiffbeforeafterboth1name: Develop - Build & test1name: Yarn test dev223# Controls when the action will run.3# Controls when the action will run.4on:4on:19env:19env:20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}2122concurrency: 23 group: ${{ github.workflow }}-${{ github.ref }}24 cancel-in-progress: true212522# A workflow run is made up of one or more jobs that can run sequentially or in parallel26# A workflow run is made up of one or more jobs that can run sequentially or in parallel23jobs:27jobs:24 dev_build_test:28 dev_build_test:25 # The type of runner that the job will run on29 # The type of runner that the job will run on26 runs-on: self-hosted-ci30 runs-on: [self-hosted-ci,medium]31 timeout-minutes: 1380273228 name: Build Container, Spin it Up an test33 name: ${{ matrix.network }}293430 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.35 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.3136.github/workflows/tests_codestyle.ymldiffbeforeafterboth10 - synchronize10 - synchronize11 - ready_for_review11 - ready_for_review1213concurrency: 14 group: ${{ github.workflow }}-${{ github.ref }}15 cancel-in-progress: true121613jobs:17jobs:14 code_style:18 code_style:.github/workflows/try-runtime.ymldiffbeforeafterboth1name: Try Runtime1name: try-runtime223# Controls when the action will run.3# Controls when the action will run.4on:4on:19env:19env:20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}20 REPO_URL: ${{ github.server_url }}/${{ github.repository }}2122concurrency: 23 group: ${{ github.workflow }}-${{ github.ref }}24 cancel-in-progress: true212522# A workflow run is made up of one or more jobs that can run sequentially or in parallel26# A workflow run is made up of one or more jobs that can run sequentially or in parallel23jobs:27jobs:24 try-runtime:28 try-runtime:25 # The type of runner that the job will run on29 # The type of runner that the job will run on26 runs-on: self-hosted-ci30 runs-on: self-hosted-ci2731 28 name: ${{ matrix.network }} - Try-runtime32 name: ${{ matrix.network }}293330 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.34 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.313532 strategy:36 strategy:33 matrix:37 matrix:34 include:38 include:35 - network: Opal39 - network: opal36 features: try-runtime,opal-runtime40 features: try-runtime,opal-runtime37 fork_from_address: wss://eu-ws-opal.unique.network:44341 fork_from_address: wss://eu-ws-opal.unique.network:44338 - network: Quartz42 - network: quartz39 features: try-runtime,quartz-runtime43 features: try-runtime,quartz-runtime40 fork_from_address: wss://eu-ws-quartz.unique.network:44344 fork_from_address: wss://eu-ws-quartz.unique.network:44341 - network: Unique45 - network: unique42 features: try-runtime,unique-runtime46 features: try-runtime,unique-runtime43 fork_from_address: wss://eu-ws.unique.network:44347 fork_from_address: wss://eu-ws.unique.network:443444878 with:82 with:79 template: .docker/docker-compose.try-runtime.j283 template: .docker/docker-compose.try-runtime.j280 output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml84 output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml81 variables: |85 variables: |82 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git86 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}83 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}87 FEATURE=${{ matrix.features }}84 FEATURE=${{ matrix.features }}85 BRANCH=${{ github.head_ref }}88 FORK_FROM=${{ matrix.fork_from_address }}86 FORK_FROM=${{ matrix.fork_from_address }}878988 - name: Show build configuration90 - name: Show build configuration89 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml91 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml90919292 - name: Build the stack93 - name: Build the stack93 run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 30094 run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 300 --remove-orphans949596 - name: Collect Docker Logs97 if: success() || failure()98 uses: jwalton/gh-docker-logs@v2.2.099 with:100 dest: './try-runtime-logs.${{ matrix.features }}'101 images: 'try-runtime' 102103 - name: Tar logs104 if: success() || failure()105 run: tar cvzf ./try-runtime-logs.${{ matrix.features }}.tgz ./try-runtime-logs.${{ matrix.features }}106107 - name: Upload logs to GitHub108 if: success() || failure()109 uses: actions/upload-artifact@master110 with:111 name: try-runtime-logs.${{ matrix.features }}.tgz112 path: ./try-runtime-logs.${{ matrix.features }}.tgz11395114 - name: Stop running containers96 - name: Stop running containers115 if: always() # run this step always97 if: always() # run this step alwaysnode/cli/Cargo.tomldiffbeforeafterboth266266267[dependencies.opal-runtime]267[dependencies.opal-runtime]268path = '../../runtime/opal'268path = '../../runtime/opal'269optional = true269270270[dependencies.up-data-structs]271[dependencies.up-data-structs]271path = "../../primitives/data-structs"272path = "../../primitives/data-structs"320rmrk-rpc = { path = "../../primitives/rmrk-rpc" }321rmrk-rpc = { path = "../../primitives/rmrk-rpc" }321322322[features]323[features]323default = []324default = ["opal-runtime"]324runtime-benchmarks = [325runtime-benchmarks = [325 'unique-runtime?/runtime-benchmarks',326 'unique-runtime?/runtime-benchmarks',326 'quartz-runtime?/runtime-benchmarks',327 'quartz-runtime?/runtime-benchmarks',327 'opal-runtime/runtime-benchmarks',328 'opal-runtime/runtime-benchmarks',328 'polkadot-service/runtime-benchmarks',329 'polkadot-service/runtime-benchmarks',329]330]330try-runtime = []331try-runtime = [332 'unique-runtime?/try-runtime',333 'quartz-runtime?/try-runtime',334 'opal-runtime?/try-runtime',335]331336