ros-industrial/industrial_ci

docker and static analysis

muttistefano opened this issue · 4 comments

Hi everyone,
im trying to integrate a software analysis tool(sonarcloud) into a github action that also includes industrial_ci to build a ROS package.
The problem is that the build is done into the docker, by industrial_ci, and after that i cannot access the build folder wich is needed by sonarcloud.
Is there a way to use industrial_ci without the docker part, or another work-around?
Thanks

Hi @muttistefano, Yes you can, by setting ISOLATION: "shell".

Here is an example, https://github.com/ros-industrial/easy_manipulation_deployment/blob/eu-conference/.github/workflows/build.yml

Note that the build folder will be in ~/target_ws/build instead of the default relative root path for the CI.

Hi @Briancbn , thank you, it is working without docker now.
Is there a chance this parameter is missing from the docs? or is it included and explained somewhere else?
Thanks

I don't think it is inside the docs, @mathias-luedtke. You are welcome to contribute:)

ISOLATION: "shell" is not documented, as it is/was a beta feature and needs special configuration.

If you just want to access the builds from the outside, you can specify BASEDIR.