difftreelog
Change Job Timeout. Add timeout before docker log collection and restart.
in: master
1 file changed
.github/workflows/node-only-update_v2.ymldiffbeforeafterboth49495050515152 timeout-minutes: 138052 timeout-minutes: 2880535354 name: ${{ matrix.network }}54 name: ${{ matrix.network }}5555186186187 - name: Send SIGUSR1 to polkadot-launch process187 - name: Send SIGUSR1 to polkadot-launch process188 if: success() || failure()188 if: success() || failure()189 run: |189 run: |190 ContainerID=$(docker ps -aqf "name=node-parachain")190 ContainerID=$(docker ps -aqf "name=node-parachain")191 PID=$(docker exec node-parachain pidof 'polkadot-launch')191 PID=$(docker exec node-parachain pidof 'polkadot-launch')192 echo "Polkadot-launch PID: $PID"192 sleep 30s193 echo -e "Show logs of node-parachain container.\n"194 docker logs ${ContainerID}195 echo -e "\n"196 echo -e "Restart polkadot-launch process: $PID\n"193 docker exec node-parachain kill -SIGUSR1 ${PID}197 docker exec node-parachain kill -SIGUSR1 ${PID}194 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"198 echo -e "SIGUSR1 sent to Polkadot-launch PID: $PID\n"195 docker logs ${ContainerID}199 echo -e "Get node-parachain logs:\n"196 200 docker logs -t -n 5 ${ContainerID}201 197 - name: Get chain logs202 - name: Get chain logs198 if: failure() # run this step only at failure203 if: failure() # run this step only at failure