difftreelog
Update try-runtime_v2.yml
in: master
1 file changed
.github/workflows/try-runtime_v2.ymldiffbeforeafterboth1# 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 }}1516 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