CI: add serial numbers for both connected HackRFs
This commit is contained in:
@ -3,7 +3,7 @@ FROM ubuntu:20.04
|
||||
CMD ["/bin/bash"]
|
||||
|
||||
# Override interactive installations and install prerequisites
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
@ -19,5 +19,9 @@ RUN apt-get update && apt-get install -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN pip3 install git+https://github.com/CapableRobot/CapableRobot_USBHub_Driver --upgrade
|
||||
|
||||
# Serial numbers for EUT and TESTER devices connected to the test server
|
||||
ENV EUT=RunningFromRAM
|
||||
ENV TESTER=0000000000000000325866e629a25623
|
||||
|
||||
# Inform Docker that the container is listening on port 8080 at runtime
|
||||
EXPOSE 8080
|
||||
|
@ -3,7 +3,7 @@ host/build/hackrf-tools/src/hackrf_spiflash -w firmware/hackrf_usb/build/hackrf_
|
||||
EXIT_CODE="$?"
|
||||
if [ "$EXIT_CODE" == "1" ]
|
||||
then
|
||||
echo "No GreatFET found! Disconnected? Exiting.."
|
||||
echo "No HackRF found! Disconnected? Exiting.."
|
||||
exit $EXIT_CODE
|
||||
elif [ "$EXIT_CODE" == "0" ]
|
||||
then
|
||||
@ -13,6 +13,6 @@ then
|
||||
echo "Host tool installation failed! Exiting.."
|
||||
exit $EXIT_CODE
|
||||
else
|
||||
echo "god have mercy on your soul"
|
||||
echo "Unknown error"
|
||||
exit $EXIT_CODE
|
||||
fi
|
Reference in New Issue
Block a user