From eb414e6fe90d66222d2a5c6eb042d064262bf248 Mon Sep 17 00:00:00 2001
From: dotnet-maestro <@dotnet-maestro>
Date: Fri, 21 Jun 2019 12:39:02 +0000
Subject: [PATCH 1/4] Update dependencies from https://github.com/dotnet/arcade
build 20190620.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19320.1
---
eng/Version.Details.xml | 4 ++--
global.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 97c5d90152..3f53c799b2 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -3,9 +3,9 @@
-
+
https://github.com/dotnet/arcade
- bd50b2bcc787a8c62e2e114fb54704b645cc1c3a
+ b21c24996a73aa62b7a1ee69f546b9d2eb084f29
diff --git a/global.json b/global.json
index f40761c50d..7f4f53ea62 100644
--- a/global.json
+++ b/global.json
@@ -7,6 +7,6 @@
"xcopy-msbuild": "15.9.0-alpha"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19319.25"
+ "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19320.1"
}
}
From 91112e66d2e8f37834bdecd5f7e7ba614df9d8ad Mon Sep 17 00:00:00 2001
From: dotnet-maestro <@dotnet-maestro>
Date: Sat, 22 Jun 2019 12:40:03 +0000
Subject: [PATCH 2/4] Update dependencies from https://github.com/dotnet/arcade
build 20190621.75
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19321.75
---
eng/Version.Details.xml | 4 +--
eng/common/cross/build-rootfs.sh | 1 +
eng/common/templates/job/execute-sdl.yml | 7 +++++
.../templates/job/publish-build-assets.yml | 23 +++++----------
.../templates/post-build/post-build.yml | 8 +++++
.../post-build/setup-maestro-vars.yml | 29 +++++++++----------
eng/common/tools.sh | 4 +--
global.json | 2 +-
8 files changed, 42 insertions(+), 36 deletions(-)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 3f53c799b2..f24836c86d 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -3,9 +3,9 @@
-
+
https://github.com/dotnet/arcade
- b21c24996a73aa62b7a1ee69f546b9d2eb084f29
+ fcee3d5c2d6180bec19c4ae50234771c436b4b52
diff --git a/eng/common/cross/build-rootfs.sh b/eng/common/cross/build-rootfs.sh
index 7c4e122651..d7d5d7d5f4 100644
--- a/eng/common/cross/build-rootfs.sh
+++ b/eng/common/cross/build-rootfs.sh
@@ -203,6 +203,7 @@ if [[ "$__LinuxCodeName" == "alpine" ]]; then
-X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/main \
-X http://dl-cdn.alpinelinux.org/alpine/v$__AlpineVersion/community \
-X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
+ -X http://dl-cdn.alpinelinux.org/alpine/edge/main \
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
add $__AlpinePackages
rm -r $__ApkToolsDir
diff --git a/eng/common/templates/job/execute-sdl.yml b/eng/common/templates/job/execute-sdl.yml
index 2f669fd95b..acb4c55d73 100644
--- a/eng/common/templates/job/execute-sdl.yml
+++ b/eng/common/templates/job/execute-sdl.yml
@@ -13,6 +13,13 @@ jobs:
steps:
- checkout: self
clean: true
+ - task: DownloadBuildArtifacts@0
+ displayName: Download Build Artifacts
+ inputs:
+ buildType: current
+ downloadType: specific files
+ matchingPattern: "**"
+ downloadPath: $(Build.SourcesDirectory)\artifacts
- task: NuGetToolInstaller@1
displayName: 'Install NuGet.exe'
- task: NuGetCommand@2
diff --git a/eng/common/templates/job/publish-build-assets.yml b/eng/common/templates/job/publish-build-assets.yml
index 0144221681..ff7346163f 100644
--- a/eng/common/templates/job/publish-build-assets.yml
+++ b/eng/common/templates/job/publish-build-assets.yml
@@ -60,27 +60,18 @@ jobs:
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}
- task: powershell@2
- displayName: Create BARBuildId Artifact
+ displayName: Create ReleaseConfigs Artifact
inputs:
targetType: inline
script: |
- Add-Content -Path "$(Build.StagingDirectory)/BARBuildId.txt" -Value $(BARBuildId)
- - task: powershell@2
- displayName: Create Channels Artifact
- inputs:
- targetType: inline
- script: |
- Add-Content -Path "$(Build.StagingDirectory)/Channels.txt" -Value "$(DefaultChannels)"
- - task: PublishBuildArtifacts@1
- displayName: Publish BAR BuildId to VSTS
- inputs:
- PathtoPublish: '$(Build.StagingDirectory)/BARBuildId.txt'
- PublishLocation: Container
- ArtifactName: ReleaseConfigs
+ Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(BARBuildId)
+ Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value "$(DefaultChannels)"
+ Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(IsInternalBuild)
+ Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(IsStableBuild)
- task: PublishBuildArtifacts@1
- displayName: Publish Channels to VSTS
+ displayName: Publish ReleaseConfigs Artifact
inputs:
- PathtoPublish: '$(Build.StagingDirectory)/Channels.txt'
+ PathtoPublish: '$(Build.StagingDirectory)/ReleaseConfigs.txt'
PublishLocation: Container
ArtifactName: ReleaseConfigs
- ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:
diff --git a/eng/common/templates/post-build/post-build.yml b/eng/common/templates/post-build/post-build.yml
index 6b74475a6f..2c411dd009 100644
--- a/eng/common/templates/post-build/post-build.yml
+++ b/eng/common/templates/post-build/post-build.yml
@@ -2,6 +2,9 @@ parameters:
enableSourceLinkValidation: true
enableSigningValidation: true
enableSymbolValidation: true
+ SDLValidationParameters:
+ enable: false
+ params: ''
stages:
- stage: validate
@@ -52,6 +55,11 @@ stages:
-GHCommit $(Build.SourceVersion)
-SourcelinkCliVersion $(SourceLinkCLIVersion)
+ - ${{ if eq(parameters.SDLValidationParameters.enable, 'true') }}:
+ - template: /eng/common/templates/job/execute-sdl.yml
+ parameters:
+ additionalParameters: ${{ parameters.SDLValidationParameters.params }}
+
- template: \eng\common\templates\post-build\channels\public-dev-release.yml
parameters:
enableSymbolValidation: ${{ parameters.enableSymbolValidation }}
diff --git a/eng/common/templates/post-build/setup-maestro-vars.yml b/eng/common/templates/post-build/setup-maestro-vars.yml
index 9de585a94a..0eddd6cd3b 100644
--- a/eng/common/templates/post-build/setup-maestro-vars.yml
+++ b/eng/common/templates/post-build/setup-maestro-vars.yml
@@ -17,22 +17,21 @@ jobs:
targetType: inline
script: |
# This is needed to make Write-PipelineSetVariable works in this context
- if ($env:BUILD_BUILDNUMBER -ne "" -and $env:BUILD_BUILDNUMBER -ne $null) {
- $ci = $true
+ $ci = $true
- . "$(Build.SourcesDirectory)/eng/common/tools.ps1"
-
- $BarId = Get-Content "$(Build.StagingDirectory)/ReleaseConfigs/BARBuildId.txt"
- Write-PipelineSetVariable -Name 'BARBuildId' -Value $BarId
+ . "$(Build.SourcesDirectory)/eng/common/tools.ps1"
- Write-Host "Asked Write-PipelineSetVariable to create BARBuildId with value '$BarId'"
+ $Content = Get-Content "$(Build.StagingDirectory)/ReleaseConfigs/ReleaseConfigs.txt"
- $Channels = ""
- Get-Content "$(Build.StagingDirectory)/ReleaseConfigs/Channels.txt" | ForEach-Object { $Channels += "$_ ," }
- Write-PipelineSetVariable -Name 'InitialChannels' -Value "$Channels"
+ $BarId = $Content | Select -Index 0
- Write-Host "Asked Write-PipelineSetVariable to create InitialChannels with value '$Channels'"
- }
- else {
- Write-Host "This step can only be run in an Azure DevOps CI environment."
- }
+ $Channels = ""
+ $Content | Select -Index 1 | ForEach-Object { $Channels += "$_ ," }
+
+ $IsInternalBuild = $Content | Select -Index 2
+ $IsStableBuild = $Content | Select -Index 3
+
+ Write-PipelineSetVariable -Name 'BARBuildId' -Value $BarId
+ Write-PipelineSetVariable -Name 'InitialChannels' -Value "$Channels"
+ Write-PipelineSetVariable -Name 'IsInternalBuild' -Value $IsInternalBuild
+ Write-PipelineSetVariable -Name 'IsStableBuild' -Value $IsStableBuild
diff --git a/eng/common/tools.sh b/eng/common/tools.sh
index f39aab57b9..70d92cf85a 100644
--- a/eng/common/tools.sh
+++ b/eng/common/tools.sh
@@ -356,11 +356,11 @@ function MSBuild-Core {
}
}
-. "$scriptroot/pipeline-logging-functions.sh"
-
ResolvePath "${BASH_SOURCE[0]}"
_script_dir=`dirname "$_ResolvePath"`
+. "$_script_dir/pipeline-logging-functions.sh"
+
eng_root=`cd -P "$_script_dir/.." && pwd`
repo_root=`cd -P "$_script_dir/../.." && pwd`
artifacts_dir="$repo_root/artifacts"
diff --git a/global.json b/global.json
index 7f4f53ea62..bbafa61e95 100644
--- a/global.json
+++ b/global.json
@@ -7,6 +7,6 @@
"xcopy-msbuild": "15.9.0-alpha"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19320.1"
+ "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19321.75"
}
}
From ba568ef46be316c15ed71e1d47835dc9438f7d1e Mon Sep 17 00:00:00 2001
From: dotnet-maestro <@dotnet-maestro>
Date: Sun, 23 Jun 2019 12:39:47 +0000
Subject: [PATCH 3/4] Update dependencies from https://github.com/dotnet/arcade
build 20190622.2
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19322.2
---
eng/Version.Details.xml | 4 ++--
global.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index f24836c86d..83e38e2b0c 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -3,9 +3,9 @@
-
+
https://github.com/dotnet/arcade
- fcee3d5c2d6180bec19c4ae50234771c436b4b52
+ 48aed493ffa093728bc9ffd17be0e5957f77aade
diff --git a/global.json b/global.json
index bbafa61e95..c2c0e34661 100644
--- a/global.json
+++ b/global.json
@@ -7,6 +7,6 @@
"xcopy-msbuild": "15.9.0-alpha"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19321.75"
+ "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19322.2"
}
}
From a2d5af55d0de416dc6226fc2adebd5854e522fd8 Mon Sep 17 00:00:00 2001
From: dotnet-maestro <@dotnet-maestro>
Date: Mon, 24 Jun 2019 12:38:16 +0000
Subject: [PATCH 4/4] Update dependencies from https://github.com/dotnet/arcade
build 20190623.4
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19323.4
---
eng/Version.Details.xml | 4 ++--
global.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 83e38e2b0c..309516901a 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -3,9 +3,9 @@
-
+
https://github.com/dotnet/arcade
- 48aed493ffa093728bc9ffd17be0e5957f77aade
+ 9946534da4f73e6242ca105f6798ab58119c9ab0
diff --git a/global.json b/global.json
index c2c0e34661..d165f35825 100644
--- a/global.json
+++ b/global.json
@@ -7,6 +7,6 @@
"xcopy-msbuild": "15.9.0-alpha"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19322.2"
+ "Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19323.4"
}
}