difftreelog
fix wait for exit code from try-runtime service
in: master
2 files changed
.docker/docker-compose.opal.ymldiffbeforeafterboth1version: "3.5"23services:4 node-parachain:5 build:6 args:7 - "RUST_TOOLCHAIN=nightly-2022-07-24"8 - "BRANCH=release-v927020"9 - "REPO_URL=https://github.com/UniqueNetwork/unique-chain.git"10 - "FEATURE=quartz-runtime"11 - "RUNTIME=quartz"12 - "POLKADOT_BUILD_BRANCH=release-v0.9.27"13 - "MAINNET_TAG="14 - "MAINNET_BRANCH=quartz-v924012-2"15 context: ../16 dockerfile: .docker/Dockerfile-parachain-upgrade17 image: node-parachain18 container_name: node-parachain19 volumes:20 - type: bind21 source: ./launch-config-forkless-nodata.json22 target: /polkadot-launch/launch-config.json23 read_only: true24 expose:25 - 994426 - 993327 ports:28 - 127.0.0.1:9944:994429 - 127.0.0.1:9933:993330 logging:31 options:32 max-size: "1m"33 max-file: "3".github/workflows/try-runtime.ymldiffbeforeafterboth--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -91,17 +91,17 @@
run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml
- name: Build the stack
- 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-orphans
-
+ 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
+
- name: Collect Docker Logs
if: success() || failure()
uses: jwalton/gh-docker-logs@v2.2.0
with:
- dest: './try-runtime-logs.${{ matrix.features }}'
+ dest: './try-runtime-logs.${{ matrix.network }}'
images: 'try-runtime'
- name: Show docker logs
- run: cat './try-runtime-logs.${{ matrix.features }}/try-runtime.log'
+ run: cat './try-runtime-logs.${{ matrix.network }}/try-runtime.log'
- name: Stop running containers
if: always() # run this step always