-
Notifications
You must be signed in to change notification settings - Fork 36
Update CI to use Connext 7.7.0 #844
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
Merged
cottsay
merged 10 commits into
ros2:master
from
fgallegosalido:feature/843-update-rti-connext
Apr 6, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7eee967
Update CI to use Connext 7.7.0
fgallegosalido f1d9d1d
Merge branch 'ros2:master' into feature/843-update-rti-connext
fgallegosalido 164d2c9
Use correct package name for the security plugins
fgallegosalido 1ab5c64
Merge branch 'feature/843-update-rti-connext' of github.com:fgallegos…
fgallegosalido 042cf5a
Use correct OpenSSL version numbers in the RTI packages
fgallegosalido e91e2a7
Update connext package submodules for 7.7.0
cottsay d583e57
Merge branch 'master' into feature/843-update-rti-connext
cottsay 2c58d2d
Fix variables for base and target architectures
fgallegosalido aec3880
Add script to handle new connext versions
MarcosRigal b09757c
Fix issue with ROS_DISTRO arg always taking default value
MarcosRigal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule rticonnextdds-src
updated
from 3d367a to 6bad89
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 95 additions & 0 deletions
95
windows_docker_resources/rti_web_binaries_install_script.ps1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| param( | ||
| [Parameter(Mandatory = $true)] | ||
| [string]$RosDistro | ||
| ) | ||
|
|
||
| $ErrorActionPreference = "Stop" | ||
|
|
||
| Write-Host "Installing Connext for ROS distro: $RosDistro" | ||
|
|
||
| $connextRoot = "C:\connext" | ||
| $tempRoot = "C:\TEMP\rticonnextdds-src" | ||
| $licenseFile = "C:\connext\rti_license.dat" | ||
|
|
||
| if ($RosDistro -eq "kilted") { | ||
| $ConnextVersion = "7.3.0" | ||
| $OpenSslVersion = "3.0.12" | ||
| $ConnextDir = "C:\connext\rti_connext_dds-7.3.0" | ||
| $OpenSslBin = "C:\connext\openssl-3.0.12\x64Win64VS2017\bin" | ||
| $OpenSslLib = "C:\connext\openssl-3.0.12\x64Win64VS2017\lib" | ||
|
|
||
| $HostInstaller = "rti_connext_dds-7.3.0-pro-host-x64Win64.exe" | ||
| $TargetInstaller = "rti_connext_dds-7.3.0-pro-target-x64Win64VS2017.rtipkg" | ||
| $OpenSslHostInstaller = "openssl-3.0.12-7.3.0-host-x64Win64.rtipkg" | ||
| $OpenSslTargetInstaller = "openssl-3.0.12-7.3.0-target-x64Win64VS2017.rtipkg" | ||
| $SecurityHostInstaller = "rti_security_plugins-7.3.0-host-x64Win64.rtipkg" | ||
| $SecurityTargetInstaller = "rti_security_plugins-7.3.0-target-x64Win64VS2017.rtipkg" | ||
| } | ||
| else { | ||
| $ConnextVersion = "7.7.0" | ||
| $OpenSslVersion = "3.5.5" | ||
| $ConnextDir = "C:\connext\rti_connext_dds-7.7.0" | ||
| $OpenSslBin = "C:\connext\openssl-3.5.5\x64Win64VS2017\bin" | ||
| $OpenSslLib = "C:\connext\openssl-3.5.5\x64Win64VS2017\lib" | ||
|
|
||
| $HostInstaller = "rti_connext_dds-7.7.0-pro-host-x64Win64.exe" | ||
| $TargetInstaller = "rti_connext_dds-7.7.0-pro-target-x64Win64VS2017.rtipkg" | ||
| $OpenSslHostInstaller = "openssl-3.5.5-7.7.0-host-x64Win64.rtipkg" | ||
| $OpenSslTargetInstaller = "openssl-3.5.5-7.7.0-target-x64Win64VS2017.rtipkg" | ||
| $SecurityHostInstaller = "rti_security_plugins-7.7.0-host-openssl-3.5-x64Win64.rtipkg" | ||
| $SecurityTargetInstaller = "rti_security_plugins-7.7.0-target-openssl-3.5-x64Win64VS2017.rtipkg" | ||
| } | ||
|
|
||
| Write-Host "Selected Connext version: $ConnextVersion" | ||
| Write-Host "Selected OpenSSL version: $OpenSslVersion" | ||
|
|
||
| [Environment]::SetEnvironmentVariable("RTI_LICENSE_FILE", $licenseFile, "Machine") | ||
| [Environment]::SetEnvironmentVariable("CONNEXTDDS_DIR", $ConnextDir, "Machine") | ||
| [Environment]::SetEnvironmentVariable("RTI_OPENSSL_BIN", $OpenSslBin, "Machine") | ||
| [Environment]::SetEnvironmentVariable("RTI_OPENSSL_LIB", $OpenSslLib, "Machine") | ||
|
|
||
| $env:RTI_LICENSE_FILE = $licenseFile | ||
| $env:CONNEXTDDS_DIR = $ConnextDir | ||
| $env:RTI_OPENSSL_BIN = $OpenSslBin | ||
| $env:RTI_OPENSSL_LIB = $OpenSslLib | ||
|
|
||
| if (-not (Test-Path $connextRoot)) { | ||
| New-Item -ItemType Directory -Path $connextRoot | Out-Null | ||
| } | ||
|
|
||
| if (-not (Test-Path "C:\TEMP")) { | ||
| New-Item -ItemType Directory -Path "C:\TEMP" | Out-Null | ||
| } | ||
|
|
||
| $hostInstallerBase = Join-Path $tempRoot $HostInstaller | ||
| $targetInstallerBase = Join-Path $tempRoot $TargetInstaller | ||
|
|
||
| Write-Host "Reassembling split installer files..." | ||
| cmd /c "copy /b ${hostInstallerBase}.??? ${hostInstallerBase}" | ||
| cmd /c "copy /b ${targetInstallerBase}.??? ${targetInstallerBase}" | ||
|
|
||
| Write-Host "Installing Connext host package..." | ||
| Start-Process -FilePath $hostInstallerBase ` | ||
| -ArgumentList "--mode unattended --unattendedmodeui minimalWithDialogs --prefix $connextRoot" ` | ||
| -Wait ` | ||
| -NoNewWindow | ||
|
|
||
| $rtipkginstall = Join-Path $ConnextDir "bin\rtipkginstall.bat" | ||
|
|
||
| Write-Host "Installing OpenSSL host package..." | ||
| cmd /c """$rtipkginstall"" -u ""$(Join-Path $tempRoot $OpenSslHostInstaller)""" | ||
|
|
||
| Write-Host "Installing OpenSSL target package..." | ||
| cmd /c """$rtipkginstall"" -u ""$(Join-Path $tempRoot $OpenSslTargetInstaller)""" | ||
|
|
||
| Write-Host "Installing Connext target package..." | ||
| cmd /c """$rtipkginstall"" -u ""$(Join-Path $tempRoot $TargetInstaller)""" | ||
|
|
||
| Write-Host "Installing Security Plugins host package..." | ||
| cmd /c """$rtipkginstall"" -u ""$(Join-Path $tempRoot $SecurityHostInstaller)""" | ||
|
|
||
| Write-Host "Installing Security Plugins target package..." | ||
| cmd /c """$rtipkginstall"" -u ""$(Join-Path $tempRoot $SecurityTargetInstaller)""" | ||
|
|
||
| Write-Host "Connext installation completed successfully." | ||
| Write-Host "CONNEXTDDS_DIR=$ConnextDir" |
Submodule rticonnextdds-src
updated
from 78e941 to 47d39b
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this would switch all future builds to using 7.7.0 on Windows. I think that would prevent us from building patch releases for older distributions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @cottsay, it’s getting late here in Spain, so I’ll take a closer look tomorrow and see if there’s a better way to handle this.
Regarding the Ubuntu failure, it seems it’s trying to use Connext 7.7 when it should be picking up 7.3. I’ll investigate and propose a fix once I’m back online.