difftreelog
Merge pull request #497 from UniqueNetwork/CI-42-fork-update-parachain-relay-withdata
in: master
2 files changed
.docker/forking/docker-compose.tmp-fork.j2diffbeforeafterboth--- a/.docker/forking/docker-compose.tmp-fork.j2
+++ b/.docker/forking/docker-compose.tmp-fork.j2
@@ -10,6 +10,4 @@
- "FEATURE={{ FEATURE }}"
- "RUNTIME={{ RUNTIME }}"
- "POLKADOT_BUILD_BRANCH={{ POLKADOT_BUILD_BRANCH }}"
- - "MAINNET_TAG={{ MAINNET_TAG }}"
- - "MAINNET_BRANCH={{ MAINNET_BRANCH }}"
- "FORK_FROM={{ FORK_FROM }}"
.github/workflows/fork-update-withdata.ymldiffbeforeafterboth21# A workflow run is made up of one or more jobs that can run sequentially or in parallel21# A workflow run is made up of one or more jobs that can run sequentially or in parallel22jobs:22jobs:2324 prepare-execution-marix-fork:25 26 name: Prepare execution matrix for fork27 28 runs-on: self-hosted-ci29 outputs:30 matrix: ${{ steps.create_matrix.outputs.matrix }}31 steps:32 33 - name: Clean Workspace34 uses: AutoModality/action-clean@v1.1.03536 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it37 - uses: actions/checkout@v338 with:39 ref: ${{ github.head_ref }} #Checking out head commit4041 - name: Read .env file42 uses: xom9ikk/dotenv@v1.0.24344 - name: Create Execution matrix45 uses: fabiocaccamo/create-matrix-action@v246 id: create_matrix47 with:48 matrix: |49 network {Opal}, runtime {opal}, features {opal-runtime}, mainnet_branch {${{ env.OPAL_MAINNET_TAG }}}, fork_from_address {wss://eu-ws-opal.unique.network:443}50 network {Quartz}, runtime {quartz}, features {quartz-runtime}, mainnet_branch {${{ env.QUARTZ_MAINNET_TAG }}}, fork_from_address {wss://eu-ws-quartz.unique.network:443}51 network {Unique}, runtime {unique}, features {unique-runtime}, mainnet_branch {${{ env.UNIQUE_MAINNET_TAG }}}, fork_from_address {wss://eu-ws.unique.network:443}5253542355 fork-update-withdata:24 fork-update-withdata:56 needs: prepare-execution-marix-fork57 # The type of runner that the job will run on25 # The type of runner that the job will run on58 runs-on: self-hosted-ci26 runs-on: self-hosted-ci5927633164 strategy:32 strategy:65 matrix:33 matrix:66 include: ${{fromJson(needs.prepare-execution-marix-fork.outputs.matrix)}}34 include:35 - network: Opal36 features: opal-runtime37 runtime: opal38 fork_from_address: wss://eu-ws-opal.unique.network:44339 - network: Quartz40 features: quartz-runtime41 runtime: quartz42 fork_from_address: wss://eu-ws-quartz.unique.network:44343 - network: Unique44 features: unique-runtime45 runtime: unique46 fork_from_address: wss://eu-ws.unique.network:443674768 steps:48 steps:69 - name: Skip if pull request is in Draft49 - name: Skip if pull request is in Draft100 with:80 with:101 template: .docker/forking/docker-compose.tmp-fork.j281 template: .docker/forking/docker-compose.tmp-fork.j2102 output_file: .docker/forking/docker-compose.${{ matrix.network }}.yml82 output_file: .docker/forking/docker-compose.${{ matrix.network }}.yml103 variables: |83 variables: |104 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git84 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git105 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}85 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}106 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}86 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}107 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}87 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}108 MAINNET_TAG=${{ matrix.mainnet_tag }}88 FEATURE=${{ matrix.features }}109 MAINNET_BRANCH=${{ matrix.mainnet_branch }}110 FEATURE=${{ matrix.features }}89 RUNTIME=${{ matrix.runtime }}111 RUNTIME=${{ matrix.runtime }}90 BRANCH=${{ github.head_ref }}112 BRANCH=${{ github.head_ref }}91 FORK_FROM=${{ matrix.fork_from_address }}113 FORK_FROM=${{ matrix.fork_from_address }}11492115 - name: Show build configuration93 - name: Show build configuration116 run: cat .docker/forking/docker-compose.${{ matrix.network }}.yml94 run: cat .docker/forking/docker-compose.${{ matrix.network }}.yml