File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,14 +50,13 @@ jobs:
5050 path : ./RockPaperScissors/AppKit-E8_USB/out
5151
5252 - name : Start the SDSIO server on the Raspberry Pi
53- working-directory : ./RockPaperScissors/AppKit-E8_USB
5453 run : |
55- if ! pgrep -f "sdsio-server.py --control SDS .sdsio.yml" > /dev/null; then
56- nohup python ~/../../ SDS-Framework/utilities/sdsio-server.py --control SDS.sdsio.yml > ./sdsio-server.log 2>&1 &
54+ if ! pgrep -f "sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USBSDS .sdsio.yml" > /dev/null; then
55+ nohup python ~/SDS-Framework/utilities/sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USB/ SDS.sdsio.yml > ./RockPaperScissors/AppKit-E8_USB/out /sdsio-server.log 2>&1 &
5756 sleep 2
5857 fi
59- pgrep -f "sdsio-server.py --control SDS.sdsio.yml"
60- tail -n 20 ./sdsio-server.log || true
58+ pgrep -f "sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USB/ SDS.sdsio.yml"
59+ tail -n 20 ./RockPaperScissors/AppKit-E8_USB/out/ sdsio-server.log || true
6160
6261 - name : Flash using pyOCD
6362 working-directory : ./RockPaperScissors/AppKit-E8_USB
7170
7271 - name : Stop the SDSIO server on the Raspberry Pi
7372 run : |
74- PIDS=$(pgrep -f "sdsio-server.py --control SDS.sdsio.yml") || true
73+ PIDS=$(pgrep -f "sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USB/ SDS.sdsio.yml") || true
7574 if [ -n "$PIDS" ]; then
7675 echo "Stopping SDSIO server (PIDs: $PIDS)"
7776 kill $PIDS
8281 - name : Show content of the sdsio-server.log file
8382 working-directory : ./RockPaperScissors/AppKit-E8_USB
8483 run : |
85- cat ./sdsio-server.log
84+ cat ./out/ sdsio-server.log
You can’t perform that action at this time.
0 commit comments