Expose all cmake variables
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Read the cmake_args lists in ros2_batch_job/packaging.py and ros2_batch_job/main.py, then the Jenkins parameter defaults in create_jenkins_job.py. Add those flags as job parameters and a helper so packaging vs CI jobs keep different defaults. Done when RelWithDebInfo, BUILD_TESTING and similar can be toggled in Jenkins instead of being hard-coded in the Python jobs.
Written by the indexing model from the issue text.
Description
Description
Currently there are an couple of cmake variables that are added at the level of the python scripts of the jobs which are silently added. We should expose them to be at the level of the parameters as default so that people can turn it on or off when testing things out.
Motivation
For this PR https://github.com/ros2/rosbag2/pull/2494, a CI was run to mimic the packaging job, however, it was not clear that additionally with the RelWithDebInfo, it was also -DBUILD_TESTING=OFF that was different to both the nightly and packaging job.
Design / Implementation Considerations
We should take these cmake_args
and add them to https://github.com/ros2/ci/blob/efcdc28473ab2d8ac42493e141687fbd0ecd4dbd/create_jenkins_job.py#L118. We would need to write a function to change the default with packaging and CI jobs.
Additional Information
No response
- Dominant language
- Python
- Stars
- 55
- Forks
- 40
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 6
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/ci
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Trying windows local docker running on win11May be free again @knmcguire claimed this 283 days ago, and no pull request is open. Open
-
Investigate long build time Windows (and fix it if we can)May be free again @knmcguire claimed this 290 days ago, and no pull request is open. Openenhancement
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
backend enhancement priority:P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
geolens-io/geolens#4161 ·
Maintainers usually reply within 1 day