Skip to content

Commit 6465790

Browse files
SITL CI: use tagged docker image instead of latest
1 parent 899fb8d commit 6465790

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

integrationtests/run_container.bash

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ if [ -z "$WORKSPACE" ]; then
1010
exit 1
1111
fi
1212

13+
IMAGE=px4io/px4-dev-ros:v1.0
14+
1315
# Pulling latest image
1416
echo "===> pull latest Docker image"
15-
docker pull px4io/px4-dev-ros
17+
docker pull $IMAGE
1618

1719
# removing some images might fail
1820
set +e
@@ -25,5 +27,5 @@ echo "<==="
2527
# Assuming that necessary source projects, including this one, are cloned in the build server workspace of this job.
2628
#
2729
echo "===> run container"
28-
docker run --rm -v "$WORKSPACE:/job:rw" px4io/px4-dev-ros bash "/job/Firmware/integrationtests/run_tests.bash" /job/Firmware
30+
docker run --rm -v "$WORKSPACE:/job:rw" $IMAGE bash "/job/Firmware/integrationtests/run_tests.bash" /job/Firmware
2931
echo "<==="

0 commit comments

Comments
 (0)