diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e9a61a..07c5937 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,8 +59,8 @@ melodic-catkin-build: script: - mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace" - cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/scout_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/hunter_base.git - cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make" melodic-catkin-isolated-build: @@ -71,8 +71,8 @@ melodic-catkin-isolated-build: script: - mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace" - cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/scout_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/hunter_base.git - cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install" noetic-catkin-build: @@ -83,8 +83,8 @@ noetic-catkin-build: script: - mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace" - cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/scout_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/hunter_base.git - cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make" noetic-catkin-isolated-build: @@ -95,6 +95,6 @@ noetic-catkin-isolated-build: script: - mkdir -p /catkin_ws/src && cd /catkin_ws/src && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_init_workspace" - cp -r /builds/$CI_PROJECT_PATH /catkin_ws/src/wrp_sdk - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/scout_base.git - - cd /catkin_ws/src && git clone https://gitlab.com/westonrobot/ros/hunter_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/scout_base.git + - cd /catkin_ws/src && git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/westonrobot/ros/hunter_base.git - cd /catkin_ws && /bin/bash -c "source /opt/ros/${ROS_DISTRO}/setup.bash; catkin_make_isolated --install" \ No newline at end of file