Skip to content

Fix redirection not handled when downloading .NET Core

Fabien Catteau requested to merge 322120-fix-donet-curl-redirect into main

What does this MR do?

Replace official asdf plugin for dotnet-core with https://github.com/willmeek/asdf-dotnet-core/tree/add_redirect_to_curl_command. This fixes a bug in which .NET isn't downloaded from MicroSoft servers because its location has changed and curl isn't configured to follow redirections.

To be reverted once https://github.com/emersonsoares/asdf-dotnet-core/pull/27 is merged.

What are the relevant issue numbers?

gitlab-org/gitlab#322120 (closed)

Testing

Tested using https://gitlab.com/gitlab-org/security-products/tests/csharp-nuget-dotnetcore

Quick link: https://gitlab.com/gitlab-org/security-products/tests/csharp-nuget-dotnetcore/-/pipelines/new?ref=master&var[LICENSE_MANAGEMENT_VERSION]=4ccff5d4f7510cd0bebc0247965d22be3173c436&var[DEPENDENCY_SCANNING_DISABLED]=true

Scanning job: https://gitlab.com/gitlab-org/security-products/tests/csharp-nuget-dotnetcore/-/jobs/1053396377

Successful pipeline: https://gitlab.com/gitlab-org/security-products/tests/csharp-nuget-dotnetcore/-/pipelines/261224246

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports