Skip to content

Commit

Permalink
Merge branch 'ros-industrial:master' into patch-7
Browse files Browse the repository at this point in the history
  • Loading branch information
mosfet80 authored Dec 27, 2024
2 parents 88e1950 + 53cd3f1 commit c61c938
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions industrial_ci/src/isolation/docker.env
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ HASHKEY_SKS
IMMEDIATE_TEST_OUTPUT
NOT_TEST_BUILD
NOT_TEST_DOWNSTREAM
OS_NAME
OS_CODE_NAME
PARALLEL_BUILDS
PARALLEL_TESTS
PIP_BREAK_SYSTEM_PACKAGES
Expand Down
10 changes: 9 additions & 1 deletion industrial_ci/src/ros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ function _set_ros_defaults {
"noetic")
_ros1_defaults "focal"
export ROS_PYTHON_VERSION=3
if [ "$OS_NAME" = "debian" ]; then
_ros_is_eol "noetic/2023-03-02"
export ROS_VERSION_FINAL_DEBIAN=true
fi
;;
"ardent")
_ros2_defaults "xenial"
Expand Down Expand Up @@ -123,7 +127,11 @@ function _set_ros_defaults {
}

function _use_snapshot() {
export ROS_REPOSITORY_PATH="http://snapshots.ros.org/${ROS_DISTRO?ROS_DISTRO needs to be set}/$1/ubuntu"
local osname="ubuntu"
if [ "$1" = "$ROS_VERSION_FINAL" ] && [ "${ROS_VERSION_FINAL_DEBIAN:-false}" = true ]; then
osname="debian"
fi
export ROS_REPOSITORY_PATH="http://snapshots.ros.org/${ROS_DISTRO?ROS_DISTRO needs to be set}/$1/$osname"
export ROS_REPOSITORY_KEY="$ICI_SRC_PATH/keys/snapshots.asc"
}

Expand Down

0 comments on commit c61c938

Please sign in to comment.