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

difftreelog

Added echo for debug

Alexander Aksenov2022-08-11parent: #f67fe0e.patch.diff
in: master

1 file changed

modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
118118
119 - name: Check if docker logs consist logs related to Runtime Upgrade testing.119 - name: Check if docker logs consist logs related to Runtime Upgrade testing.
120 if: success()120 if: success()
121 run: |121 run: |
122 function do_docker_logs {122 function do_docker_logs {
123 DOCKER_LOGS=$(docker logs --details node-parachain 2>&1)123 DOCKER_LOGS=$(docker logs --details node-parachain 2>&1)
124 }124 }
125 function is_started {125 function is_started {
126 if [[ ${DOCKER_LOGS} != *"RUNTIME UPGRADE TESTING"* ]];then126 if [[ ${DOCKER_LOGS} != *"RUNTIME UPGRADE TESTING"* ]];then
127 return 0127 echo "Function is_started: Return 0"
128 return 0
128 fi129 fi
130 echo "Function is_started: Return 1"
129 return 1131 return 1
130 }132 }
131 while ! is_started; do133 while ! is_started; do
132 echo "Waiting for "RUNTIME UPGRADE TESTING" in container logs"134 echo "Waiting for "RUNTIME UPGRADE TESTING" in container logs"
133 sleep 15s135 sleep 15s
134 done136 done
135 echo "Test completed."137 echo "Test completed."
136 exit 0 138 exit 0
137 shell: bash139 shell: bash
138140
139141