git.delta.rocks / unique-network / refs/commits / 3fb50d2df515

difftreelog

fix small make up

Alexander Aksenov2022-09-14parent: #2a07d1e.patch.diff
in: master

3 files changed

modified.github/workflows/ci-master.ymldiffbeforeafterboth
--- a/.github/workflows/ci-master.yml
+++ b/.github/workflows/ci-master.yml
@@ -18,16 +18,13 @@
     uses: ./.github/workflows/node-only-update_v2.yml
 
   forkless:
-    if: ${{ contains( github.event.pull_request.labels.*.name, 'forkless') }}
     uses: ./.github/workflows/forkless.yml
 
   canary:
-    if: ${{ contains( github.event.pull_request.labels.*.name, 'canary') }}
     uses: ./.github/workflows/canary.yml
     secrets: inherit # pass all secrets
 
   xcm:
-    if: ${{ contains( github.event.pull_request.labels.*.name, 'xcm') }}
     uses: ./.github/workflows/xcm.yml
     secrets: inherit # pass all secrets
 
modified.github/workflows/market-test_v2.ymldiffbeforeafterboth
before · .github/workflows/market-test_v2.yml
1name: market api tests23# Controls when the action will run.4on:5  workflow_call:678# A workflow run is made up of one or more jobs that can run sequentially or in parallel9jobs:1011  market_test:12    # The type of runner that the job will run on13    runs-on: [self-hosted-ci,large]14    timeout-minutes: 13801516    name: ${{ matrix.network }}    1718    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.19    20    strategy:21      matrix:22        include:23          - network: "opal"24            features: "opal-runtime"25#          - network: "quartz"26#            features: "quartz-runtime"27#          - network: "unique"28#            features: "unique-runtime"2930    steps:313233      - name: Clean Workspace34        uses: AutoModality/action-clean@v1.1.03536      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it37      - name: Checkout master repo38        uses: actions/checkout@master39        with:40          ref: ${{ github.head_ref }}  #Checking out head commit4142      - name: Checkout Market e2e tests43        uses: actions/checkout@v344        with:45          repository: 'UniqueNetwork/market-e2e-tests'46          ssh-key: ${{ secrets.GH_PAT }}47          path: 'qa-tests'48#          ref: 'master'49          ref: 'ci_test_v2'5051      - name: Read .env file52        uses: xom9ikk/dotenv@v1.0.253      54      - name: Copy qa-tests/.env.example to qa-tests/.env55        working-directory: qa-tests56        run: cp .env.docker .env57        58      - name: Generate ENV related extend file for docker-compose59        uses: cuchi/jinja2-action@v1.2.060        with:61          template: qa-tests/.docker/docker-compose.tmp-market.j262          output_file: qa-tests/.docker/docker-compose.${{ matrix.network }}.yml63          variables: |64            REPO_URL=${{ github.server_url }}/${{ github.repository }}.git65            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}66            POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}67            FEATURE=${{ matrix.features }}68            BRANCH=${{ github.head_ref }}697071      - name: Show build configuration72        working-directory: qa-tests73        run: cat .docker/docker-compose.${{ matrix.network }}.yml7475      - name: Start node-parachain76        working-directory: qa-tests77        run: docker-compose -f ".docker/docker-compose.market.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans --force-recreate node-parachain 78     79      - uses: actions/setup-node@v380        with:81          node-version: 16.178283      - name: Setup TypeScript84        working-directory: qa-tests85        run: |86          npm install -g ts-node87          npm install8889      - name: Copy qa-tests/.env.docker to qa-tests/.env90        working-directory: qa-tests91        run: | 92          rm -rf .env93          cp .env.docker .env9495      - name: Wait for chain up and running96        working-directory: tests97        run: |98          yarn install99          node scripts/readyness.js100          echo "Ready to start tests"101102      - name: Show content of .env file and Generate accounts103        working-directory: qa-tests104        run: |105          cat .env106          ts-node ./src/scripts/create-market-accounts.ts107108      - name: Copy qa-tests/.env to qa-tests/.env.docker109        working-directory: qa-tests110        run: | 111          rm -rf .env.docker112          cp .env .env.docker113114      - name: Get chain logs115        if: always()                   # run this step always116        run: |117          docker exec node-parachain cat /polkadot-launch/9944.log118          docker exec node-parachain cat /polkadot-launch/9945.log119          docker exec node-parachain cat /polkadot-launch/alice.log120          docker exec node-parachain cat /polkadot-launch/eve.log121          docker exec node-parachain cat /polkadot-launch/dave.log122          docker exec node-parachain cat /polkadot-launch/charlie.log123   124      - name: Deploy contracts125        run: |126          cd qa-tests127          ts-node ./src/scripts/deploy-contract.ts128129      - name: Timeout for debug130        if: failure()131        run: sleep 300s132133      - name: Import test data134        working-directory: qa-tests135        run: ts-node ./src/scripts/create-test-collections.ts136137      - name: Show content of qa-test .env138        working-directory: qa-tests139        run: cat .env140141      - name: Read qa -test .env file Before market start142        uses: xom9ikk/dotenv@v1.0.2143        with:144          path: qa-tests/145146147      - name: local-market:start148        run: docker-compose -f "qa-tests/.docker/docker-compose.market.yml" -f "qa-tests/.docker/docker-compose.${{ matrix.network }}.yml" up -d --build149150      - name: Wait for market readyness151        working-directory: qa-tests152        run: src/scripts/wait-market-ready.sh153        shell: bash154155      - name: Install dependecies156        working-directory: qa-tests157        run: |158          npm ci159          npm install -D @playwright/test160          npx playwright install-deps161          npx playwright install162163      - name: Show content of qa-test .env164        working-directory: qa-tests165        run: cat .env166          167      - name: Test API interface168        working-directory: qa-tests169        run: |170          npx playwright test --workers=8 --quiet .*.api.test.ts --reporter=github --config playwright.config.ts171172      - name: Timeout for debug173        if: failure()174        run: sleep 300s175176      - name: Stop running containers177        if: always()                   # run this step always178        run: docker-compose -f "qa-tests/.docker/docker-compose.market.yml" -f "qa-tests/.docker/docker-compose.${{ matrix.network }}.yml" down --volumes179180      - name: Remove builder cache181        if: always()                   # run this step always182        run: |183          docker builder prune -f184          docker system prune -f185186      - name: Clean Workspace187        if: always()188        uses: AutoModality/action-clean@v1.1.0189190191192
modified.github/workflows/xcm-tests_v2.ymldiffbeforeafterboth
--- a/.github/workflows/xcm-tests_v2.yml
+++ b/.github/workflows/xcm-tests_v2.yml
@@ -13,12 +13,6 @@
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel
 jobs:
 
-  xcm-build-results:
-    runs-on: medium
-    steps:
-      - name: print previous job results
-        run: echo ${{needs.xcm-testnet-build.result}}
-
   prepare-execution-marix:
 
     name: Prepare execution matrix