Fix redirection not handled when downloading .NET Core
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
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?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Job definition example -
CI Templates (to be removed) -
Vendored CI Templates (also in CE) -
Ensure that all of the ENV vars supported are propagated to Docker containers upon docker run
in job definitions
-
-
Conforms to the code review guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau