From d6fc10ed36ffd416a4c830e62606070cbc32f174 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 3 Apr 2019 15:24:05 +0200 Subject: [PATCH 1/3] Enable interactive optional tools authentication --- eng/Tools.props | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/eng/Tools.props b/eng/Tools.props index 64b181efa5ea..9ba372ab7fe0 100644 --- a/eng/Tools.props +++ b/eng/Tools.props @@ -59,14 +59,23 @@ - + + + https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.ps1 + https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh + + + + + + + + + $([MSBuild]::NormalizeDirectory('$(RepositoryEngineeringDir)', 'common', 'internal')) $(OptionalToolDir)Tools.csproj From 6b3909dedaa60c59970004aca9322d95cc0b3948 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 4 Apr 2019 14:18:54 +0200 Subject: [PATCH 2/3] Use .tools dir for script --- eng/Tools.props | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eng/Tools.props b/eng/Tools.props index 9ba372ab7fe0..e319a84c2c77 100644 --- a/eng/Tools.props +++ b/eng/Tools.props @@ -65,11 +65,12 @@ AfterTargets="Restore"> + $([MSBuild]::NormalizeDirectory('$(RepoRoot)', '.tools')) https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.ps1 https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh - + From 458e5210ba268cde656dc41e02c38b464df430ce Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 4 Apr 2019 14:32:57 +0200 Subject: [PATCH 3/3] Add inner tools directory CredentialsProvider --- eng/Tools.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Tools.props b/eng/Tools.props index e319a84c2c77..0285180199fa 100644 --- a/eng/Tools.props +++ b/eng/Tools.props @@ -65,7 +65,7 @@ AfterTargets="Restore"> - $([MSBuild]::NormalizeDirectory('$(RepoRoot)', '.tools')) + $([MSBuild]::NormalizeDirectory('$(RepoRoot)', '.tools', 'CredentialsProvider')) https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.ps1 https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh