Expose all cmake variables

オープン
#905 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cmake, python
領域
ci-cd, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
55
フォーク
40
平均マージ
3日 5時間
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ros2/ci のほかの issue

ros2/ci の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。