File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ _commands:
3333 - restore_cache :
3434 name : Restore Cache << parameters.key >>
3535 keys :
36- - " << parameters.key >>-v33 \
36+ - " << parameters.key >>-v34 \
3737 -{{ arch }}\
3838 -{{ .Branch }}\
3939 -{{ .Environment.CIRCLE_PR_NUMBER }}\
4040 -{{ checksum \" << parameters.workspace >>/lockfile.txt\" }}"
41- - " << parameters.key >>-v33 \
41+ - " << parameters.key >>-v34 \
4242 -{{ arch }}\
4343 -main\
4444 -<no value>\
@@ -58,7 +58,7 @@ _commands:
5858 steps :
5959 - save_cache :
6060 name : Save Cache << parameters.key >>
61- key : " << parameters.key >>-v33 \
61+ key : " << parameters.key >>-v34 \
6262 -{{ arch }}\
6363 -{{ .Branch }}\
6464 -{{ .Environment.CIRCLE_PR_NUMBER }}\
Original file line number Diff line number Diff line change @@ -45,6 +45,19 @@ APT::Install-Suggests "0";\n\
4545' > /etc/apt/apt.conf.d/01norecommend
4646ENV PYTHONUNBUFFERED 1
4747
48+ # Fix ROS 2 keys
49+ RUN rm /etc/apt/sources.list.d/ros2-latest.list \
50+ && rm /usr/share/keyrings/ros2-latest-archive-keyring.gpg
51+
52+ RUN apt-get update \
53+ && apt-get install -y ca-certificates curl
54+
55+ RUN export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}' ) ;\
56+ curl -L -s -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb" \
57+ && apt-get update \
58+ && apt-get install /tmp/ros2-apt-source.deb \
59+ && rm -f /tmp/ros2-apt-source.deb
60+
4861# install CI dependencies
4962ARG RTI_NC_LICENSE_ACCEPTED=yes
5063RUN apt-get update && \
You can’t perform that action at this time.
0 commit comments