File tree Expand file tree Collapse file tree 2 files changed +20
-9
lines changed
microbenchmarks/infrastructure Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,7 @@ run-benchmarks:
115115 # Cleanup instances after benchmarks
116116 CLEANUP : " true"
117117 # Set to "true" to skip actual benchmarks and use _latest results (for testing the pipeline)
118- BP_INFRA_TEST : " true"
119- # TODO: Remove after debugging _latest update failure
120- CI_COMMIT_REF_NAME : " master"
118+ BP_INFRA_TEST : " false"
121119 before_script :
122120 - !reference [.dd-octo-sts-setup, before_script]
123121 script :
Original file line number Diff line number Diff line change @@ -182,12 +182,25 @@ upload_results:
182182 if ($env:CI_COMMIT_REF_NAME -eq "master") {
183183 $latestPrefix = "$env:CI_PROJECT_NAME/_latest"
184184 Write-Output "Updating latest master results at s3://$s3Bucket/$latestPrefix"
185- Write-S3Object `
186- -BucketName $s3Bucket `
187- -KeyPrefix $latestPrefix `
188- -Folder $artifactsDir `
189- -CannedACLName "bucket-owner-full-control" `
190- -Recurse
185+ Write-Output " Bucket: $s3Bucket"
186+ Write-Output " Prefix: $latestPrefix"
187+ Write-Output " Source: $artifactsDir"
188+ Write-Output " File count: $($files.Count)"
189+ try {
190+ Write-S3Object `
191+ -BucketName $s3Bucket `
192+ -KeyPrefix $latestPrefix `
193+ -Folder $artifactsDir `
194+ -CannedACLName "bucket-owner-full-control" `
195+ -Recurse
196+ Write-Output "_latest update complete!"
197+ }
198+ catch {
199+ Write-Output "ERROR updating _latest: $_"
200+ Write-Output "Exception type: $($_.Exception.GetType().FullName)"
201+ Write-Output "Stack trace: $($_.ScriptStackTrace)"
202+ throw
203+ }
191204 }
192205 } else {
193206 Write-Warning "No files found in $artifactsDir"
You can’t perform that action at this time.
0 commit comments