git.delta.rocks / unique-network / refs/commits / 4176e4ddae02

difftreelog

Merge branch 'develop' into feature/collator-selection

Fahrrader2022-12-28parents: #65e077c #3c2e49b.patch.diff
in: master

17 files changed

modified.docker/Dockerfile-parachain-node-onlydiffbeforeafterboth
6161
62ARG NETWORK62ARG NETWORK
63ARG POLKADOT_LAUNCH_BRANCH63ARG POLKADOT_LAUNCH_BRANCH
64ARG WASM_NAME
6465
65RUN apt-get -y update && \66RUN apt-get -y update && \
66 apt-get -y install curl git && \67 apt-get -y install curl git && \
8283
83COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/84COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/
84COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/85COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/
85COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm86COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm
8687
87COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/88COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/
88COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm89COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm
modified.docker/Dockerfile-parachain-upgradediffbeforeafterboth
5959
60ARG NETWORK60ARG NETWORK
61ARG POLKADOT_LAUNCH_BRANCH61ARG POLKADOT_LAUNCH_BRANCH
62ARG WASM_NAME
6263
63RUN apt-get -y update && \64RUN apt-get -y update && \
64 apt-get -y install curl git && \65 apt-get -y install curl git && \
8081
81COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/82COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/
82COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/83COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/
83COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm84COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm
8485
85COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/86COPY --from=polkadot /unique_parachain/polkadot/target/release/polkadot /polkadot/target/release/
86COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm87COPY --from=polkadot /unique_parachain/polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm /polkadot/target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm
modified.docker/Dockerfile-parachain-upgrade-datadiffbeforeafterboth
63ARG REPLICA_FROM63ARG REPLICA_FROM
64ENV REPLICA_FROM=${REPLICA_FROM}64ENV REPLICA_FROM=${REPLICA_FROM}
65ARG POLKADOT_LAUNCH_BRANCH65ARG POLKADOT_LAUNCH_BRANCH
66ARG WASM_NAME
6667
67RUN apt-get -y update && \68RUN apt-get -y update && \
68 apt-get -y install curl git && \69 apt-get -y install curl git && \
8586
86COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/87COPY --from=builder-unique-current /unique_parachain/target/release/unique-collator /unique-chain/current/release/
87COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/88COPY --from=builder-unique-target /unique_parachain/target/release/unique-collator /unique-chain/target/release/
88COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$NETWORK"-runtime/"$NETWORK"_runtime.compact.compressed.wasm89COPY --from=builder-unique-target /unique_parachain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm /unique-chain/target/release/wbuild/"$WASM_NAME"-runtime/"$WASM_NAME"_runtime.compact.compressed.wasm
8990
90COPY --from=uniquenetwork/builder-chainql:latest /chainql/target/release/chainql /chainql/target/release/91COPY --from=uniquenetwork/builder-chainql:latest /chainql/target/release/chainql /chainql/target/release/
9192
modified.docker/Dockerfile-try-runtimediffbeforeafterboth
35ARG PROFILE=release35ARG PROFILE=release
36ARG NETWORK36ARG NETWORK
37ARG REPLICA_FROM37ARG REPLICA_FROM
38ARG WASM_NAME
38ENV NETWORK $NETWORK39ENV NETWORK $NETWORK
39ENV REPLICA_FROM $REPLICA_FROM40ENV REPLICA_FROM $REPLICA_FROM
41ENV WASM_NAME $WASM_NAME
4042
41COPY . /unique_parachain43COPY . /unique_parachain
42WORKDIR /unique_parachain44WORKDIR /unique_parachain
46 echo "Fork from: $REPLICA_FROM\n" && \48 echo "Fork from: $REPLICA_FROM\n" && \
47 cargo build --features=try-runtime,${NETWORK}-runtime --release49 cargo build --features=try-runtime,${NETWORK}-runtime --release
4850
49CMD cargo run --release --features ${NETWORK}-runtime,try-runtime -- try-runtime --runtime target/release/wbuild/${NETWORK}-runtime/${NETWORK}_runtime.compact.compressed.wasm -lruntime=debug -ltry-runtime::cli=debug on-runtime-upgrade --checks live --uri $REPLICA_FROM51CMD cargo run --release --features ${NETWORK}-runtime,try-runtime -- try-runtime --runtime target/release/wbuild/${WASM_NAME}-runtime/${WASM_NAME}_runtime.compact.compressed.wasm -lruntime=debug -ltry-runtime::cli=debug on-runtime-upgrade --checks live --uri $REPLICA_FROM
5052
modified.docker/docker-compose.tmp-forkless-data.j2diffbeforeafterboth
13 - "MAINNET_TAG={{ MAINNET_TAG }}"13 - "MAINNET_TAG={{ MAINNET_TAG }}"
14 - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"14 - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
15 - "REPLICA_FROM={{ REPLICA_FROM }}"15 - "REPLICA_FROM={{ REPLICA_FROM }}"
16 - "WASM_NAME={{ WASM_NAME }}"
16 context: ../17 context: ../
17 dockerfile: .docker/Dockerfile-parachain-upgrade-data18 dockerfile: .docker/Dockerfile-parachain-upgrade-data
18 image: node-parachain19 image: node-parachain
modified.docker/docker-compose.tmp-forkless-nodata.j2diffbeforeafterboth
12 - "POLKADOT_LAUNCH_BRANCH={{ POLKADOT_LAUNCH_BRANCH }}" 12 - "POLKADOT_LAUNCH_BRANCH={{ POLKADOT_LAUNCH_BRANCH }}"
13 - "MAINNET_TAG={{ MAINNET_TAG }}"13 - "MAINNET_TAG={{ MAINNET_TAG }}"
14 - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"14 - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
15 - "WASM_NAME={{ WASM_NAME }}"
15 context: ../16 context: ../
16 dockerfile: .docker/Dockerfile-parachain-upgrade17 dockerfile: .docker/Dockerfile-parachain-upgrade
17 image: node-parachain18 image: node-parachain
modified.docker/docker-compose.tmp-node.j2diffbeforeafterboth
12 - "POLKADOT_LAUNCH_BRANCH={{ POLKADOT_LAUNCH_BRANCH }}" 12 - "POLKADOT_LAUNCH_BRANCH={{ POLKADOT_LAUNCH_BRANCH }}"
13 - "MAINNET_TAG={{ MAINNET_TAG }}"13 - "MAINNET_TAG={{ MAINNET_TAG }}"
14 - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"14 - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
15 - "WASM_NAME={{ WASM_NAME }}"
15 context: ../16 context: ../
16 dockerfile: .docker/Dockerfile-parachain-node-only17 dockerfile: .docker/Dockerfile-parachain-node-only
17 image: node-parachain18 image: node-parachain
modified.docker/docker-compose.tmp-try-runtime.j2diffbeforeafterboth
8 args:8 args:
9 - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"9 - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}"
10 - "NETWORK={{ NETWORK }}"10 - "NETWORK={{ NETWORK }}"
11 - "REPLICA_FROM={{ REPLICA_FROM }}" 11 - "REPLICA_FROM={{ REPLICA_FROM }}"
12 - "WASM_NAME={{ WASM_NAME }}"
12 image: try-runtime13 image: try-runtime
13 container_name: try-runtime14 container_name: try-runtime
14 expose:15 expose:
modified.docker/forkless-config/launch-config-forkless-data.j2diffbeforeafterboth
88 {88 {
89 "bin": "/unique-chain/current/release/unique-collator",89 "bin": "/unique-chain/current/release/unique-collator",
90 "upgradeBin": "/unique-chain/target/release/unique-collator",90 "upgradeBin": "/unique-chain/target/release/unique-collator",
91 "upgradeWasm": "/unique-chain/target/release/wbuild/{{ NETWORK }}-runtime/{{ NETWORK }}_runtime.compact.compressed.wasm",91 "upgradeWasm": "/unique-chain/target/release/wbuild/{{ WASM_NAME }}-runtime/{{ WASM_NAME }}_runtime.compact.compressed.wasm",
92 "id": "1000",92 "id": "1000",
93 "balance": "1000000000000000000000000",93 "balance": "1000000000000000000000000",
94 "chainRawInitializer": [94 "chainRawInitializer": [
modified.docker/forkless-config/launch-config-forkless-nodata.j2diffbeforeafterboth
88 {88 {
89 "bin": "/unique-chain/current/release/unique-collator",89 "bin": "/unique-chain/current/release/unique-collator",
90 "upgradeBin": "/unique-chain/target/release/unique-collator",90 "upgradeBin": "/unique-chain/target/release/unique-collator",
91 "upgradeWasm": "/unique-chain/target/release/wbuild/{{ NETWORK }}-runtime/{{ NETWORK }}_runtime.compact.compressed.wasm",91 "upgradeWasm": "/unique-chain/target/release/wbuild/{{ WASM_NAME }}-runtime/{{ WASM_NAME }}_runtime.compact.compressed.wasm",
92 "id": "1000",92 "id": "1000",
93 "balance": "1000000000000000000000000",93 "balance": "1000000000000000000000000",
94 "nodes": [94 "nodes": [
modified.docker/forkless-config/launch-config-node-update-only-v3.j2diffbeforeafterboth
88 {88 {
89 "bin": "/unique-chain/current/release/unique-collator",89 "bin": "/unique-chain/current/release/unique-collator",
90 "upgradeBin": "/unique-chain/target/release/unique-collator",90 "upgradeBin": "/unique-chain/target/release/unique-collator",
91 "upgradeWasm": "/unique-chain/target/release/wbuild/{{ NETWORK }}-runtime/{{ NETWORK }}_runtime.compact.compressed.wasm",91 "upgradeWasm": "/unique-chain/target/release/wbuild/{{ WASM_NAME }}-runtime/{{ WASM_NAME }}_runtime.compact.compressed.wasm",
92 "id": "1000",92 "id": "1000",
93 "balance": "1000000000000000000000000",93 "balance": "1000000000000000000000000",
94 "nodes": [94 "nodes": [
modified.github/workflows/forkless-update-data.ymldiffbeforeafterboth
34 uses: CertainLach/create-matrix-action@v334 uses: CertainLach/create-matrix-action@v3
35 id: create_matrix35 id: create_matrix
36 with:36 with:
37 matrix: |37 matrix: |
38 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}38 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
39 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}39 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
40 network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}40 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
41 network {sapphire}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}41 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
4242
43 forkless-update-data:43 forkless-update-data:
44 needs: execution-marix44 needs: execution-marix
70 with:70 with:
71 template: .docker/docker-compose.tmp-forkless-data.j271 template: .docker/docker-compose.tmp-forkless-data.j2
72 output_file: .docker/docker-compose-forkless-data.${{ matrix.network }}.yml72 output_file: .docker/docker-compose-forkless-data.${{ matrix.network }}.yml
73 variables: |73 variables: |
74 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git74 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
75 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}75 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
76 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}76 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
77 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 77 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
78 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}78 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
79 # MAINNET_TAG=${{ matrix.mainnet_tag }}79 # MAINNET_TAG=${{ matrix.mainnet_tag }}
80 MAINNET_BRANCH=${{ matrix.mainnet_branch }}80 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
81 NETWORK=${{ matrix.network }}81 NETWORK=${{ matrix.network }}
82 # BRANCH=${{ github.head_ref }}82 # BRANCH=${{ github.head_ref }}
83 REPLICA_FROM=${{ matrix.replica_from_address }}83 REPLICA_FROM=${{ matrix.replica_from_address }}
84 WASM_NAME=${{ matrix.wasm_name }}
8485
85 - name: Show build configuration86 - name: Show build configuration
86 run: cat .docker/docker-compose-forkless-data.${{ matrix.network }}.yml87 run: cat .docker/docker-compose-forkless-data.${{ matrix.network }}.yml
90 with:91 with:
91 template: .docker/forkless-config/launch-config-forkless-data.j292 template: .docker/forkless-config/launch-config-forkless-data.j2
92 output_file: .docker/launch-config-forkless-data.json93 output_file: .docker/launch-config-forkless-data.json
93 variables: |94 variables: |
94 NETWORK=${{ matrix.network }}95 NETWORK=${{ matrix.network }}
95 REPLICA_FROM=${{ matrix.replica_from_address }}96 REPLICA_FROM=${{ matrix.replica_from_address }}
97 WASM_NAME=${{ matrix.wasm_name}}
9698
97 - name: Show launch-config-forkless configuration99 - name: Show launch-config-forkless configuration
98 run: cat .docker/launch-config-forkless-data.json100 run: cat .docker/launch-config-forkless-data.json
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
33 uses: CertainLach/create-matrix-action@v333 uses: CertainLach/create-matrix-action@v3
34 id: create_matrix34 id: create_matrix
35 with:35 with:
36 matrix: |36 matrix: |
37 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}37 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
38 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}38 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
39 network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}39 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
40 network {sapphire}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}40 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
4141
4242
43 forkless-update-nodata:43 forkless-update-nodata:
72 with:72 with:
73 template: .docker/docker-compose.tmp-forkless-nodata.j273 template: .docker/docker-compose.tmp-forkless-nodata.j2
74 output_file: .docker/docker-compose.${{ matrix.network }}.yml74 output_file: .docker/docker-compose.${{ matrix.network }}.yml
75 variables: |75 variables: |
76 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git76 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
77 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}77 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
78 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}78 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
79 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 79 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
80 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}80 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
81 # MAINNET_TAG=${{ matrix.mainnet_tag }}81 # MAINNET_TAG=${{ matrix.mainnet_tag }}
82 MAINNET_BRANCH=${{ matrix.mainnet_branch }}82 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
83 NETWORK=${{ matrix.network }}83 NETWORK=${{ matrix.network }}
84 # BRANCH=${{ github.head_ref }}84 # BRANCH=${{ github.head_ref }}
85 WASM_NAME=${{ matrix.wasm_name }}
8586
86 - name: Show build configuration87 - name: Show build configuration
87 run: cat .docker/docker-compose.${{ matrix.network }}.yml88 run: cat .docker/docker-compose.${{ matrix.network }}.yml
91 with:92 with:
92 template: .docker/forkless-config/launch-config-forkless-nodata.j293 template: .docker/forkless-config/launch-config-forkless-nodata.j2
93 output_file: .docker/launch-config-forkless-nodata.json94 output_file: .docker/launch-config-forkless-nodata.json
94 variables: |95 variables: |
95 NETWORK=${{ matrix.network }}96 NETWORK=${{ matrix.network }}
97 WASM_NAME=${{ matrix.wasm_name }}
9698
97 - name: Show launch-config-forkless configuration99 - name: Show launch-config-forkless configuration
98 run: cat .docker/launch-config-forkless-nodata.json100 run: cat .docker/launch-config-forkless-nodata.json
modified.github/workflows/integration-tests.ymldiffbeforeafterboth
34 uses: fabiocaccamo/create-matrix-action@v234 uses: fabiocaccamo/create-matrix-action@v2
35 id: create_matrix35 id: create_matrix
36 with:36 with:
37 matrix: |37 matrix: |
38 network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}38 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
39 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}39 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}
40 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}
40 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}41 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}
41 42
42 parallel-test:43 parallel-test:
43 needs: nodes-execution-matrix44 needs: nodes-execution-matrix
72 with:73 with:
73 template: .docker/docker-compose.tmp-node.j274 template: .docker/docker-compose.tmp-node.j2
74 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml75 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml
75 variables: |76 variables: |
76 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git77 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
77 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}78 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
78 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}79 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
79 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 80 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
80 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}81 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
81 MAINNET_TAG=${{ matrix.mainnet_tag }}82 MAINNET_TAG=${{ matrix.mainnet_tag }}
82 MAINNET_BRANCH=${{ matrix.mainnet_branch }}83 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
83 NETWORK=${{ matrix.network }}84 NETWORK=${{ matrix.network }}
84 BRANCH=${{ github.head_ref }}85 BRANCH=${{ github.head_ref }}
85 86 WASM_NAME=${{ matrix.wasm_name }}
87
86 - name: Show build configuration88 - name: Show build configuration
87 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml89 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
220 with:222 with:
221 template: .docker/docker-compose.tmp-node.j2223 template: .docker/docker-compose.tmp-node.j2
222 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml224 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml
223 variables: |225 variables: |
224 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git226 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
225 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}227 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
226 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}228 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}
227 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 229 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
228 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}230 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
229 MAINNET_TAG=${{ matrix.mainnet_tag }}231 MAINNET_TAG=${{ matrix.mainnet_tag }}
230 MAINNET_BRANCH=${{ matrix.mainnet_branch }}232 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
231 NETWORK=${{ matrix.network }}233 NETWORK=${{ matrix.network }}
232 BRANCH=${{ github.head_ref }}234 BRANCH=${{ github.head_ref }}
233 235 WASM_NAME=${{ matrix.wasm_name }}
236
234 - name: Show build configuration237 - name: Show build configuration
235 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml238 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
modified.github/workflows/node-only-update.ymldiffbeforeafterboth
36 uses: CertainLach/create-matrix-action@v336 uses: CertainLach/create-matrix-action@v3
37 id: create_matrix37 id: create_matrix
38 with:38 with:
39 matrix: |39 matrix: |
40 network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}40 network {opal}, wasm_name {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
41 network {sapphire}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}41 network {sapphire}, wasm_name {opal}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
42 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}42 network {quartz}, wasm_name {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
43 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}43 network {unique}, wasm_name {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
4444
4545
46 nodes-only-update:46 nodes-only-update:
76 with:76 with:
77 template: .docker/docker-compose.tmp-node.j277 template: .docker/docker-compose.tmp-node.j2
78 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml78 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml
79 variables: |79 variables: |
80 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git80 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git
81 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}81 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
82 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}82 POLKADOT_BUILD_BRANCH=${{ matrix.relay_branch }}
83 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}83 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}
84 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}84 # POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}
85 # MAINNET_TAG=${{ matrix.mainnet_tag }}85 # MAINNET_TAG=${{ matrix.mainnet_tag }}
86 MAINNET_BRANCH=${{ matrix.mainnet_branch }}86 MAINNET_BRANCH=${{ matrix.mainnet_branch }}
87 NETWORK=${{ matrix.network }}87 NETWORK=${{ matrix.network }}
88 # BRANCH=${{ github.head_ref }}88 WASM_NAME=${{ matrix.wasm_name }}
89 # BRANCH=${{ github.head_ref }}
8990
90 - name: Show build configuration91 - name: Show build configuration
91 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml92 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml
95 with:96 with:
96 template: .docker/forkless-config/launch-config-forkless-nodata.j297 template: .docker/forkless-config/launch-config-forkless-nodata.j2
97 output_file: .docker/launch-config-forkless-nodata.json98 output_file: .docker/launch-config-forkless-nodata.json
98 variables: |99 variables: |
99 NETWORK=${{ matrix.network }}100 NETWORK=${{ matrix.network }}
101 WASM_NAME=${{ matrix.wasm_name }}
100102
101 - name: Show launch-config-forkless configuration103 - name: Show launch-config-forkless configuration
102 run: cat .docker/launch-config-forkless-nodata.json104 run: cat .docker/launch-config-forkless-nodata.json
modified.github/workflows/try-runtime.ymldiffbeforeafterboth
32 uses: CertainLach/create-matrix-action@v332 uses: CertainLach/create-matrix-action@v3
33 id: create_matrix33 id: create_matrix
34 with:34 with:
35 matrix: |35 matrix: |
36 network {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}36 network {opal}, wasm_name {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}
37 network {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}37 network {sapphire}, wasm_name {opal}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}
38 network {quartz}, wasm_name {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}
38 network {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}39 network {unique}, wasm_name {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}
3940
40 try-runtime:41 try-runtime:
41 needs: prepare-execution-marix42 needs: prepare-execution-marix
67 with:68 with:
68 template: .docker/docker-compose.tmp-try-runtime.j269 template: .docker/docker-compose.tmp-try-runtime.j2
69 output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml70 output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml
70 variables: |71 variables: |
71 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}72 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}
72 NETWORK=${{ matrix.network }}73 NETWORK=${{ matrix.network }}
73 REPLICA_FROM=${{ matrix.replica_from_address }}74 WASM_NAME=${{ matrix.wasm_name }}
75 REPLICA_FROM=${{ matrix.replica_from_address }}
7476
75 - name: Show build configuration77 - name: Show build configuration
76 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml78 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml
modified.github/workflows/yarn-dev.ymldiffbeforeafterboth
24 matrix:24 matrix:
25 include:25 include:
26 - network: "opal"26 - network: "opal"
27 - network: "sapphire"
27 - network: "quartz"28 - network: "quartz"
28 - network: "unique"29 - network: "unique"
2930