git.delta.rocks / unique-network / refs/commits / 1122e0d7b3e0

difftreelog

Workflow built-in Bash script has been updated.

Alexander Aksenov2022-08-11parent: #68ebb3e.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: |
122 function do_docker_logs {
123 DOCKER_LOGS=$(docker logs --details node-parachain 2>&1)
124 }
125 function is_started {
126 if [[ ${DOCKER_LOGS} != *"PARACHAINS' RUNTIME UPGRADE TESTING"* ]];then
127 return 0
128 fi
129 return 1
130 }
131 while ! is_started; do
132 echo "Waiting for "PARACHAINS' RUNTIME UPGRADE TESTING" in container logs"
133 sleep 15s
134 done
135 echo "Test completed."
136 exit 0
121 shell: bash137 shell: bash
122 run: |138
123 function do_docker_logs { DOCKER_LOGS=$(docker logs container node-parachain --details 2>&1)}
124 function is_started { if [[ ${DOCKER_LOGS} != *"RUNTIME UPGRADE TESTING"* ]];then return 0 fi return 1}
125 while ! is_started; do
126 echo "Waiting for "RUNTIME UPGRADE TESTING" in container logs"
127 sleep 15s
128 done
129 echo "Test completed."
130 exit 0
131139
132 - name: Collect Docker Logs140 - name: Collect Docker Logs
133 if: success() || failure()141 if: success() || failure()