From 94bc7f52561d67865f1aaf7cc257c7c1c9bacaca Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Fri, 12 Aug 2022 10:36:34 +0000 Subject: [PATCH] Check script fix. --- --- a/.github/workflows/forkless-update-nodata.yml +++ b/.github/workflows/forkless-update-nodata.yml @@ -114,13 +114,6 @@ - name: Build the stack run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --force-recreate --timeout 300 - - name: Collect Docker Logs - if: failure() - uses: jwalton/gh-docker-logs@v2.2.0 - with: - dest: './forkless-parachain-update-nodata-logs.${{ matrix.features }}' - - - name: Check if docker logs consist logs related to Runtime Upgrade testing. if: success() run: | @@ -131,7 +124,7 @@ function is_started { echo "Check Docker logs" DOCKER_LOGS=$(do_docker_logs) - if [[ ${DOCKER_LOGS} = *"RUNTIME UPGRADE TESTING"* ]];then + if [[ ${DOCKER_LOGS} = *"RUNTIME UPGRADE TESTING COMPLETE"* ]];then echo "Function is_started: Return 0" return 0 fi @@ -150,7 +143,7 @@ fi done echo "Test completed." - exit 0 + exit 1 shell: bash - name: Collect Docker Logs -- gitstuff