Skip to content

Commit

Permalink
Create shell scripts to update nav2 repos on release (space-ros#142).
Browse files Browse the repository at this point in the history
Now nav2 package versions can be updated with `./docker_update_nav2_repos.sh` script.
  • Loading branch information
xfiderek committed Oct 2, 2024
1 parent f6f2774 commit ab1c2c6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions navigation2/docker_update_nav2_repos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
SPACE_ROS_IMAGE="${SPACE_ROS_IMAGE:-osrf/space-ros:latest}"

docker run --rm \
-v ./:/home/spaceros-user/mount/ \
-w /home/spaceros-user/mount/ \
$SPACE_ROS_IMAGE \
bash -c './update_nav2_repos.sh'
1 change: 1 addition & 0 deletions navigation2/excluded-pkgs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nav2_rviz_plugins
1 change: 1 addition & 0 deletions navigation2/navigation2-pkgs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
navigation2
10 changes: 10 additions & 0 deletions navigation2/update_nav2_repos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

source $SPACEROS_DIR/install/setup.bash
SCRIPT_PATH="$SPACEROS_DIR/scripts"
bash $SCRIPT_PATH/generate-repos.sh \
--rosdistro $ROS_DISTRO \
--packages navigation2-pkgs.txt \
--excluded-packages excluded-pkgs.txt \
--outfile navigation2.repos \
--upstream false # this allows us to select specific sub-packages from a single repo

0 comments on commit ab1c2c6

Please sign in to comment.