Skip to content

Commit 0897f9e

Browse files
committed
move cleanup
1 parent a70bbd2 commit 0897f9e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/templates/test/test_image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
set -e
33

44
docker pull -q $IMAGE:$TAG
5-
# docker run $IMAGE:$TAG /bin/bash -c "source /home/bolty/ament_ws/install/setup.bash; colcon test; colcon test-result --verbose"
6-
docker run $IMAGE:$TAG /bin/bash -c "source /opt/ros/\$ROS_DISTRO/setup.bash; source \$WATONOMOUS_INSTALL/setup.bash; colcon test; colcon test-result --verbose"
5+
docker run $IMAGE:$TAG /bin/bash -c "source /home/bolty/ament_ws/install/setup.bash; colcon test; colcon test-result --verbose"
6+
# docker run $IMAGE:$TAG /bin/bash -c "source /opt/ros/\$ROS_DISTRO/setup.bash; source \$WATONOMOUS_INSTALL/setup.bash; colcon test; colcon test-result --verbose"

docker/robot/robot.Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,14 @@ RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
6161
--cmake-args -DCMAKE_BUILD_TYPE=Release --install-base ${WATONOMOUS_INSTALL}
6262

6363
# Source and Build Artifact Cleanup
64-
RUN rm -rf src/* build/* devel/* install/* log/*
64+
# RUN rm -rf src/* build/* devel/* install/* log/*
6565

6666
# Entrypoint will run before any CMD on launch. Sources ~/opt/<ROS_DISTRO>/setup.bash and ~/ament_ws/install/setup.bash
6767
COPY docker/wato_ros_entrypoint.sh ${AMENT_WS}/wato_ros_entrypoint.sh
6868
ENTRYPOINT ["./wato_ros_entrypoint.sh"]
69+
70+
################################ Deploy ################################
71+
FROM build AS deploy
72+
73+
#move clean up later
74+
RUN rm -rf src/* build/* devel/* log/*

0 commit comments

Comments
 (0)