Skip to content

Commit d5266d0

Browse files
committed
Fix Windows SSI release
Make sure we publish the telemetry_forwarder.exe as part of the publish step, and pull this when creating the release
1 parent 6ce40c9 commit d5266d0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ publish:
7777
do {
7878
try {
7979
# The grants option at the end is used to allow public access on the files we upload as the acls only aren't enough.
80-
aws s3 cp artifacts-out/ s3://dd-windowsfilter/builds/tracer/${CI_COMMIT_SHA} --recursive --region us-east-1 --exclude "*" --include "*.zip" --include "*.msi" --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=id=3a6e02b08553fd157ae3fb918945dd1eaae5a1aa818940381ef07a430cf25732
80+
aws s3 cp artifacts-out/ s3://dd-windowsfilter/builds/tracer/${CI_COMMIT_SHA} --recursive --region us-east-1 --exclude "*" --include "*.zip" --include "*.msi" --include "telemetry_forwarder.exe" --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=id=3a6e02b08553fd157ae3fb918945dd1eaae5a1aa818940381ef07a430cf25732
8181
If ($LASTEXITCODE -eq 0) {
8282
return
8383
}

.gitlab/download-single-step-artifacts.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ if [ -n "$CI_COMMIT_TAG" ] || [ -n "$DOTNET_PACKAGE_VERSION" ]; then
3131
curl --location --fail \
3232
--output $win_target_dir/fleet-installer.zip \
3333
"https://dd-windowsfilter.s3.amazonaws.com/builds/tracer/${CI_COMMIT_SHA}/fleet-installer.zip"
34+
35+
echo "Downloading Telemetry Forwarder from S3"
36+
37+
curl --location --fail \
38+
--output $win_target_dir/telemetry_forwarder.exe \
39+
"https://dd-windowsfilter.s3.amazonaws.com/builds/tracer/${CI_COMMIT_SHA}/telemetry_forwarder.exe"
3440
fi
3541

3642
echo -n $VERSION > $target_dir/version.txt

0 commit comments

Comments
 (0)