difftreelog
delete sapphire from workflows
in: master
9 files changed
.envdiffbeforeafterboth--- a/.env
+++ b/.env
@@ -27,7 +27,3 @@
OPAL_MAINNET_BRANCH=release-v10010063
OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443
-UNIQUEEAST_MAINNET_BRANCH=release-v1.0.0
-SAPPHIRE_MAINNET_BRANCH=release-v10010063
-SAPPHIRE_REPLICA_FROM=wss://ws-sapphire.unique.network:443
-
.github/workflows/collator-selection.ymldiffbeforeafterboth--- a/.github/workflows/collator-selection.yml
+++ b/.github/workflows/collator-selection.yml
@@ -42,7 +42,6 @@
matrix: |
network {opal}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}
network {quartz}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}
- network {sapphire}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}
collator-selection:
.github/workflows/forkless-update-data.ymldiffbeforeafterboth--- a/.github/workflows/forkless-update-data.yml
+++ b/.github/workflows/forkless-update-data.yml
@@ -36,7 +36,6 @@
with:
matrix: |
network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}, runtime_features {opal-runtime}, wasm_name {opal}, fork_source {${{ env.OPAL_REPLICA_FROM }}}
- network {sapphire}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}, runtime_features {sapphire-runtime}, wasm_name {quartz}, fork_source {${{ env.SAPPHIRE_REPLICA_FROM }}}
network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}, wasm_name {quartz}, fork_source {${{ env.QUARTZ_REPLICA_FROM }}}
network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}, wasm_name {unique}, fork_source {${{ env.UNIQUE_REPLICA_FROM }}}
.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth--- a/.github/workflows/forkless-update-nodata.yml
+++ b/.github/workflows/forkless-update-nodata.yml
@@ -36,7 +36,6 @@
with:
matrix: |
network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}, runtime_features {opal-runtime}, wasm_name {opal}
- network {sapphire}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}, runtime_features {sapphire-runtime}, wasm_name {quartz}
network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}, wasm_name {quartz}
network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}, wasm_name {unique}
.github/workflows/governance.ymldiffbeforeafterboth--- a/.github/workflows/governance.yml
+++ b/.github/workflows/governance.yml
@@ -34,7 +34,6 @@
network {unique}, wasm_name {unique}
network {quartz}, wasm_name {quartz}
network {opal}, wasm_name {opal}
- network {sapphire}, wasm_name {quartz}
dev_build_int_tests:
needs: prepare-execution-marix
.github/workflows/node-only-update.ymldiffbeforeafterboth--- a/.github/workflows/node-only-update.yml
+++ b/.github/workflows/node-only-update.yml
@@ -38,7 +38,6 @@
with:
matrix: |
network {opal}, mainnet_branch {${{ env.OPAL_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEWEST_MAINNET_BRANCH }}}, runtime_features {opal-runtime}
- network {sapphire}, mainnet_branch {${{ env.SAPPHIRE_MAINNET_BRANCH }}}, relay_branch {${{ env.UNIQUEEAST_MAINNET_BRANCH }}}, runtime_features {sapphire-runtime}
network {quartz}, mainnet_branch {${{ env.QUARTZ_MAINNET_BRANCH }}}, relay_branch {${{ env.KUSAMA_MAINNET_BRANCH }}}, runtime_features {quartz-runtime}
network {unique}, mainnet_branch {${{ env.UNIQUE_MAINNET_BRANCH }}}, relay_branch {${{ env.POLKADOT_MAINNET_BRANCH }}}, runtime_features {unique-runtime}
.github/workflows/polkadot-types.ymldiffbeforeafterboth--- a/.github/workflows/polkadot-types.yml
+++ b/.github/workflows/polkadot-types.yml
@@ -29,8 +29,6 @@
strategy:
matrix:
include:
- - network: "sapphire"
- usage: ""
- network: "opal"
usage: ""
- network: "quartz"
.github/workflows/try-runtime.ymldiffbeforeafterboth--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -34,7 +34,6 @@
with:
matrix: |
network {opal}, wasm_name {opal}, replica_from_address {${{ env.OPAL_REPLICA_FROM }}}
- network {sapphire}, wasm_name {quartz}, replica_from_address {${{ env.SAPPHIRE_REPLICA_FROM }}}
network {quartz}, wasm_name {quartz}, replica_from_address {${{ env.QUARTZ_REPLICA_FROM }}}
network {unique}, wasm_name {unique}, replica_from_address {${{ env.UNIQUE_REPLICA_FROM }}}
.github/workflows/yarn-dev.ymldiffbeforeafterboth1# Integration test in --dev mode2# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586411104/Integration+tests3name: yarn dev45# Triger: only call from main workflow(re-usable workflows)6on:7 workflow_call:891011# A workflow run is made up of one or more jobs that can run sequentially or in parallel12jobs:13 14 dev_build_int_tests:15 # The type of runner that the job will run on16 runs-on: [self-hosted-ci,medium]17 timeout-minutes: 13801819 name: ${{ matrix.network }}2021 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.2223 strategy:24 matrix:25 include:26 - network: "opal"27 - network: "sapphire"28 - network: "quartz"29 - network: "unique"3031 steps:3233 - 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@v3.1.038 with:39 ref: ${{ github.head_ref }} #Checking out head commit4041 - name: Read .env file42 uses: xom9ikk/dotenv@v24344 - name: Generate ENV related extend file for docker-compose45 uses: cuchi/jinja2-action@v1.2.046 with:47 template: .docker/docker-compose.tmp-dev.j248 output_file: .docker/docker-compose.${{ matrix.network }}.yml49 variables: |50 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}51 NETWORK=${{ matrix.network }}52 5354 - name: Show build configuration55 run: cat .docker/docker-compose.${{ matrix.network }}.yml5657 - name: Build the stack58 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans5960 - uses: actions/setup-node@v3.5.161 with:62 node-version: 206364 - name: Run tests65 working-directory: js-packages/tests66 run: |67 yarn install68 yarn add mochawesome69 ../scripts/wait_for_first_block.sh70 echo "Ready to start tests"71 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}72 env:73 RPC_URL: http://127.0.0.1:9944/7475 - name: Test Report76 uses: phoenix-actions/test-reporting@v1077 id: test-report78 if: success() || failure() # run this step even if previous step failed79 with:80 name: int test results - ${{ matrix.network }} # Name of the check run which will be created81 path: js-packages/tests/mochawesome-report/test-*.json # Path to test results82 reporter: mochawesome-json83 fail-on-error: 'false'8485 - name: Read output variables86 run: |87 echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"8889 - name: Run benchmark mintFee tests90 working-directory: js-packages/scripts91 run: |92 yarn install93 node --no-warnings=ExperimentalWarning --loader ts-node/esm ./benchmarks/mintFee/index.ts9495 - name: Run benchmark opsFee tests96 working-directory: js-packages/scripts97 run: |98 yarn install99 node --no-warnings=ExperimentalWarning --loader ts-node/esm ./benchmarks/opsFee/index.ts100101 - name: Stop running containers102 if: always() # run this step always103 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" down104105 - name: Remove builder cache106 if: always() # run this step always107 run: |108 docker builder prune -f -a109 docker system prune -f110 docker image prune -f -a111112 # check:113 # if: always()114 # runs-on: [self-hosted-ci]115 # needs:116 # - dev_build_int_tests117118 # steps:119 # - name: Install python3120 # uses: actions/setup-python@v4121 # with:122 # python-version: '3.10'123124 # - name: Decide whether the needed jobs succeeded or failed125 # uses: re-actors/alls-green@v1.2.2126 # with:127 # jobs: ${{ toJSON(needs) }}1# Integration test in --dev mode2# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586411104/Integration+tests3name: yarn dev45# Triger: only call from main workflow(re-usable workflows)6on:7 workflow_call:891011# A workflow run is made up of one or more jobs that can run sequentially or in parallel12jobs:13 14 dev_build_int_tests:15 # The type of runner that the job will run on16 runs-on: [self-hosted-ci,medium]17 timeout-minutes: 13801819 name: ${{ matrix.network }}2021 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.2223 strategy:24 matrix:25 include:26 - network: "opal"27 - network: "quartz"28 - network: "unique"2930 steps:3132 - name: Clean Workspace33 uses: AutoModality/action-clean@v1.1.03435 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it36 - uses: actions/checkout@v3.1.037 with:38 ref: ${{ github.head_ref }} #Checking out head commit3940 - name: Read .env file41 uses: xom9ikk/dotenv@v24243 - name: Generate ENV related extend file for docker-compose44 uses: cuchi/jinja2-action@v1.2.045 with:46 template: .docker/docker-compose.tmp-dev.j247 output_file: .docker/docker-compose.${{ matrix.network }}.yml48 variables: |49 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}50 NETWORK=${{ matrix.network }}51 5253 - name: Show build configuration54 run: cat .docker/docker-compose.${{ matrix.network }}.yml5556 - name: Build the stack57 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans5859 - uses: actions/setup-node@v3.5.160 with:61 node-version: 206263 - name: Run tests64 working-directory: js-packages/tests65 run: |66 yarn install67 yarn add mochawesome68 ../scripts/wait_for_first_block.sh69 echo "Ready to start tests"70 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}71 env:72 RPC_URL: http://127.0.0.1:9944/7374 - name: Test Report75 uses: phoenix-actions/test-reporting@v1076 id: test-report77 if: success() || failure() # run this step even if previous step failed78 with:79 name: int test results - ${{ matrix.network }} # Name of the check run which will be created80 path: js-packages/tests/mochawesome-report/test-*.json # Path to test results81 reporter: mochawesome-json82 fail-on-error: 'false'8384 - name: Read output variables85 run: |86 echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"8788 - name: Run benchmark mintFee tests89 working-directory: js-packages/scripts90 run: |91 yarn install92 node --no-warnings=ExperimentalWarning --loader ts-node/esm ./benchmarks/mintFee/index.ts9394 - name: Run benchmark opsFee tests95 working-directory: js-packages/scripts96 run: |97 yarn install98 node --no-warnings=ExperimentalWarning --loader ts-node/esm ./benchmarks/opsFee/index.ts99100 - name: Stop running containers101 if: always() # run this step always102 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" down103104 - name: Remove builder cache105 if: always() # run this step always106 run: |107 docker builder prune -f -a108 docker system prune -f109 docker image prune -f -a110111 # check:112 # if: always()113 # runs-on: [self-hosted-ci]114 # needs:115 # - dev_build_int_tests116117 # steps:118 # - name: Install python3119 # uses: actions/setup-python@v4120 # with:121 # python-version: '3.10'122123 # - name: Decide whether the needed jobs succeeded or failed124 # uses: re-actors/alls-green@v1.2.2125 # with:126 # jobs: ${{ toJSON(needs) }}