Skip to content

Commit

Permalink
ci: don't build unnecessary packages (#150)
Browse files Browse the repository at this point in the history
* ci: check caret_analysis version

Signed-off-by: takeshi.iwanari <take.iwiw2222@gmail.com>

* ci: check caret_analysis version

Signed-off-by: takeshi.iwanari <take.iwiw2222@gmail.com>

* fix

Signed-off-by: takeshi.iwanari <take.iwiw2222@gmail.com>

---------

Signed-off-by: takeshi.iwanari <take.iwiw2222@gmail.com>
  • Loading branch information
iwatake2222 authored Dec 16, 2023
1 parent 490af75 commit 8c3db82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_autoware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Create tag
run: |
SHA=${{ github.sha }}
TAG=${IMAGE}_${{ matrix.ros_version }}:$(TZ=UTC-9 date '+%Y%m')-${SHA:0:7}
TAG=${IMAGE}_${{ matrix.ros_version }}:$(TZ=UTC-9 date '+%Y%m%d_%H%M%S')-${SHA:0:7}
echo "TAGS=$TAG" >> $GITHUB_ENV
echo TAG $TAG
Expand Down
4 changes: 4 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ RUN git clone https://github.com/tier4/caret.git ros2_caret_ws && \
vcs import src < caret.repos && \
. /opt/ros/"$ROS_DISTRO"/setup.sh && \
./setup_caret.sh -c && \
rm -rf src/ros2/ src/ros-tracing/ && \
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

RUN cd ros2_caret_ws/src/CARET/caret_analyze && \
git show --format='%H' --no-patch

COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 8c3db82

Please sign in to comment.