Skip to content

Commit

Permalink
Check updates add in open PR
Browse files Browse the repository at this point in the history
  • Loading branch information
MSECode committed Dec 23, 2024
1 parent 3afaebf commit 340efd9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 24 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
then
element=$(echo $i | awk -F'/' '{print $3}' | tr -d '"' | tr -d '[' | tr -d ']')
image_path=dockerfile_images/$(echo $i | awk -F'/' '{print $2}' | tr -d '"' | tr -d '[' | tr -d ']')
echo "this is image_path as requested: $image_path"
element_flag=false
children_flag=false
children_image_flag=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ RUN cd ${PROJECTS_DIR}/robotology-superbuild &&\
-DROBOTOLOGY_USES_GAZEBO=OFF \
-DROBOTOLOGY_PROJECT_TAGS=${sbtag} \
-DFETCHCONTENT_QUIET:BOOL=ON \
#-DYCM_DIR=${INSTALL_DIR}/share/YCM \
-DYCM_USE_CMAKE_PROPOSED=ON \
&&\
# Build all the projects
Expand Down
5 changes: 1 addition & 4 deletions dockerfile_images/basic/superbuild-icubhead/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ COPY setup.sh ${ROBOTOLOGY_INITIALIZATION_FILE}
RUN mkdir ${PROJECTS_DIR} && cd ${PROJECTS_DIR} &&\
git clone https://github.com/robotology/robotology-superbuild.git &&\
cd robotology-superbuild &&\
git checkout ${release} -b ${release}_branch &&\
git checkout ${release} &&\
./scripts/install_apt_dependencies.sh &&\
mkdir build && cd build &&\
cmake .. \
Expand All @@ -53,15 +53,12 @@ RUN mkdir ${PROJECTS_DIR} && cd ${PROJECTS_DIR} &&\
-DNON_INTERACTIVE_BUILD:BOOL=ON \
-DROBOTOLOGY_ENABLE_CORE:BOOL=ON \
-DROBOTOLOGY_ENABLE_ICUB_HEAD:BOOL=ON \
-DROBOTOLOGY_ENABLE_DYNAMICS:BOOL=ON \
-DYCM_USE_DEPRECATED:BOOL=OFF \
-DROBOTOLOGY_USES_GAZEBO=OFF \
-DROBOTOLOGY_PROJECT_TAGS=${sbtag} \
-DYCM_EP_INSTALL_DIR=${INSTALL_DIR} \
-DENABLE_yarpmod_grabber:BOOL=ON \
&&\
# Build all the projects
cmake --build . --target update-all -- -j4 &&\
cmake --build . -- ${CMAKE_EXTRA_OPTIONS}

# Executing commands in chain makes compilation faster
Expand Down
3 changes: 1 addition & 2 deletions dockerfile_images/basic/superbuild-icubtest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG sbtag="none"
ARG metadata="none"

# Stage 1: build stage
FROM $SOURCE_IMG as builder
FROM $SOURCE_IMG AS builder

LABEL maintainer="[email protected], [email protected]"

Expand Down Expand Up @@ -57,7 +57,6 @@ RUN cd ${PROJECTS_DIR}/robotology-superbuild &&\
-DYCM_EP_INSTALL_DIR=${INSTALL_DIR} \
&&\
# Build all the projects
cmake --build . --target update-all -- -j4 &&\
cmake --build . -- ${CMAKE_EXTRA_OPTIONS}

# Stage 2: scratch stage
Expand Down
4 changes: 2 additions & 2 deletions dockerfile_images/basic/superbuild-ros2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ ARG ROS_DISTRO=humble
#ARG SUPERBUILD_IMG=icubteamcode/superbuild-icubhead:master-unstable_sources
ARG PROJECTS_DIR=/projects

FROM $START_IMG as superbuild_builder
FROM $ROS_IMG as ros_builder
FROM $START_IMG AS superbuild_builder
FROM $ROS_IMG AS ros_builder

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
13 changes: 0 additions & 13 deletions dockerfile_images/basic/superbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,6 @@ RUN mkdir ${PROJECTS_DIR} && cd ${PROJECTS_DIR} &&\
# This steps should theoretically help cleaning unecessary post-build files that are already installed and that can be eventually re-generated
RUN rm -rf ${PROJECTS_DIR}/robotology-superbuild/build/src &&\
echo "source ${INSTALL_DIR}/share/robotology-superbuild/setup.sh" >> $ROBOTOLOGY_INITIALIZATION_FILE


# Do we still need this repo from appsAway??
# RUN cd ${PROJECTS_DIR} && \
# git clone https://github.com/icub-tech-iit/appsAway.git && \
# cd appsAway/modules/checkRobotInterface && \
# mkdir build && cd build && \
# cmake .. \
# -G "$CMAKE_GENERATOR" \
# -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
# &&\
# cmake --build . -- ${CMAKE_EXTRA_OPTIONS} && \
# cp ./checkRobotInterface /usr/local/bin

# Stage 2: secondstage stage
FROM $START_IMG AS secondstage
Expand Down
3 changes: 1 addition & 2 deletions dockerfile_images/basic/superbuild/conf_build.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[sources]
START_IMG=ubuntu:jammy
; metadata={{steps.get_date.outputs.DATE_HOUR}}
metadata=$(cat DATE_TAG)
metadata={{steps.get_date.outputs.DATE_HOUR}}
release={{steps.get_version.outputs.VERSION}}
sbtag={{matrix.tag}}

Expand Down

0 comments on commit 340efd9

Please sign in to comment.