Skip to content

Commit f3e5f99

Browse files
cottsaybrawner
authored andcommitted
Install RTI Connext in Windows build containers
1 parent 52ef6f4 commit f3e5f99

File tree

8 files changed

+43
-10
lines changed

8 files changed

+43
-10
lines changed

.gitmodules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@
55
path = linux_docker_resources/rticonnextdds-license
66
url = [email protected]:osrf/rticonnextdds-src.git
77
branch = license
8+
[submodule "windows_docker_resources/rticonnextdds-src"]
9+
path = windows_docker_resources/rticonnextdds-src
10+
url = [email protected]:osrf/rticonnextdds-src.git
11+
branch = binaries/windows/amd64/5.3.1
12+
[submodule "windows_docker_resources/rticonnextdds-license"]
13+
path = windows_docker_resources/rticonnextdds-license
14+
url = [email protected]:osrf/rticonnextdds-src.git
15+
branch = license

job_templates/ci_job.xml.em

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,16 @@
5858
<url></url>
5959
</browser>
6060
<submoduleCfg class="list"/>
61-
<extensions>@
62-
@[if os_name != 'windows']
61+
<extensions>
6362
<hudson.plugins.git.extensions.impl.SubmoduleOption>
6463
<disableSubmodules>false</disableSubmodules>
6564
<recursiveSubmodules>true</recursiveSubmodules>
6665
<trackingSubmodules>false</trackingSubmodules>
6766
<reference/>
68-
<parentCredentials>false</parentCredentials>
67+
<parentCredentials>true</parentCredentials>
6968
<shallow>false</shallow>
7069
</hudson.plugins.git.extensions.impl.SubmoduleOption>
71-
@
72-
@[end if]</extensions>
70+
</extensions>
7371
</scm>
7472
<assignedNode>@(label_expression)</assignedNode>
7573
<canRoam>false</canRoam>

job_templates/packaging_job.xml.em

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,16 @@ All packages listed here have to be available from either the primary or supplem
7676
<url></url>
7777
</browser>
7878
<submoduleCfg class="list"/>
79-
<extensions>@
80-
@[if os_name != 'windows']
79+
<extensions>
8180
<hudson.plugins.git.extensions.impl.SubmoduleOption>
8281
<disableSubmodules>false</disableSubmodules>
8382
<recursiveSubmodules>true</recursiveSubmodules>
8483
<trackingSubmodules>false</trackingSubmodules>
8584
<reference/>
86-
<parentCredentials>false</parentCredentials>
85+
<parentCredentials>true</parentCredentials>
8786
<shallow>false</shallow>
8887
</hudson.plugins.git.extensions.impl.SubmoduleOption>
89-
@
90-
@[end if]</extensions>
88+
</extensions>
9189
</scm>
9290
<assignedNode>@(label_expression)</assignedNode>
9391
<canRoam>false</canRoam>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*/.git
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*/.git

windows_docker_resources/Dockerfile.msvc2019

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,31 @@ RUN choco upgrade -y all
119119

120120
RUN python -m pip install -U pydot PyQt5
121121

122+
COPY rticonnextdds-license\rti_license.dat C:\connext\
123+
ENV RTI_LICENSE_FILE C:\connext\rti_license.dat
124+
125+
COPY rticonnextdds-src\openssl-1.0.2n-target-x64Win64VS2017.zip C:\TEMP\connext\
126+
RUN 7z.exe x C:\TEMP\connext\openssl-1.0.2n-target-x64Win64VS2017.zip -aoa -oC:\connext\
127+
ENV RTI_OPENSSL_BIN C:\connext\openssl-1.0.2n\x64Win64VS2017\release\bin
128+
ENV RTI_OPENSSL_LIB C:\connext\openssl-1.0.2n\x64Win64VS2017\release\lib
129+
130+
COPY rticonnextdds-src\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\
131+
RUN copy /b C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe
132+
RUN C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe `
133+
--mode unattended `
134+
--unattendedmodeui minimalWithDialogs `
135+
--prefix "%ProgramFiles%"
136+
137+
COPY rticonnextdds-src\openssl-1.0.2n-5.3.1-host-x64Win64.rtipkg C:\TEMP\connext\
138+
RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\openssl-1.0.2n-5.3.1-host-x64Win64.rtipkg"
139+
COPY rticonnextdds-src\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg.??? C:\TEMP\connext\
140+
RUN copy /b C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg.??? C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg
141+
RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg"
142+
COPY rticonnextdds-src\rti_security_plugins-5.3.1-host-x64Win64.rtipkg C:\TEMP\connext\
143+
RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_security_plugins-5.3.1-host-x64Win64.rtipkg"
144+
COPY rticonnextdds-src\rti_security_plugins-5.3.1-target-x64Win64VS2017.rtipkg C:\TEMP\connext\
145+
RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_security_plugins-5.3.1-target-x64Win64VS2017.rtipkg"
146+
122147
RUN powershell -Command Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1
123148
RUN mkdir C:\ws
124149
WORKDIR C:\ci
Submodule rticonnextdds-license added at 52b2c81
Submodule rticonnextdds-src added at f40960b

0 commit comments

Comments
 (0)