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

difftreelog

Formating has been amended.

Alexander Aksenov2022-08-14parent: #72d7128.patch.diff
in: master

1 file changed

modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
134 - name: Check if docker logs consist logs related to Runtime Upgrade testing.134 - name: Check if docker logs consist logs related to Runtime Upgrade testing.
135 if: success()135 if: success()
136 run: |136 run: |
137 counter=160137 counter=160
138 function check_container_status {138 function check_container_status {
139 docker inspect -f {{.State.Running}} node-parachain139 docker inspect -f {{.State.Running}} node-parachain
140 }140 }
141 function do_docker_logs {141 function do_docker_logs {
142 docker logs --details node-parachain 2>&1142 docker logs --details node-parachain 2>&1
143 }143 }
144 function is_started {144 function is_started {
145 if [ "$(check_container_status)" == "true" ]; then145 if [ "$(check_container_status)" == "true" ]; then
146 echo "Container: node-parachain RUNNING";146 echo "Container: node-parachain RUNNING";
147 echo "Check Docker logs"147 echo "Check Docker logs"
157 exit 1157 exit 1
158 fi158 fi
159 exit 0159 exit 0
160 }160 }
161 while ! is_started; do161 while ! is_started; do
162 echo "Waiting for special message in log files "162 echo "Waiting for special message in log files "
163 sleep 30s163 sleep 30s
164 counter=$(( $counter - 1 ))164 counter=$(( $counter - 1 ))
165 echo "Counter: $counter"165 echo "Counter: $counter"