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

no changes

modified.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