-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[master] Update dependencies from dotnet/arcade (#7269)
* Update dependencies from https://github.com/dotnet/arcade build 20190723.6 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19373.6 * Update dependencies from https://github.com/dotnet/arcade build 20190724.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19374.2 * Update dependencies from https://github.com/dotnet/arcade build 20190725.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19375.2
- Loading branch information
1 parent
37970b4
commit 8e843ae
Showing
25 changed files
with
68 additions
and
94 deletions.
There are no files selected for viewing
This file contains 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.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains 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,36 @@ | ||
param( | ||
[Parameter(Mandatory=$true)][string] $BarBuildId, # ID of the build which assets should be downloaded | ||
[Parameter(Mandatory=$true)][string] $MaestroAccessToken, # Token used to access Maestro API | ||
[Parameter(Mandatory=$true)][string] $DropLocation # Where the assets should be downloaded to | ||
) | ||
|
||
$ErrorActionPreference = "Stop" | ||
Set-StrictMode -Version 2.0 | ||
|
||
. $PSScriptRoot\..\tools.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 https://maestro-prod.westus2.cloudapp.azure.com/ ` | ||
--password $MaestroAccessToken ` | ||
--latest-location | ||
} | ||
catch { | ||
Write-Host $_ | ||
Write-Host $_.Exception | ||
Write-Host $_.ScriptStackTrace | ||
ExitWithExitCode 1 | ||
} |
This file contains 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 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 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 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 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,22 @@ | ||
parameters: | ||
ChannelId: 0 | ||
|
||
jobs: | ||
- job: gatherDrop | ||
displayName: Gather Drop | ||
dependsOn: setupMaestroVars | ||
condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], ${{ parameters.ChannelId }}) | ||
variables: | ||
- group: Publish-Build-Assets | ||
- name: BARBuildId | ||
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ] | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: PowerShell@2 | ||
displayName: Darc gather-drop | ||
inputs: | ||
filePath: $(Build.SourcesDirectory)/eng/common/post-build/darc-gather-drop.ps1 | ||
arguments: -BarBuildId $(BARBuildId) | ||
-DropLocation $(Agent.BuildDirectory)/Temp/Drop/ | ||
-MaestroAccessToken $(MaestroAccessToken) |
This file contains 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 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