Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@
Source="$(var.EmbedBinariesPath)nri-flex\nri-flex.exe"
KeyPath="yes" />
</Component>
<!-- DOCKER -->
<Component Id="CMP_DOCKER_PLUGIN" Guid="2DE6EEC7-4FD6-41BC-80E1-35721579EA40" Win64="yes">
<File Id="FILE_DOCKER_PLUGIN"
Source="$(var.EmbedBinariesPath)nri-docker\nri-docker.exe"
KeyPath="yes" />
</Component>
<!-- WINSERVICES -->
<Component Id="CMP_WINSERVICEEXP_PLUGIN" Guid="ADF9277D-5C22-4A71-B03B-747EC6DFAB5D" Win64="yes">
<File Id="FILE_WINSERVICEEXP_PLUGIN"
Expand Down
15 changes: 15 additions & 0 deletions build/windows/scripts/embed_ohis.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ Function EmbedFlex {
}
}

# Adding nri-docker.
Function EmbedDocker {
Write-Output "--- Embedding nri-docker"

[string]$version = GetIntegrationVersion -name "nri-docker"
[string]$url="https://github.com/newrelic/nri-docker/releases/download/v${version}/nri-docker_windows_${version}_${arch}.zip"

DownloadAndExtractZip -dest:"$downloadPath\nri-docker" -url:"$url"

if (-Not $skipSigning) {
SignExecutable -executable "$downloadPath\nri-docker\nri-docker.exe"
}
}

# # Adding windows services.
Function EmbedWindowsServices {
Write-Output "--- Embedding win-services"
Expand Down Expand Up @@ -130,6 +144,7 @@ New-Item -ItemType Directory -Force -Path "$downloadPath"
Write-Output "--- Embedding external components"

EmbedFlex
EmbedDocker
EmbedWindowsServices
EmbedPrometheus
EmbedFluentBit
Expand Down
Loading