Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NuGet restore automatic retry #8983

Merged
merged 1 commit into from
Apr 20, 2023
Merged

Add NuGet restore automatic retry #8983

merged 1 commit into from
Apr 20, 2023

Conversation

MiYanni
Copy link
Member

@MiYanni MiYanni commented Apr 19, 2023

Related: dotnet/arcade#13070

Summary

We're experiencing intermittent failures on NuGet package restore in AzDO stating, "The author primary signature validity period has expired." Looking into it, there is an environment variable to retry NuGet package restoration when certain types of errors occur. This should apply in this situation. It doesn't fix the issue but it should help to reduce the number of build failures. I'm only adding this to our official build for the time being.

Test Run

https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=7655011&view=results

Microsoft Reviewers: Open in CodeFlow

@MiYanni MiYanni requested a review from a team as a code owner April 19, 2023 23:38
@MiYanni MiYanni merged commit 24e4446 into main Apr 20, 2023
@MiYanni MiYanni deleted the NuGetRetryEnvVariable branch April 20, 2023 21:07
@ghost ghost added this to the 17.7 milestone Apr 20, 2023
smitpatel pushed a commit that referenced this pull request Jun 8, 2023
Same change as: #8983

Adds the NuGet retry environment variable for the core official build. This should avoid the NuGet restore failures. When `main` is merged, the PR build will get the same change via this PR: #8999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants