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
before · .github/workflows/dev-build-tests_v2.yml
1# Integration test in --dev mode2# https://cryptousetech.atlassian.net/browse/CI-123name: yarn test dev45# Triger: only call from main workflow(re-usable workflows)6on:7  workflow_call:8910#Define Workflow variables11env:12  REPO_URL: ${{ github.server_url }}/${{ github.repository }}131415# A workflow run is made up of one or more jobs that can run sequentially or in parallel16jobs:17  18  dev_build_int_tests:19    # The type of runner that the job will run on20    runs-on: [self-hosted-ci,medium]21    timeout-minutes: 13802223    name: ${{ matrix.network }}2425    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.2627    strategy:28      matrix:29        include:30          - network: "opal"31            features: "opal-runtime"32          - network: "quartz"33            features: "quartz-runtime"34          - network: "unique"35            features: "unique-runtime"3637    steps:3839      - name: Clean Workspace40        uses: AutoModality/action-clean@v1.1.04142      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it43      - uses: actions/checkout@v344        with:45          ref: ${{ github.head_ref }}  #Checking out head commit4647      - name: Read .env file48        uses: xom9ikk/dotenv@v1.0.24950      - name: Generate ENV related extend file for docker-compose51        uses: cuchi/jinja2-action@v1.2.052        with:53          template: .docker/docker-compose.tmp-dev.j254          output_file: .docker/docker-compose.${{ matrix.network }}.yml55          variables: |56            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}57            FEATURE=${{ matrix.features }}58    5960      - name: Show build configuration61        run: cat .docker/docker-compose.${{ matrix.network }}.yml6263      - name: Build the stack64        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans6566      - uses: actions/setup-node@v367        with:68          node-version: 166970      - name: Run tests71        working-directory: tests72        run: |73          yarn install74          yarn add mochawesome75          node scripts/readyness.js76          echo "Ready to start tests"77          yarn polkadot-types78          NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}79        env:80          RPC_URL: http://127.0.0.1:9933/8182      - name: Test Report83        uses: phoenix-actions/test-reporting@v884        id: test-report85        if: success() || failure()    # run this step even if previous step failed86        with:87          name: int test results - ${{ matrix.network }}            # Name of the check run which will be created88          path: tests/mochawesome-report/test-*.json    # Path to test results89          reporter: mochawesome-json90          fail-on-error: 'false'9192      - name: Read output variables93        run: |94          echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"9596      - name: Stop running containers97        if: always()                   # run this step always98        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down99100      - name: Remove builder cache101        if: always()                   # run this step always102        run: |103          docker builder prune -f -a104          docker system prune -f105          docker image prune -f -a
after · .github/workflows/dev-build-tests_v2.yml
1# Integration test in --dev mode2# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586411104/Integration+tests3name: yarn test 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            features: "opal-runtime"28          - network: "quartz"29            features: "quartz-runtime"30          - network: "unique"31            features: "unique-runtime"3233    steps:3435      - name: Clean Workspace36        uses: AutoModality/action-clean@v1.1.03738      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it39      - uses: actions/checkout@v340        with:41          ref: ${{ github.head_ref }}  #Checking out head commit4243      - name: Read .env file44        uses: xom9ikk/dotenv@v1.0.24546      - name: Generate ENV related extend file for docker-compose47        uses: cuchi/jinja2-action@v1.2.048        with:49          template: .docker/docker-compose.tmp-dev.j250          output_file: .docker/docker-compose.${{ matrix.network }}.yml51          variables: |52            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}53            FEATURE=${{ matrix.features }}54    5556      - name: Show build configuration57        run: cat .docker/docker-compose.${{ matrix.network }}.yml5859      - name: Build the stack60        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans6162      - uses: actions/setup-node@v363        with:64          node-version: 166566      - name: Run tests67        working-directory: tests68        run: |69          yarn install70          yarn add mochawesome71          node scripts/readyness.js72          echo "Ready to start tests"73          yarn polkadot-types74          NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}75        env:76          RPC_URL: http://127.0.0.1:9933/7778      - name: Test Report79        uses: phoenix-actions/test-reporting@v880        id: test-report81        if: success() || failure()    # run this step even if previous step failed82        with:83          name: int test results - ${{ matrix.network }}            # Name of the check run which will be created84          path: tests/mochawesome-report/test-*.json    # Path to test results85          reporter: mochawesome-json86          fail-on-error: 'false'8788      - name: Read output variables89        run: |90          echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"9192      - name: Stop running containers93        if: always()                   # run this step always94        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down9596      - name: Remove builder cache97        if: always()                   # run this step always98        run: |99          docker builder prune -f -a100          docker system prune -f101          docker image prune -f -a
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
--- a/.github/workflows/try-runtime_v2.yml
+++ b/.github/workflows/try-runtime_v2.yml
@@ -1,5 +1,5 @@
 # Try-runtime checks
-# https://cryptousetech.atlassian.net/browse/CI-38
+# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2587656213/Try+runtime
 
 # Triger: only call from main workflow(re-usable workflows)
 on:
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