From 6bf5ba64c2847c654043609da9e06974927da95e Mon Sep 17 00:00:00 2001 From: Martin Pecka Date: Sun, 8 Jan 2023 19:24:09 +0100 Subject: [PATCH] Run rosdep init and update in build_and_test devel tasks Signed-off-by: Martin Pecka --- ros_buildfarm/templates/devel/devel_task.Dockerfile.em | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ros_buildfarm/templates/devel/devel_task.Dockerfile.em b/ros_buildfarm/templates/devel/devel_task.Dockerfile.em index 682df198c..c89b6a73c 100644 --- a/ros_buildfarm/templates/devel/devel_task.Dockerfile.em +++ b/ros_buildfarm/templates/devel/devel_task.Dockerfile.em @@ -109,6 +109,8 @@ RUN pip3 install -U auto_abi_checker # TODO(nuclearsandwich) add link to Debian bug report when one is opened. RUN which update-ccache-symlinks >/dev/null 2>&1 && update-ccache-symlinks +RUN rosdep init + USER buildfarm ENTRYPOINT ["sh", "-c"] @{ @@ -124,6 +126,7 @@ if not testing: if run_abichecker: cmd += ' --run-abichecker' else: + cmd = 'rosdep update && ' + cmd cmd += \ ' /tmp/ros_buildfarm/scripts/devel/build_and_test.py' + \ ' --rosdistro-name %s' % rosdistro_name + \