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

difftreelog

hanged unique mainnet release.

Alexander Aksenov2022-08-09parent: #7fec977.patch.diff
in: master

1 file changed

modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
before · .github/workflows/forkless-update-nodata.yml
1name: Forkless Parachain update with no data23# Controls when the action will run.4on:5 # Triggers the workflow on push or pull request events but only for the master branch6  pull_request:7    branches:8      - develop9    types:10      - opened11      - reopened12      - synchronize   #commit(s) pushed to the pull request1314  # Allows you to run this workflow manually from the Actions tab15  workflow_dispatch:1617#Define Workflow variables18env:19  RUST_TOOLCHAIN: nightly-2022-05-1120  REPO_URL: ${{ github.server_url }}/${{ github.repository }}21  POLKADOT_BUILD_BRANCH: release-v0.9.2422  POLKADOT_MAINNET_BRANCH: release-v0.9.25  # for unique-runtime23  UNIQUE_MAINNET_TAG: v92401024  KUSAMA_MAINNET_BRANCH: release-v0.9.26    # for для quartz-runtime25  QUARTZ_MAINNET_TAG: v9240122627# A workflow run is made up of one or more jobs that can run sequentially or in parallel28jobs:29  build:30    # The type of runner that the job will run on31    runs-on: self-hosted-ci3233    name: Build Container, Spin it Up an test3435    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.3637    strategy:38      matrix:39        include:40        #  - network: "Opal"41        #    features: "--features=opal-runtime"42        #    binary_version:43          - network: "Quartz"   # KUSAMA_MAINNET_BRANCH для quartz-runtime44            features: "--features=quartz-runtime"45            mainnet_branch: release-v0.9.2646            mainnet_tag: v92401247          - network: "Unique"   # POLKADOT_MAINNET_BRANCH для unique-runtime48            features: "--features=unique-runtime"49            mainnet_branch: release-v0.9.2550            mainnet_tag: v92401051525354    steps:55#      - name: Skip if pull request is in Draft56        # `if: github.event.pull_request.draft == true` should be kept here, at57        # the step level, rather than at the job level. The latter is not58        # recommended because when the PR is moved from "Draft" to "Ready to59        # review" the workflow will immediately be passing (since it was skipped),60        # even though it hasn't actually ran, since it takes a few seconds for61        # the workflow to start. This is also disclosed in:62        # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1763        # That scenario would open an opportunity for the check to be bypassed:64        # 1. Get your PR approved65        # 2. Move it to Draft66        # 3. Push whatever commits you want67        # 4. Move it to "Ready for review"; now the workflow is passing (it was68        #    skipped) and "Check reviews" is also passing (it won't be updated69        #    until the workflow is finished)70#        if: github.event.pull_request.draft == true71#        run: exit 17273      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it74      - uses: actions/checkout@v375        with:76          ref: ${{ github.head_ref }}  #Checking out head commit7778      - name: Generate ENV related extend file for docker-compose79        uses: cuchi/jinja2-action@v1.2.080        with:81          template: .docker/docker-compose.tmp-forkless.j282          output_file: .docker/docker-compose.${{ matrix.network }}.yml83          variables: |84            REPO_URL=${{ github.server_url }}/${{ github.repository }}.git85            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}86            POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}87            POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}88            MAINNET_TAG=${{ matrix.mainnet_tag }}89            MAINNET_BRANCH=${{ matrix.mainnet_branch }}90            FEATURE=${{ matrix.features }}91            BRANCH=${{ github.head_ref }}9293      - name: Show build configuration94        run: cat .docker/docker-compose.${{ matrix.network }}.yml9596      - name: Build the stack97        run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build9899100#      - name: Test Report101#        uses: phoenix-actions/test-reporting@v8102#        if: success() || failure()    # run this step even if previous step failed103#        with:104#          name: Tests ${{ matrix.network }}            # Name of the check run which will be created105#          path: tests/mochawesome-report/test-*.json    # Path to test results106#          reporter: mochawesome-json107#          fail-on-error: 'false'108#109#      - name: Read output variables110#        run: |111#          echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"112113      - name: Stop running containers114        if: always()                   # run this step always115        run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down
after · .github/workflows/forkless-update-nodata.yml
1name: Forkless Parachain update with no data23# Controls when the action will run.4on:5 # Triggers the workflow on push or pull request events but only for the master branch6  pull_request:7    branches:8      - develop9    types:10      - opened11      - reopened12      - synchronize   #commit(s) pushed to the pull request1314  # Allows you to run this workflow manually from the Actions tab15  workflow_dispatch:1617#Define Workflow variables18env:19  RUST_TOOLCHAIN: nightly-2022-05-1120  REPO_URL: ${{ github.server_url }}/${{ github.repository }}21  POLKADOT_BUILD_BRANCH: release-v0.9.2422  POLKADOT_MAINNET_BRANCH: release-v0.9.25  # for unique-runtime23  UNIQUE_MAINNET_TAG: v92401024  KUSAMA_MAINNET_BRANCH: release-v0.9.26    # for для quartz-runtime25  QUARTZ_MAINNET_TAG: v9240122627# A workflow run is made up of one or more jobs that can run sequentially or in parallel28jobs:29  build:30    # The type of runner that the job will run on31    runs-on: self-hosted-ci3233    name: Build Container, Spin it Up an test3435    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.3637    strategy:38      matrix:39        include:40        #  - network: "Opal"41        #    features: "--features=opal-runtime"42        #    binary_version:43          - network: "Quartz"   # KUSAMA_MAINNET_BRANCH для quartz-runtime44            features: "--features=quartz-runtime"45            mainnet_branch: release-v0.9.2646            mainnet_tag: v92401247          - network: "Unique"   # POLKADOT_MAINNET_BRANCH для unique-runtime48            features: "--features=unique-runtime"49            mainnet_branch: v92401050            mainnet_tag: v92401051525354    steps:55#      - name: Skip if pull request is in Draft56        # `if: github.event.pull_request.draft == true` should be kept here, at57        # the step level, rather than at the job level. The latter is not58        # recommended because when the PR is moved from "Draft" to "Ready to59        # review" the workflow will immediately be passing (since it was skipped),60        # even though it hasn't actually ran, since it takes a few seconds for61        # the workflow to start. This is also disclosed in:62        # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1763        # That scenario would open an opportunity for the check to be bypassed:64        # 1. Get your PR approved65        # 2. Move it to Draft66        # 3. Push whatever commits you want67        # 4. Move it to "Ready for review"; now the workflow is passing (it was68        #    skipped) and "Check reviews" is also passing (it won't be updated69        #    until the workflow is finished)70#        if: github.event.pull_request.draft == true71#        run: exit 17273      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it74      - uses: actions/checkout@v375        with:76          ref: ${{ github.head_ref }}  #Checking out head commit7778      - name: Generate ENV related extend file for docker-compose79        uses: cuchi/jinja2-action@v1.2.080        with:81          template: .docker/docker-compose.tmp-forkless.j282          output_file: .docker/docker-compose.${{ matrix.network }}.yml83          variables: |84            REPO_URL=${{ github.server_url }}/${{ github.repository }}.git85            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}86            POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}87            POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}88            MAINNET_TAG=${{ matrix.mainnet_tag }}89            MAINNET_BRANCH=${{ matrix.mainnet_branch }}90            FEATURE=${{ matrix.features }}91            BRANCH=${{ github.head_ref }}9293      - name: Show build configuration94        run: cat .docker/docker-compose.${{ matrix.network }}.yml9596      - name: Build the stack97        run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build9899100#      - name: Test Report101#        uses: phoenix-actions/test-reporting@v8102#        if: success() || failure()    # run this step even if previous step failed103#        with:104#          name: Tests ${{ matrix.network }}            # Name of the check run which will be created105#          path: tests/mochawesome-report/test-*.json    # Path to test results106#          reporter: mochawesome-json107#          fail-on-error: 'false'108#109#      - name: Read output variables110#        run: |111#          echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"112113      - name: Stop running containers114        if: always()                   # run this step always115        run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down