From 3bbeda08900d2c7af07ce524428932c3a011a2ab Mon Sep 17 00:00:00 2001 From: Brennan <brennanmk2200@gmail.com> Date: Mon, 22 Nov 2021 11:44:46 -0500 Subject: [PATCH] swapped to docker --- .gitlab-ci.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1849d9..c950617 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,31 +1,17 @@ -image: ros:noetic-robot -variables: - USE_ROSDEP : "false" # Here the package is useless, it is just for demonstration - -cache: - paths: - - ccache/ - -before_script: - - source /opt/ros/noetic/setup.bash - - source /home/grunner/catkin_ws/devel/setup.bash - -catkin_make: - stage: build - script: - - cd /home/grunner/catkin_ws - - catkin_make +image: osrf/ros:noetic-acomms-ci catkin run_tests: stage: test script: - - cd /home/grunner/catkin_ws/src/ros_acomms + - source /opt/ros/noetic/setup.bash + - cd ../ + - mv ltcodec ~/catkin_ws/src/ + - cd ~/catkin_ws/src/ros_acomms + - git pull - pip install -r requirements.txt - - roscd ltcodecs - - git reset --hard - - git fetch - - git checkout "$CI_COMMIT_BRANCH" - - cd /home/grunner/catkin_ws + - cd ~/catkin_ws/ + - catkin_make + - source ~/catkin_ws/devel/setup.bash - catkin_make - rosrun ltcodecs codecTest.py \ No newline at end of file -- GitLab