Expose all cmake variables

Abierto
#905 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cmake, python
Área
ci-cd, devops

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
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

https://github.com/ros2/ci/blob/efcdc28473ab2d8ac42493e141687fbd0ecd4dbd/ros2_batch_job/packaging.py#L39

https://github.com/ros2/ci/blob/efcdc28473ab2d8ac42493e141687fbd0ecd4dbd/ros2_batch_job/__main__.py#L286

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

Lenguaje dominante
Python
Estrellas
55
Forks
40
Merge medio
3 d 5 h
PR fusionados (30 d)
6

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ros2/ci

Todos los issues de ros2/ci

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.