git.delta.rocks / unique-network / refs/commits / e27974f74b82

difftreelog

Merge pull request #669 from UniqueNetwork/rapid-parallel-start-v2-docs

Alex2022-10-21parents: #44caa59 #53dab70.patch.diff
in: master
Rapid parallel start v2 docs

11 files changed

modified.github/workflows/ci-develop.ymldiffbeforeafterboth
--- a/.github/workflows/ci-develop.yml
+++ b/.github/workflows/ci-develop.yml
@@ -1,3 +1,4 @@
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586869783/CI+Develop
 # Workflow which controls starts nested workflows.
 name: develop
 
modified.github/workflows/ci-master.ymldiffbeforeafterboth
--- a/.github/workflows/ci-master.yml
+++ b/.github/workflows/ci-master.yml
@@ -1,3 +1,4 @@
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2587656193/CI+Master
 # Workflow which controls starts nested workflows.
 name: master
 
modified.github/workflows/codestyle_v2.ymldiffbeforeafterboth
--- a/.github/workflows/codestyle_v2.yml
+++ b/.github/workflows/codestyle_v2.yml
@@ -1,3 +1,4 @@
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837012/Code+style+testing
 # Nested workflow for checks related to formatting Rust code 
 
 name: cargo fmt
modified.github/workflows/dev-build-tests_v2.ymldiffbeforeafterboth
--- a/.github/workflows/dev-build-tests_v2.yml
+++ b/.github/workflows/dev-build-tests_v2.yml
@@ -1,15 +1,11 @@
 # Integration test in --dev mode
-# https://cryptousetech.atlassian.net/browse/CI-12
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586411104/Integration+tests
 name: yarn test dev
 
 # Triger: only call from main workflow(re-usable workflows)
 on:
   workflow_call:
-
 
-#Define Workflow variables
-env:
-  REPO_URL: ${{ github.server_url }}/${{ github.repository }}
 
 
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel
modified.github/workflows/forkless-update-data_v2.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-data_v2.yml
+++ b/.github/workflows/forkless-update-data_v2.yml
@@ -1,5 +1,5 @@
 # Forkless update with data replication
-# https://cryptousetech.atlassian.net/browse/CI-42
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586869792/Forkless+update+with+data
 
 # Triger: only call from main workflow(re-usable workflows)
 on:
modified.github/workflows/forkless-update-nodata_v2.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-nodata_v2.yml
+++ b/.github/workflows/forkless-update-nodata_v2.yml
@@ -1,14 +1,10 @@
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837021/Forkless+update+without+data
 # Forkless update without data replication
-# https://cryptousetech.atlassian.net/browse/CI-41
 
 # Triger: only call from main workflow(re-usable workflows)
 on:
   workflow_call:
-
 
-#Define Workflow variables
-env:
-  REPO_URL: ${{ github.server_url }}/${{ github.repository }}
 
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel
 jobs:
modified.github/workflows/market-test_v2.ymldiffbeforeafterboth
--- a/.github/workflows/market-test_v2.yml
+++ b/.github/workflows/market-test_v2.yml
@@ -1,4 +1,4 @@
-#https://cryptousetech.atlassian.net/browse/CI-37
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586509375/Market+e2e+test
 # Nested workflow for lunching Market e2e tests from external repository https://github.com/UniqueNetwork/market-e2e-tests
 
 name: market api tests
modified.github/workflows/node-only-update_v2.ymldiffbeforeafterboth
--- a/.github/workflows/node-only-update_v2.yml
+++ b/.github/workflows/node-only-update_v2.yml
@@ -1,4 +1,4 @@
-# https://cryptousetech.atlassian.net/browse/CI-85
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837028/Nodes+only+update
 # Node only update with restart polkadot-launch process.
 
 name: nodes-only update
modified.github/workflows/test_codestyle_v2.ymldiffbeforeafterboth
--- a/.github/workflows/test_codestyle_v2.yml
+++ b/.github/workflows/test_codestyle_v2.yml
@@ -1,3 +1,4 @@
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586804253/Yarn+eslint
 # Yarn Eslint over tests
 #
 name: yarn eslint
modified.github/workflows/try-runtime_v2.ymldiffbeforeafterboth
before · .github/workflows/try-runtime_v2.yml
1# Try-runtime checks2# https://cryptousetech.atlassian.net/browse/CI-3834# Triger: only call from main workflow(re-usable workflows)5on:6  workflow_call:78# A workflow run is made up of one or more jobs that can run sequentially or in parallel9jobs:10  try-runtime:11    # The type of runner that the job will run on12    runs-on: self-hosted-ci13    14    name: ${{ matrix.network }}-try-runtime1516    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.1718    strategy:19      matrix:20        include:21          - network: opal22            features: opal-runtime23            replica_from_address: wss://eu-ws-opal.unique.network:44324          - network: quartz25            features: quartz-runtime26            replica_from_address: wss://eu-ws-quartz.unique.network:44327          - network: unique28            features: unique-runtime29            replica_from_address: wss://eu-ws.unique.network:4433031    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@v338        with:39          ref: ${{ github.head_ref }}  #Checking out head commit4041      - name: Read .env file42        uses: xom9ikk/dotenv@v1.0.24344      - name: Generate ENV related extend file for docker-compose45        uses: cuchi/jinja2-action@v1.2.046        with:47          template: .docker/docker-compose.try-runtime.j248          output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml49          variables: |50            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}51            FEATURE=${{ matrix.features }}52            REPLICA_FROM=${{ matrix.replica_from_address }}5354      - name: Show build configuration55        run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml5657      - name: Build the stack58        run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up --build  --force-recreate --timeout 300 --remove-orphans --exit-code-from try-runtime59 60      - name: Collect Docker Logs61        if: success() || failure()62        uses: jwalton/gh-docker-logs@v2.2.063        with:64          dest: './try-runtime-logs.${{ matrix.network }}'65          images: 'try-runtime' 6667      - name: Show docker logs68        run: cat './try-runtime-logs.${{ matrix.network }}/try-runtime.log'6970      - name: Stop running containers71        if: always()                   # run this step always72        run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" down73        74      - name: Remove builder cache75        if: always()                   # run this step always76        run: |77          docker builder prune -f -a78          docker system prune -f79          docker image prune -f -a
after · .github/workflows/try-runtime_v2.yml
1# Try-runtime checks2# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2587656213/Try+runtime34# Triger: only call from main workflow(re-usable workflows)5on:6  workflow_call:78# A workflow run is made up of one or more jobs that can run sequentially or in parallel9jobs:10  try-runtime:11    # The type of runner that the job will run on12    runs-on: self-hosted-ci13    14    name: ${{ matrix.network }}-try-runtime1516    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.1718    strategy:19      matrix:20        include:21          - network: opal22            features: opal-runtime23            replica_from_address: wss://eu-ws-opal.unique.network:44324          - network: quartz25            features: quartz-runtime26            replica_from_address: wss://eu-ws-quartz.unique.network:44327          - network: unique28            features: unique-runtime29            replica_from_address: wss://eu-ws.unique.network:4433031    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@v338        with:39          ref: ${{ github.head_ref }}  #Checking out head commit4041      - name: Read .env file42        uses: xom9ikk/dotenv@v1.0.24344      - name: Generate ENV related extend file for docker-compose45        uses: cuchi/jinja2-action@v1.2.046        with:47          template: .docker/docker-compose.try-runtime.j248          output_file: .docker/docker-compose.try-runtime.${{ matrix.network }}.yml49          variables: |50            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}51            FEATURE=${{ matrix.features }}52            REPLICA_FROM=${{ matrix.replica_from_address }}5354      - name: Show build configuration55        run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml5657      - name: Build the stack58        run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up --build  --force-recreate --timeout 300 --remove-orphans --exit-code-from try-runtime59 60      - name: Collect Docker Logs61        if: success() || failure()62        uses: jwalton/gh-docker-logs@v2.2.063        with:64          dest: './try-runtime-logs.${{ matrix.network }}'65          images: 'try-runtime' 6667      - name: Show docker logs68        run: cat './try-runtime-logs.${{ matrix.network }}/try-runtime.log'6970      - name: Stop running containers71        if: always()                   # run this step always72        run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" down73        74      - name: Remove builder cache75        if: always()                   # run this step always76        run: |77          docker builder prune -f -a78          docker system prune -f79          docker image prune -f -a
modified.github/workflows/unit-test_v2.ymldiffbeforeafterboth
--- a/.github/workflows/unit-test_v2.yml
+++ b/.github/workflows/unit-test_v2.yml
@@ -1,3 +1,4 @@
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586738699/Unit+Tests
 # Re-Usable Workflow for lanching Unit tests
 name: unit tests