[automated] Merge branch 'release/7.0.3xx' => 'release/7.0.4xx' (#17895)
This commit is contained in:
commit
03b2f9fcb3
2 changed files with 8 additions and 2 deletions
|
@ -85,7 +85,7 @@ jobs:
|
||||||
- ${{ if ne(parameters.excludeSdkContentTests, 'true') }}:
|
- ${{ if ne(parameters.excludeSdkContentTests, 'true') }}:
|
||||||
- download: ${{ parameters.installerBuildResourceId }}
|
- download: ${{ parameters.installerBuildResourceId }}
|
||||||
artifact: BlobArtifacts
|
artifact: BlobArtifacts
|
||||||
patterns: '**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(preview|rc|rtm)*)-linux-${{ parameters.architecture }}.tar.gz'
|
patterns: '**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(preview|rc|rtm)*)-linux*-${{ parameters.architecture }}.tar.gz'
|
||||||
displayName: Download MSFT sdk Tarball
|
displayName: Download MSFT sdk Tarball
|
||||||
|
|
||||||
- ${{ if eq(parameters.usePreviousArtifacts, 'true') }}:
|
- ${{ if eq(parameters.usePreviousArtifacts, 'true') }}:
|
||||||
|
@ -185,7 +185,12 @@ jobs:
|
||||||
|
|
||||||
if [[ '${{ parameters.excludeSdkContentTests}}' != 'true' ]]; then
|
if [[ '${{ parameters.excludeSdkContentTests}}' != 'true' ]]; then
|
||||||
dockerVolumeArgs+=" -v $(PIPELINE.WORKSPACE)/${{ parameters.installerBuildResourceId }}/BlobArtifacts/:/BlobArtifacts"
|
dockerVolumeArgs+=" -v $(PIPELINE.WORKSPACE)/${{ parameters.installerBuildResourceId }}/BlobArtifacts/:/BlobArtifacts"
|
||||||
msftSdkTarballName=$(find "$(PIPELINE.WORKSPACE)/${{ parameters.installerBuildResourceId }}/BlobArtifacts/" -name "dotnet-sdk-*-linux-${{ parameters.architecture }}.tar.gz" -exec basename {} \;)
|
platform="linux"
|
||||||
|
docker run --rm $(_Container) /bin/sh -c "cat /etc/os-release | grep -q alpine"
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
|
platform="$platform-musl"
|
||||||
|
fi
|
||||||
|
msftSdkTarballName=$(find "$(PIPELINE.WORKSPACE)/${{ parameters.installerBuildResourceId }}/BlobArtifacts/" -name "dotnet-sdk-*-$platform-${{ parameters.architecture }}.tar.gz" -exec basename {} \;)
|
||||||
dockerEnvArgs+=" -e SMOKE_TESTS_MSFT_SDK_TARBALL_PATH=/BlobArtifacts/$msftSdkTarballName"
|
dockerEnvArgs+=" -e SMOKE_TESTS_MSFT_SDK_TARBALL_PATH=/BlobArtifacts/$msftSdkTarballName"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -174,6 +174,7 @@
|
||||||
<PortableRid Condition="'$(TargetOS)' == 'FreeBSD'">freebsd-$(Platform)</PortableRid>
|
<PortableRid Condition="'$(TargetOS)' == 'FreeBSD'">freebsd-$(Platform)</PortableRid>
|
||||||
<PortableRid Condition="'$(TargetOS)' == 'OSX'">osx-$(Platform)</PortableRid>
|
<PortableRid Condition="'$(TargetOS)' == 'OSX'">osx-$(Platform)</PortableRid>
|
||||||
<PortableRid Condition="'$(TargetOS)' == 'Linux'">linux-$(Platform)</PortableRid>
|
<PortableRid Condition="'$(TargetOS)' == 'Linux'">linux-$(Platform)</PortableRid>
|
||||||
|
<PortableRid Condition="$(TargetRid.StartsWith('linux-musl')) or $(TargetRid.StartsWith('alpine'))">linux-musl-$(Platform)</PortableRid>
|
||||||
<PortableRid Condition="'$(TargetOS)' == 'Windows_NT'">win-$(Platform)</PortableRid>
|
<PortableRid Condition="'$(TargetOS)' == 'Windows_NT'">win-$(Platform)</PortableRid>
|
||||||
<TargetRid Condition="'$(PortableBuild)' == 'true' AND '$(PortableRid)' != ''">$(PortableRid)</TargetRid>
|
<TargetRid Condition="'$(PortableBuild)' == 'true' AND '$(PortableRid)' != ''">$(PortableRid)</TargetRid>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
Loading…
Reference in a new issue