File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ This repo contains scripts that interact with the [GitHub Actions Runner](https:
55To set it up, connect a couple of STM32 devices to the runner machine and make sure they are visible when running the following command:
66
77``` sh
8- podman run --rm --entrypoint st-info --device /dev/bus/usb ghcr.io/osirisrtos/hardware-ci:latest --probe
8+ docker run --rm --entrypoint st-info --device /dev/bus/usb ghcr.io/osirisrtos/hardware-ci:latest --probe
99```
1010
1111Very likely, this will fail. The following steps will help you to make it work.
@@ -28,5 +28,5 @@ sudo udevadm control --reload-rules && sudo udevadm trigger
2828Verify that the devices are accessible now:
2929
3030``` sh
31- podman run --rm --entrypoint st-info --device /dev/bus/usb ghcr.io/osirisrtos/hardware-ci:latest --probe
31+ docker run --rm --entrypoint st-info --device /dev/bus/usb ghcr.io/osirisrtos/hardware-ci:latest --probe
3232```
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ set -eoux pipefail
44CONTAINER_NAME=" osiris-hardware-ci"
55
66# If there's any container with the same name, remove it.
7- if podman ps -aq -f name=" ^${CONTAINER_NAME} $" | grep -q . ; then
7+ if docker ps -aq -f name=" ^${CONTAINER_NAME} $" | grep -q . ; then
88 echo " Removing existing container ${CONTAINER_NAME} ..."
9- podman rm " ${CONTAINER_NAME} " || true
9+ docker rm " ${CONTAINER_NAME} " || true
1010fi
1111
12- podman run --rm --name " ${CONTAINER_NAME} " -d \
12+ docker run --rm --name " ${CONTAINER_NAME} " -d \
1313 -v " $( pwd) /chips.yml:/actions-runner/chips.yml:ro" \
1414 --device /dev/bus/usb \
1515 ghcr.io/osirisrtos/hardware-ci:latest \
You can’t perform that action at this time.
0 commit comments