Skip to content

Commit

Permalink
Merge branch 'ci/locks-to-freezes' of github.com:UniqueNetwork/unique…
Browse files Browse the repository at this point in the history
…-chain into ci/locks-to-freezes
  • Loading branch information
Maksandre committed Jun 12, 2023
2 parents 9773e5a + fc3f880 commit 058c022
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/forkless-update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,14 @@ jobs:
run: |
counter=160
function check_container_status {
docker inspect -f {{.State.Running}} forkless-data
docker inspect -f {{.State.Running}} forkless-data-${{ matrix.network }}
}
function do_docker_logs {
docker logs --details forkless-data 2>&1
docker logs --details forkless-data-${{ matrix.network }} 2>&1
}
function is_started {
if [ "$(check_container_status)" == "true" ]; then
echo "Container: forkless-data RUNNING";
echo "Container: forkless-data-${{ matrix.network }} RUNNING";
echo "Check Docker logs"
DOCKER_LOGS=$(do_docker_logs)
if [[ ${DOCKER_LOGS} = *"🛸 PARACHAINS' RUNTIME UPGRADE TESTING COMPLETE 🛸"* ]];then
Expand All @@ -220,7 +220,7 @@ jobs:
return 1
fi
else
echo "Container forkless-data not RUNNING"
echo "Container forkless-data-${{ matrix.network }} not RUNNING"
echo "Halting all future checks"
exit 1
fi
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:

- name: Show Docker logs
if: success() || failure()
run: cat './forkless-parachain-upgrade-data-logs.${{ matrix.network }}/forkless-data.log'
run: cat './forkless-parachain-upgrade-data-logs.${{ matrix.network }}/forkless-data-${{ matrix.network }}.log'

- name: Stop running containers
if: always() # run this step always
Expand Down

0 comments on commit 058c022

Please sign in to comment.