Skip to content

Commit

Permalink
Do it one by one or we have a timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque committed Mar 1, 2021
1 parent 655a16a commit 008fcc2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tools/devops/automation/templates/build/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,19 @@ steps:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

- pwsh: $(Build.SourcesDirectory)/release-scripts/notarize.ps1 -FolderForApps $(Build.SourcesDirectory)/package/notarized
- pwsh: |
# so... we have to many pkgs, that results in timeouts, so we need to split things and call it several times
$pkgDir = $(Build.SourcesDirectory)/package/notarized
$files = @(Get-ChildItem -Path "$pkgDir/*" -Filter "*.pkg")
# we are going to be one by one... why? because if we send all, we timeout!!!!
if ($files.count -gt 0)
{
foreach($pkg in $files)
{
Write-Host "Zipping $($pkg.FullName) into $zipFileName..."
& dotnet $Env:MBSIGN_APPFOLDER/DDSignFiles.dll /file:"$($pkg.FullName)" /certs:"8020"
}
}
displayName: 'ESRP notarizing packages'
condition: and(succeeded(), contains(variables['configuration.SignPkgs'], 'True'), contains(variables['configuration.IsPr'], 'False')) # if we are a PR, do not use ESRP since is not supported

Expand Down

1 comment on commit 008fcc2

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Tests failed on Build ❌

Tests failed on Build.

Test results

6 tests failed, 175 tests passed.

Failed tests

  • xammac tests/Mac Modern/Debug: Failed (Test run crashed)
  • xammac tests/Mac Modern/Debug (all optimizations): Failed (Test run crashed)
  • xammac tests/Mac Modern/Release: Failed (Test run crashed)
  • xammac tests/Mac Modern/Release (all optimizations): Failed (Test run crashed)
  • [xUnit] Mono Mac OS X BCL tests group 4/Mac Modern/Debug: Failed (No test log file was produced)
  • [xUnit] Mono SystemCoreXunit Part 2/tvOS - simulator/Debug: TimedOut

Pipeline on Agent XAMBOT-1106

Please sign in to comment.