Commit c63a0e6e authored by Philipp Helios's avatar Philipp Helios

shell scripts should work now

parent eeaf00ea
Pipeline #188606 passed with stage
in 3 minutes and 45 seconds
docker exec -it carlacomponents /bin/bash -c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/carlacomponents/Bumpbot/ && rm -rf target && java -jar ../mw-generator.jar Bumpbot/Bumpbot.json && target/compile.sh && target/build/test_bumpBot/coordinator/Coordinator_test_bumpBot'
docker exec -it carlacomponents /bin/bash -c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/carlacomponents/Bumpbot/ && rm -rf target && mvn clean install -s settings.xml && Bumpbot/target/middleware/bumper_bumpBot/build/bumper_bumpBot/coordinator/Coordinator_bumper_bumpBot'
winpty docker exec \
-it carlacomponents \
bash \
-c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/carlacomponents/Autopilot/ && rm -rf target && cd .. && java -jar mw-generator.jar Autopilot/Autopilot.json && Autopilot/target/compile.sh && Autopilot/target/build/test_autopilot/coordinator/Coordinator_test_autopilot'
\ No newline at end of file
-c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/carlacomponents/Autopilot/ && rm -rf target && cd .. && mvn clean install -s settings.xml && Autopilot/target/build/test_autopilot/coordinator/Coordinator_test_autopilot'
\ No newline at end of file
winpty docker exec \
-it carlacomponents \
bash \
-c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/carlacomponents/Bumpbot/ && rm -rf target && cd .. && java -jar mw-generator.jar Bumpbot/Bumpbot.json && Bumpbot/target/compile.sh && Bumpbot/target/build/test_bumpBot/coordinator/Coordinator_test_bumpBot'
\ No newline at end of file
-c 'source /opt/ros/kinetic/setup.bash && cd /usr/src/carlacomponents/Bumpbot/ && rm -rf target && cd .. && mvn clean install -s settings.xml && Bumpbot/target/middleware/bumper_bumpBot/build/bumper_bumpBot/coordinator/Coordinator_bumper_bumpBot'
\ No newline at end of file
......@@ -24,7 +24,7 @@ RUN cp -r /opt/carla-ros-bridge/git/carla_ego_vehicle /opt/carla-ros-bridge/src/
RUN cp -r /opt/carla-ros-bridge/git/carla_waypoint_publisher /opt/carla-ros-bridge/src/carla_waypoint_publisher
# REPLACE WITH YOUR IP
RUN sed -i 's/localhost/134.61.74.137/g' /opt/carla-ros-bridge/src/carla_ros_bridge/config/settings.yaml
RUN sed -i 's/localhost/192.168.178.39/g' /opt/carla-ros-bridge/src/carla_ros_bridge/config/settings.yaml
RUN /bin/bash -c 'source /opt/ros/kinetic/setup.bash; cd /opt/carla-ros-bridge; catkin_make -DCMAKE_BUILD_TYPE=Release install'
# replace entrypoint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment