From 8472c0699be06f077a92a493c51317eacba787e4 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Fri, 2 Apr 2021 11:17:15 +0300 Subject: [PATCH] Remove warmup deprecation for Ubuntu images (#3076) --- .../scripts/installers/dotnetcore-sdk.sh | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/images/linux/scripts/installers/dotnetcore-sdk.sh b/images/linux/scripts/installers/dotnetcore-sdk.sh index 229bfb8e6..b2b6d0e60 100644 --- a/images/linux/scripts/installers/dotnetcore-sdk.sh +++ b/images/linux/scripts/installers/dotnetcore-sdk.sh @@ -12,21 +12,6 @@ source $HELPER_SCRIPTS/os.sh LATEST_DOTNET_PACKAGES=$(get_toolset_value '.dotnet.aptPackages[]') DOTNET_VERSIONS=$(get_toolset_value '.dotnet.versions[]') -mksamples() -{ - sdk=$1 - sample=$2 - mkdir "$sdk" - cd "$sdk" || exit - dotnet new globaljson --sdk-version "$sdk" - dotnet new "$sample" - dotnet restore - dotnet build - set +e - cd .. || exit - rm -rf "$sdk" -} - # Disable telemetry export DOTNET_CLI_TELEMETRY_OPTOUT=1 @@ -74,16 +59,6 @@ parallel --jobs 0 --halt soon,fail=1 \ find . -name "*.tar.gz" | parallel --halt soon,fail=1 'extract_dotnet_sdk {}' -# Smoke test each SDK -for sdk in $sortedSdks; do - mksamples "$sdk" "console" - mksamples "$sdk" "mstest" - mksamples "$sdk" "xunit" - mksamples "$sdk" "web" - mksamples "$sdk" "mvc" - mksamples "$sdk" "webapi" -done - # NuGetFallbackFolder at /usr/share/dotnet/sdk/NuGetFallbackFolder is warmed up by smoke test # Additional FTE will just copy to ~/.dotnet/NuGet which provides no benefit on a fungible machine setEtcEnvironmentVariable DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1