Add a pixi toml url to the build parameter arguments (ported from #839)#841
Add a pixi toml url to the build parameter arguments (ported from #839)#841
Conversation
|
The idea is that we will try to deploy this particular branch on one of the test_ci jobs just to try it out since there is no CI to this PR. So we can wait with merging this PR after we have looked and settled that |
55973ff to
3d20cf7
Compare
|
@knmcguire, I rebased this to make it easier to deploy to the |
|
Deployed here: https://ci.ros2.org/job/test_ci_windows/ |
|
Thanks! And good we tested it out here because it indeed fails! I will look into it 😄 |
|
Still testing things out in the test ci! the latest github outages delayed that a bit, so as soon as I confirm this working I'll convert it back to 'ready for review' |
|
@knmcguire I think what is missing is to correctly set the new variable as See the reference ci/job_templates/ci_job.xml.em Lines 175 to 177 in db24a7c |
|
Ah yes, but that is the part for the Linux docker build. For the windows docker ci/job_templates/ci_job.xml.em Line 250 in 2f86d08 Which I didn't want to add the pixi_toml_url by standard hence I added it as an conditional here : I'll try to dig it in it a bit further |
|
@cottsay or @claraberendsen could you deploy this job again to test_ci_windows? It should work this time |
Done. |
|
Running again! I'm convieniently combining it with testing #845 |
|
And it builds with the new pixi.toml file! Before it would fail on MSVC 2022 because of the opencv version, but now we only see the nice 1800+ warnings, but that only confirms that it works. Also in the log you see that pixi has updated opencv to 4.10 as it should: I'll redo the last commit as that inconveniently indicates a very big change, but otherwise ready for review, merge and deploy! |
0692072 to
35ed69e
Compare
Generated-by: Claude Code Opus-4.5 (2025/11/01 release)
Assisted-by: Claude Code Sonnet-4.5 (2025/09/29 release)
35ed69e to
dda79a9
Compare
|
The force push was necessary to sign all my commits and also apply the same fix the packaging job Just a question though: Do we want to enable this for the ci_launcher as well? |
I would say that we probably want that since usually ROS devs use that to launch ci. |
|
I think it would be a nice to have to validate the url being passed to be https and a normal url format. This as to prevent possible man-in-the-middle attacks with http and have some sanitation of the user input. |
Assisted-by: Claude Code Sonnet-4.5 (2025/09/29 release)
|
I've added an url check in the docker file. Also I had to introduce the snippet parameters back in, but avoid using default parameters here. These are again quite some changes... we should double check with a test deploy? perhaps also with a test_ci_launcher as well (but then we might also need all the test_ci_linux, test_ci_linux-aarch64, test_ci_linux-rhel and test_ci_windows as well) |
See the description of #839
Ported to be a branch in ROS/ci so that we could more easily deploy it on a test ci job to test it out according to @claraberendsen