git.delta.rocks / unique-network / refs/commits / 38c568c1ef06

difftreelog

add sapphire chain into workflows

Unique2022-12-27parent: #0895f5c.patch.diff
in: master

3 files changed

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 }}}38 network {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 }}}39 network {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 }}}40 network {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 }}}41 network {sapphire}, 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=${{ env.POLKADOT_BUILD_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 }}
8484
85 - name: Show build configuration85 - name: Show build configuration
86 run: cat .docker/docker-compose-forkless-data.${{ matrix.network }}.yml86 run: cat .docker/docker-compose-forkless-data.${{ matrix.network }}.yml
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 }}}37 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
38 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}38 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
39 network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}39 network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
40 network {sapphire}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}40 network {sapphire}, 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=${{ env.POLKADOT_BUILD_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 }}
8585
86 - name: Show build configuration86 - name: Show build configuration
87 run: cat .docker/docker-compose.${{ matrix.network }}.yml87 run: cat .docker/docker-compose.${{ 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 }}}40 network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
41 network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}41 network {sapphire}, 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 {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}43 network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}
43
4444
4545
46 nodes-only-update:46 nodes-only-update:
47 needs: nodes-execution-matrix47 needs: nodes-execution-matrix
48 # The type of runner that the job will run on48 # The type of runner that the job will run on
49 runs-on: [self-hosted-ci,large]49 runs-on: [self-hosted-ci]
5050
51 timeout-minutes: 2880 # 48 hours for execution jobs.51 timeout-minutes: 2880 # 48 hours for execution jobs.
5252
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=${{ env.POLKADOT_BUILD_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 # BRANCH=${{ github.head_ref }}
8989
90 - name: Show build configuration90 - name: Show build configuration
91 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml91 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml