Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker and static analysis #773

Open
muttistefano opened this issue Feb 4, 2022 · 4 comments
Open

docker and static analysis #773

muttistefano opened this issue Feb 4, 2022 · 4 comments

Comments

@muttistefano
Copy link

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

@Briancbn
Copy link
Member

Briancbn commented Feb 4, 2022

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.

@muttistefano
Copy link
Author

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

@Briancbn
Copy link
Member

Briancbn commented Feb 4, 2022

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

@mathias-luedtke
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants