-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[release/3.0] Update dependencies from 4 repositories #12854
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
Merged
dougbu
merged 18 commits into
release/3.0
from
darc-release/3.0-beba6f6d-c6c1-483c-b2f0-129a8a032da8
Aug 6, 2019
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e82cb7d
Update dependencies from https://github.com/dotnet/arcade build 20190…
77b7977
Clean up most `$(RestoreSources)` settings
dougbu 2a86a0e
Update dependencies from https://github.com/aspnet/Blazor build 20190…
ba87936
Update dependencies from https://github.com/aspnet/AspNetCore-Tooling…
c06a1aa
Update dependencies from https://github.com/aspnet/EntityFrameworkCor…
18bb3fd
Update dependencies from https://github.com/aspnet/AspNetCore-Tooling…
b2ae296
Update dependencies from https://github.com/aspnet/EntityFrameworkCor…
0fca1f5
Update dependencies from https://github.com/aspnet/AspNetCore-Tooling…
2d42eae
Update dependencies from https://github.com/aspnet/AspNetCore-Tooling…
006c5b8
Update dependencies from https://github.com/dotnet/arcade build 20190…
16add9b
React to RenderTreeBuilder namespace change
6e21b96
Update dependencies from https://github.com/aspnet/Blazor build 20190…
413c0d0
Update dependencies from https://github.com/aspnet/AspNetCore-Tooling…
f7efab0
Update dependencies from https://github.com/aspnet/EntityFrameworkCor…
0a0194f
Correct builds and tests needing additonal feeds
dougbu b3ec942
Update dependencies from https://github.com/aspnet/AspNetCore-Tooling…
309c741
Update dependencies from https://github.com/aspnet/EntityFrameworkCor…
da67267
!fixup! close tag properly
dougbu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Keep this file in sync with src/ProjectTemplates/test/Infrastructure/NuGet.config.in. --> | ||
<configuration> | ||
<packageSources> | ||
<clear /> | ||
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> | ||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
<add key="aspnet-blazor" value="https://dotnetfeed.blob.core.windows.net/aspnet-blazor/index.json" /> | ||
<add key="aspnet-extensions" value="https://dotnetfeed.blob.core.windows.net/aspnet-extensions/index.json" /> | ||
<add key="aspnet-entityframeworkcore" value="https://dotnetfeed.blob.core.windows.net/aspnet-entityframeworkcore/index.json" /> | ||
<add key="aspnet-aspnetcore-tooling" value="https://dotnetfeed.blob.core.windows.net/aspnet-aspnetcore-tooling/index.json" /> | ||
<add key="grpc-nuget-dev" value="https://grpc.jfrog.io/grpc/api/nuget/v3/grpc-nuget-dev" /> | ||
<add key="roslyn" value="https://dotnet.myget.org/F/roslyn/api/v3/index.json" /> | ||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
<add key="aspnetcore-dev" value="https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json" /> | ||
<add key="aspnetcore-tools" value="https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json" /> | ||
<add key="roslyn-tools" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" /> | ||
</packageSources> | ||
</configuration> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
#!/usr/bin/env bash | ||
|
||
source="${BASH_SOURCE[0]}" | ||
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
|
||
. $scriptroot/common-library.sh | ||
|
||
base_uri= | ||
install_path= | ||
version= | ||
clean=false | ||
force=false | ||
download_retries=5 | ||
retry_wait_time_seconds=30 | ||
|
||
while (($# > 0)); do | ||
lowerI="$(echo $1 | awk '{print tolower($0)}')" | ||
case $lowerI in | ||
--baseuri) | ||
base_uri=$2 | ||
shift 2 | ||
;; | ||
--installpath) | ||
install_path=$2 | ||
shift 2 | ||
;; | ||
--version) | ||
version=$2 | ||
shift 2 | ||
;; | ||
--clean) | ||
clean=true | ||
shift 1 | ||
;; | ||
--force) | ||
force=true | ||
shift 1 | ||
;; | ||
--downloadretries) | ||
download_retries=$2 | ||
shift 2 | ||
;; | ||
--retrywaittimeseconds) | ||
retry_wait_time_seconds=$2 | ||
shift 2 | ||
;; | ||
--help) | ||
echo "Common settings:" | ||
echo " --baseuri <value> Base file directory or Url wrom which to acquire tool archives" | ||
echo " --installpath <value> Base directory to install native tool to" | ||
echo " --clean Don't install the tool, just clean up the current install of the tool" | ||
echo " --force Force install of tools even if they previously exist" | ||
echo " --help Print help and exit" | ||
echo "" | ||
echo "Advanced settings:" | ||
echo " --downloadretries Total number of retry attempts" | ||
echo " --retrywaittimeseconds Wait time between retry attempts in seconds" | ||
echo "" | ||
exit 0 | ||
;; | ||
esac | ||
done | ||
|
||
tool_name="cmake-test" | ||
tool_os=$(GetCurrentOS) | ||
tool_folder=$(echo $tool_os | awk '{print tolower($0)}') | ||
tool_arch="x86_64" | ||
tool_name_moniker="$tool_name-$version-$tool_os-$tool_arch" | ||
tool_install_directory="$install_path/$tool_name/$version" | ||
tool_file_path="$tool_install_directory/$tool_name_moniker/bin/$tool_name" | ||
shim_path="$install_path/$tool_name.sh" | ||
uri="${base_uri}/$tool_folder/$tool_name/$tool_name_moniker.tar.gz" | ||
|
||
# Clean up tool and installers | ||
if [[ $clean = true ]]; then | ||
echo "Cleaning $tool_install_directory" | ||
if [[ -d $tool_install_directory ]]; then | ||
rm -rf $tool_install_directory | ||
fi | ||
|
||
echo "Cleaning $shim_path" | ||
if [[ -f $shim_path ]]; then | ||
rm -rf $shim_path | ||
fi | ||
|
||
tool_temp_path=$(GetTempPathFileName $uri) | ||
echo "Cleaning $tool_temp_path" | ||
if [[ -f $tool_temp_path ]]; then | ||
rm -rf $tool_temp_path | ||
fi | ||
|
||
exit 0 | ||
fi | ||
|
||
# Install tool | ||
if [[ -f $tool_file_path ]] && [[ $force = false ]]; then | ||
echo "$tool_name ($version) already exists, skipping install" | ||
exit 0 | ||
fi | ||
|
||
DownloadAndExtract $uri $tool_install_directory $force $download_retries $retry_wait_time_seconds | ||
|
||
if [[ $? != 0 ]]; then | ||
echo "Installation failed" >&2 | ||
exit 1 | ||
fi | ||
|
||
# Generate Shim | ||
# Always rewrite shims so that we are referencing the expected version | ||
NewScriptShim $shim_path $tool_file_path true | ||
|
||
if [[ $? != 0 ]]; then | ||
echo "Shim generation failed" >&2 | ||
exit 1 | ||
fi | ||
|
||
exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
param( | ||
[Parameter(Mandatory=$true)][int] $BarBuildId, # ID of the build which assets should be downloaded | ||
[Parameter(Mandatory=$true)][string] $DropLocation, # Where the assets should be downloaded to | ||
[Parameter(Mandatory=$true)][string] $MaestroApiAccessToken, # Token used to access Maestro API | ||
[Parameter(Mandatory=$false)][string] $MaestroApiEndPoint = "https://maestro-prod.westus2.cloudapp.azure.com", # Maestro API URL | ||
[Parameter(Mandatory=$false)][string] $MaestroApiVersion = "2019-01-16" # Version of Maestro API to use | ||
) | ||
|
||
. $PSScriptRoot\post-build-utils.ps1 | ||
|
||
try { | ||
Write-Host "Installing DARC ..." | ||
|
||
. $PSScriptRoot\..\darc-init.ps1 | ||
$exitCode = $LASTEXITCODE | ||
|
||
if ($exitCode -ne 0) { | ||
Write-PipelineTaskError "Something failed while running 'darc-init.ps1'. Check for errors above. Exiting now..." | ||
ExitWithExitCode $exitCode | ||
} | ||
|
||
darc gather-drop --non-shipping ` | ||
--continue-on-error ` | ||
--id $BarBuildId ` | ||
--output-dir $DropLocation ` | ||
--bar-uri $MaestroApiEndpoint ` | ||
--password $MaestroApiAccessToken ` | ||
--latest-location | ||
} | ||
catch { | ||
Write-Host $_ | ||
Write-Host $_.Exception | ||
Write-Host $_.ScriptStackTrace | ||
ExitWithExitCode 1 | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have removed this comment. But, if everything works, I'll let comment go in. Arcade updates will probably remove it soon(ish)