From 2d5a9f75f5871535abeccadc21b7f6b7465bf7ed Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Mon, 27 Jan 2020 11:48:16 -0800 Subject: [PATCH] Move to version 3 of AzFileCopy --- tools/releaseBuild/azureDevOps/WindowsBuild.yml | 14 +++++++------- tools/releaseBuild/azureDevOps/templates/json.yml | 2 +- tools/releaseBuild/azureDevOps/templates/linux.yml | 6 +++--- .../azureDevOps/templates/mac-package-signing.yml | 4 ++-- tools/releaseBuild/azureDevOps/templates/nuget.yml | 4 ++-- .../releaseBuild/azureDevOps/templates/upload.yml | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tools/releaseBuild/azureDevOps/WindowsBuild.yml b/tools/releaseBuild/azureDevOps/WindowsBuild.yml index cfb15f9c1fd..bdd6a31d532 100644 --- a/tools/releaseBuild/azureDevOps/WindowsBuild.yml +++ b/tools/releaseBuild/azureDevOps/WindowsBuild.yml @@ -332,7 +332,7 @@ jobs: continueOnError: true condition: and(succeeded(), eq(variables['Build.Reason'], 'Manual')) - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload signed msi to Azure - x64' inputs: SourcePath: '$(Build.StagingDirectory)\signedPackages\PowerShell-$(Version)-win-x64.msi' @@ -352,7 +352,7 @@ jobs: displayName: '[create script] upload signed msi - x86' continueOnError: true - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload signed msi to Azure - x86' inputs: SourcePath: '$(Build.StagingDirectory)\signedPackages\PowerShell-$(Version)-win-x86.msi' @@ -372,7 +372,7 @@ jobs: displayName: '[Create script] upload signed zip - x64' continueOnError: true - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload signed zip to Azure - x64' inputs: SourcePath: '$(System.ArtifactsDirectory)\signed\PowerShell-$(Version)-win-x64.zip' @@ -392,7 +392,7 @@ jobs: displayName: '[create script] upload signed zip - x86' continueOnError: true - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload signed zip to Azure - x86' inputs: SourcePath: '$(System.ArtifactsDirectory)\signed\PowerShell-$(Version)-win-x86.zip' @@ -412,7 +412,7 @@ jobs: displayName: '[create script] upload signed zip - arm' continueOnError: true - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload signed zip to Azure - arm' inputs: SourcePath: '$(System.ArtifactsDirectory)\signed\PowerShell-$(Version)-win-arm32.zip' @@ -432,7 +432,7 @@ jobs: displayName: '[create script] upload signed zip - arm64' continueOnError: true - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload signed zip to Azure - arm64' inputs: SourcePath: '$(System.ArtifactsDirectory)\signed\PowerShell-$(Version)-win-arm64.zip' @@ -452,7 +452,7 @@ jobs: displayName: '[create script] upload signed zip - fxdependent' continueOnError: true - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload signed zip to Azure - fxdependent' inputs: SourcePath: '$(System.ArtifactsDirectory)\signed\PowerShell-$(Version)-win-fxdependent.zip' diff --git a/tools/releaseBuild/azureDevOps/templates/json.yml b/tools/releaseBuild/azureDevOps/templates/json.yml index 025191d8507..1d0b96473fa 100644 --- a/tools/releaseBuild/azureDevOps/templates/json.yml +++ b/tools/releaseBuild/azureDevOps/templates/json.yml @@ -20,7 +20,7 @@ jobs: ReleaseTagVar: $(ReleaseTagVar) CreateJson: yes - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'upload daily-build-info JSON file to Azure - ${{ parameters.architecture }}' inputs: SourcePath: '$(BuildInfoPath)' diff --git a/tools/releaseBuild/azureDevOps/templates/linux.yml b/tools/releaseBuild/azureDevOps/templates/linux.yml index f46a1f30374..378cdd4ed3e 100644 --- a/tools/releaseBuild/azureDevOps/templates/linux.yml +++ b/tools/releaseBuild/azureDevOps/templates/linux.yml @@ -106,7 +106,7 @@ jobs: binVersionOverride: $(SigningVersionOverride) condition: and(and(succeeded(), eq(variables['SHOULD_SIGN'], 'true')),eq(variables['buildName'], 'RPM')) - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'Upload to Azure - DEB and tar.gz' inputs: SourcePath: '$(System.ArtifactsDirectory)\finished\release' @@ -119,7 +119,7 @@ jobs: parameters: artifactPath: $(System.ArtifactsDirectory)\finished\release - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'Upload to Azure - RPM - Unsigned' inputs: SourcePath: '$(System.ArtifactsDirectory)\rpm\release' @@ -129,7 +129,7 @@ jobs: ContainerName: '$(AzureVersion)' condition: and(and(succeeded(), ne(variables['SHOULD_SIGN'], 'true')),eq(variables['buildName'], 'RPM')) - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'Upload to Azure - RPM - Signed' inputs: SourcePath: '$(Build.StagingDirectory)\signedPackages' diff --git a/tools/releaseBuild/azureDevOps/templates/mac-package-signing.yml b/tools/releaseBuild/azureDevOps/templates/mac-package-signing.yml index 79674ff94ec..5411cf5c8ab 100644 --- a/tools/releaseBuild/azureDevOps/templates/mac-package-signing.yml +++ b/tools/releaseBuild/azureDevOps/templates/mac-package-signing.yml @@ -87,7 +87,7 @@ jobs: displayName: 'Create unsigned folder to upload' condition: and(succeeded(), ne(variables['SHOULD_SIGN'], 'true')) - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'AzureBlob File Copy - unsigned' inputs: SourcePath: '$(Build.StagingDirectory)\macos-unsigned' @@ -97,7 +97,7 @@ jobs: ContainerName: '$(AzureVersion)' condition: and(succeeded(), ne(variables['SHOULD_SIGN'], 'true')) - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'AzureBlob File Copy - signed' inputs: SourcePath: '$(System.ArtifactsDirectory)\azureMacOs' diff --git a/tools/releaseBuild/azureDevOps/templates/nuget.yml b/tools/releaseBuild/azureDevOps/templates/nuget.yml index 237da4718a6..b4e4193cad3 100644 --- a/tools/releaseBuild/azureDevOps/templates/nuget.yml +++ b/tools/releaseBuild/azureDevOps/templates/nuget.yml @@ -162,7 +162,7 @@ jobs: Get-ChildItem "$(System.ArtifactsDirectory)\signed\globaltool" -Recurse displayName: Move global tool packages to subfolder and capture - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'Upload NuGet packages to Azure' inputs: SourcePath: '$(System.ArtifactsDirectory)\signed\' @@ -172,7 +172,7 @@ jobs: ContainerName: '$(AzureVersion)-nuget' condition: and(succeeded(), eq(variables['SHOULD_SIGN'], 'true')) - - task: AzureFileCopy@1 + - task: AzureFileCopy@3 displayName: 'Upload global tool packages to Azure' inputs: sourcePath: '$(System.ArtifactsDirectory)\signed\globaltool' diff --git a/tools/releaseBuild/azureDevOps/templates/upload.yml b/tools/releaseBuild/azureDevOps/templates/upload.yml index c36e72895f6..27e63505766 100644 --- a/tools/releaseBuild/azureDevOps/templates/upload.yml +++ b/tools/releaseBuild/azureDevOps/templates/upload.yml @@ -11,7 +11,7 @@ steps: artifactFilter: PowerShell-${{ parameters.version }}-win-${{ parameters.architecture }}.msi condition: and(succeeded(), eq('${{ parameters.msi }}', 'yes')) -- task: AzureFileCopy@1 +- task: AzureFileCopy@3 displayName: 'upload signed msi to Azure - ${{ parameters.architecture }}' inputs: SourcePath: '$(Build.StagingDirectory)\signedPackages\PowerShell-${{ parameters.version }}-win-${{ parameters.architecture }}.msi' @@ -26,7 +26,7 @@ steps: artifactPath: $(System.ArtifactsDirectory)\signed artifactFilter: PowerShell-${{ parameters.version }}-win-${{ parameters.architecture }}.zip -- task: AzureFileCopy@1 +- task: AzureFileCopy@3 displayName: 'upload signed zip to Azure - ${{ parameters.architecture }}' inputs: SourcePath: '$(System.ArtifactsDirectory)\signed\PowerShell-${{ parameters.version }}-win-${{ parameters.architecture }}.zip' @@ -42,7 +42,7 @@ steps: artifactFilter: PowerShell-${{ parameters.version }}-win-${{ parameters.architecture }}.msix condition: and(succeeded(), eq('${{ parameters.msix }}', 'yes')) -- task: AzureFileCopy@1 +- task: AzureFileCopy@3 displayName: 'upload signed msix to Azure - ${{ parameters.architecture }}' inputs: SourcePath: '$(Build.StagingDirectory)\signedPackages\PowerShell-${{ parameters.version }}-win-${{ parameters.architecture }}.msix'