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

difftreelog

fix wait for exit code from try-runtime service

Alexander Aksenov2022-08-18parent: #2dce8e4.patch.diff
in: master

2 files changed

deleted.docker/docker-compose.opal.ymldiffbeforeafterboth
--- a/.docker/docker-compose.opal.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-version: "3.5"
-
-services:
-  node-parachain:
-    build:
-      args:
-        - "RUST_TOOLCHAIN=nightly-2022-07-24"
-        - "BRANCH=release-v927020"
-        - "REPO_URL=https://github.com/UniqueNetwork/unique-chain.git"
-        - "FEATURE=quartz-runtime"
-        - "RUNTIME=quartz"
-        - "POLKADOT_BUILD_BRANCH=release-v0.9.27"
-        - "MAINNET_TAG="
-        - "MAINNET_BRANCH=quartz-v924012-2"
-      context: ../
-      dockerfile: .docker/Dockerfile-parachain-upgrade
-    image: node-parachain
-    container_name: node-parachain
-    volumes:
-       - type: bind
-         source: ./launch-config-forkless-nodata.json
-         target: /polkadot-launch/launch-config.json
-         read_only: true
-    expose:
-      - 9944
-      - 9933
-    ports:
-      - 127.0.0.1:9944:9944
-      - 127.0.0.1:9933:9933
-    logging:
-      options:
-        max-size: "1m"
-        max-file: "3"
modified.github/workflows/try-runtime.ymldiffbeforeafterboth
91 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml91 run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml
9292
93 - name: Build the stack93 - name: Build the stack
94 run: docker-compose -f ".docker/docker-compose-try-runtime.yml" -f ".docker/docker-compose.try-runtime.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 300 --remove-orphans94 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-runtime
9595
96 - name: Collect Docker Logs96 - name: Collect Docker Logs
97 if: success() || failure()97 if: success() || failure()
98 uses: jwalton/gh-docker-logs@v2.2.098 uses: jwalton/gh-docker-logs@v2.2.0
99 with:99 with:
100 dest: './try-runtime-logs.${{ matrix.features }}'100 dest: './try-runtime-logs.${{ matrix.network }}'
101 images: 'try-runtime' 101 images: 'try-runtime'
102102
103 - name: Show docker logs103 - name: Show docker logs
104 run: cat './try-runtime-logs.${{ matrix.features }}/try-runtime.log'104 run: cat './try-runtime-logs.${{ matrix.network }}/try-runtime.log'
105105
106 - name: Stop running containers106 - name: Stop running containers
107 if: always() # run this step always107 if: always() # run this step always