[main] Re-enable Source Build Tarball Build CI and disable all repo builds (#13605)

* re-enable tarball build in C

* remove all projects except SBRP from known-good

* disable smoke tests until more repos are building

Co-authored-by: Michael Simons <msimons@microsoft.com>
This commit is contained in:
Logan Bussell 2022-04-18 10:44:38 -07:00 committed by GitHub
parent d9dd8ba60e
commit ca04284533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 42 additions and 42 deletions

View file

@ -348,11 +348,10 @@ stages:
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-create-tarball.yml - template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-create-tarball.yml
# disable tarball build ci until 7.0 stabilizes - template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml
# - template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml parameters:
# parameters: dependsOn: Source_Build_Create_Tarball
# dependsOn: Source_Build_Create_Tarball condition: eq(dependencies.Source_Build_Create_Tarball.outputs['Tarball_Build_Check._includeTarballBuild'], 'true')
# condition: eq(dependencies.Source_Build_Create_Tarball.outputs['Tarball_Build_Check._includeTarballBuild'], 'true')
# https://github.com/dotnet/core-sdk/issues/248 # https://github.com/dotnet/core-sdk/issues/248
# - template: /eng/build.yml # - template: /eng/build.yml

View file

@ -158,6 +158,8 @@ jobs:
fi fi
docker run --rm $dockerVolumeArgs -w /tarball $dockerEnvArgs $(_Container) ./build.sh $poisonArg --run-smoke-test $(additionalBuildArgs) -- /p:SmokeTestConsoleVerbosity=detailed docker run --rm $dockerVolumeArgs -w /tarball $dockerEnvArgs $(_Container) ./build.sh $poisonArg --run-smoke-test $(additionalBuildArgs) -- /p:SmokeTestConsoleVerbosity=detailed
# Disable smoke tests until more repos are building.
condition: false
displayName: Run Tests displayName: Run Tests
# Don't use CopyFiles@2 as it encounters permissions issues because it indexes all files in the source directory graph. # Don't use CopyFiles@2 as it encounters permissions issues because it indexes all files in the source directory graph.

View file

@ -80,8 +80,7 @@ jobs:
# This prevents allocation of additional agents if the tarball build legs should be skipped. # This prevents allocation of additional agents if the tarball build legs should be skipped.
# Only build the tarball if the PR touches source-build source. # Only build the tarball if the PR touches source-build source.
- script: | - script: |
# Temporarily disable tarball PR validation until source-build is supported in this channel. echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]true"
echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]false"
# if curl "https://api.github.com/repos/dotnet/installer/pulls/$(System.PullRequest.PullRequestNumber)/files" | grep '"filename": "src/SourceBuild/*' # if curl "https://api.github.com/repos/dotnet/installer/pulls/$(System.PullRequest.PullRequestNumber)/files" | grep '"filename": "src/SourceBuild/*'
# then # then

View file

@ -42,13 +42,13 @@ jobs:
_EnablePoison: false _EnablePoison: false
_ExcludeOmniSharpTests: true _ExcludeOmniSharpTests: true
_RunOnline: true _RunOnline: true
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
CentOS7-Offline: CentOS7-Offline:
_BootstrapPrep: false _BootstrapPrep: false
_Container: ${{ parameters.centOS7Container }} _Container: ${{ parameters.centOS7Container }}
_EnablePoison: false _EnablePoison: false
_ExcludeOmniSharpTests: true _ExcludeOmniSharpTests: true
_RunOnline: false _RunOnline: false
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
CentOS8-Offline: CentOS8-Offline:
_BootstrapPrep: false _BootstrapPrep: false
_Container: ${{ parameters.centOS8Container }} _Container: ${{ parameters.centOS8Container }}

View file

@ -1,6 +1,6 @@
{ {
"tools": { "tools": {
"dotnet": "7.0.100-alpha.1.21518.14" "dotnet": "7.0.100-preview.3.22179.4"
}, },
"msbuild-sdks": { "msbuild-sdks": {
"Microsoft.Build.CentralPackageVersions": "2.0.1", "Microsoft.Build.CentralPackageVersions": "2.0.1",

View file

@ -27,45 +27,45 @@
<ItemGroup> <ItemGroup>
<!-- Toolsets --> <!-- Toolsets -->
<RepositoryReference Include="source-build-reference-packages" /> <RepositoryReference Include="source-build-reference-packages" />
<RepositoryReference Include="sourcelink" /> <!-- <RepositoryReference Include="sourcelink" /> -->
<RepositoryReference Include="arcade" /> <!-- <RepositoryReference Include="arcade" /> -->
<!-- Tier 1 --> <!-- Tier 1 -->
<RepositoryReference Include="command-line-api" /> <!-- <RepositoryReference Include="command-line-api" /> -->
<RepositoryReference Include="diagnostics" /> <!-- <RepositoryReference Include="diagnostics" /> -->
<RepositoryReference Include="roslyn" /> <!-- <RepositoryReference Include="roslyn" /> -->
<RepositoryReference Include="source-build" /> <!-- <RepositoryReference Include="source-build" /> -->
<RepositoryReference Include="symreader" /> <!-- <RepositoryReference Include="symreader" /> -->
<RepositoryReference Include="test-templates" /> <!-- <RepositoryReference Include="test-templates" /> -->
<RepositoryReference Include="xdt" /> <!-- <RepositoryReference Include="xdt" /> -->
<RepositoryReference Include="xliff-tasks" /> <!-- <RepositoryReference Include="xliff-tasks" /> -->
<!-- Tier 2 --> <!-- Tier 2 -->
<RepositoryReference Include="linker" /> <!-- <RepositoryReference Include="linker" /> -->
<RepositoryReference Include="msbuild" /> <!-- <RepositoryReference Include="msbuild" /> -->
<RepositoryReference Include="runtime-portable" /> <!-- <RepositoryReference Include="runtime-portable" /> -->
<RepositoryReference Include="runtime" /> <!-- <RepositoryReference Include="runtime" /> -->
<RepositoryReference Include="templating" /> <!-- <RepositoryReference Include="templating" /> -->
<!-- Tier 3 --> <!-- Tier 3 -->
<RepositoryReference Include="roslyn-analyzers" /> <!-- <RepositoryReference Include="roslyn-analyzers" /> -->
<!-- Tier 4 --> <!-- Tier 4 -->
<RepositoryReference Include="aspnetcore" /> <!-- <RepositoryReference Include="aspnetcore" /> -->
<RepositoryReference Include="deployment-tools" /> <!-- <RepositoryReference Include="deployment-tools" /> -->
<RepositoryReference Include="format" /> <!-- <RepositoryReference Include="format" /> -->
<RepositoryReference Include="nuget-client" /> <!-- <RepositoryReference Include="nuget-client" /> -->
<!-- Tier 5 --> <!-- Tier 5 -->
<RepositoryReference Include="fsharp" /> <!-- <RepositoryReference Include="fsharp" /> -->
<RepositoryReference Include="sdk" /> <!-- <RepositoryReference Include="sdk" /> -->
<RepositoryReference Include="vstest" /> <!-- <RepositoryReference Include="vstest" /> -->
<!-- Tier 6 --> <!-- Tier 6 -->
<RepositoryReference Include="installer" /> <!-- <RepositoryReference Include="installer" /> -->
<!-- Package source-build artifacts --> <!-- Package source-build artifacts -->
<RepositoryReference Include="package-source-build" /> <!-- <RepositoryReference Include="package-source-build" /> -->
</ItemGroup> </ItemGroup>
</Otherwise> </Otherwise>
</Choose> </Choose>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>$(LeakDetectionTasksBinDir)</OutputPath> <OutputPath>$(LeakDetectionTasksBinDir)</OutputPath>
</PropertyGroup> </PropertyGroup>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp6.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<OutputPath>$(XPlatTasksBinDir)</OutputPath> <OutputPath>$(XPlatTasksBinDir)</OutputPath>
</PropertyGroup> </PropertyGroup>