Skip to content

Commit

Permalink
Disable failing smoke-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons committed Oct 7, 2024
1 parent f491fec commit 49d6926
Show file tree
Hide file tree
Showing 5 changed files with 250 additions and 216 deletions.
100 changes: 56 additions & 44 deletions src/SourceBuild/content/eng/pipelines/source-build-sdk-diff-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ resources:
trigger:
branches:
include:
- refs/heads/release/*.0.1xx-preview*
- refs/heads/release/9.0.1xx
- refs/heads/internal/release/*.0.1xx*
- refs/heads/release/*.0.1xx-preview*
- refs/heads/release/9.0.1xx
- refs/heads/internal/release/*.0.1xx*

repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

pr: none
trigger: none

pool:
name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals 1es-ubuntu-2004

parameters:
- name: dotnetDotnetRunId
displayName: 'Specific dotnet-dotnet run ID number (e.g `2108850`)'
Expand All @@ -40,46 +42,56 @@ variables:
# GH access token for SB bot - BotAccount-dotnet-sb-bot-pat
- group: DotNet-Source-Build-Bot-Secrets-MVP

jobs:
- template: templates/jobs/sdk-diff-tests.yml
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.centOSStreamName) }}
targetRid: ${{ variables.centOSStreamX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
publishTestResultsPr: true
pool:
name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals 1es-ubuntu-2004
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: stage
jobs:
- template: templates/jobs/sdk-diff-tests.yml@self
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.centOSStreamName) }}
targetRid: ${{ variables.centOSStreamX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
publishTestResultsPr: true

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
targetRid: ${{ variables.almaLinuxX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
- template: templates/jobs/sdk-diff-tests.yml@self
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
targetRid: ${{ variables.almaLinuxX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}_Online_MsftSdk', variables.alpineLatestName) }}
targetRid: ${{ variables.alpineLatestX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
- template: templates/jobs/sdk-diff-tests.yml@self
parameters:
buildName: ${{ format('{0}_Online_MsftSdk', variables.alpineLatestName) }}
targetRid: ${{ variables.alpineLatestX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.fedoraName) }}
targetRid: ${{ variables.fedoraX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
- template: templates/jobs/sdk-diff-tests.yml@self
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.fedoraName) }}
targetRid: ${{ variables.fedoraX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.ubuntuName) }}
targetRid: ${{ variables.ubuntuX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
- template: templates/jobs/sdk-diff-tests.yml@self
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.ubuntuName) }}
targetRid: ${{ variables.ubuntuX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}Arm64_Offline_MsftSdk', variables.ubuntuName) }}
targetRid: ${{ variables.ubuntuArm64Rid }}
architecture: arm64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
- template: templates/jobs/sdk-diff-tests.yml@self
parameters:
buildName: ${{ format('{0}Arm64_Offline_MsftSdk', variables.ubuntuName) }}
targetRid: ${{ variables.ubuntuArm64Rid }}
architecture: arm64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,29 @@ parameters:
jobs:
- job: ${{ parameters.buildName }}_${{ parameters.architecture }}
timeoutInMinutes: 150
pool:
name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals 1es-ubuntu-2004
variables:
- template: ../variables/pipelines.yml
templateContext:
outputs:
- output: pipelineArtifact
displayName: 'Publish BuildLogs'
condition: succeededOrFailed()
targetPath: '$(Build.StagingDirectory)/BuildLogs'
artifactName: $(Agent.JobName)_BuildLogs_Attempt$(System.JobAttempt)
inputs:
- input: pipelineArtifact
displayName: '${{ parameters.displayName }}'
buildType: specific
buildVersionToDownload: specific
project: internal
pipeline: ${{ parameters.pipeline }}
buildId: ${{ parameters.buildId }}
artifactName: ''
patterns: '**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-linux*-${{ parameters.architecture }}.tar.gz'
allowPartiallySucceededBuilds: true
allowFailedBuilds: true
downloadPath: $(Pipeline.Workspace)/Artifacts
checkDownloadedFiles: true
steps:
- script: |
dotnet_dotnet_build='${{ replace(parameters.dotnetDotnetRunId, ' ', '') }}'
Expand Down Expand Up @@ -55,11 +73,6 @@ jobs:
env:
AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)
- template: ../steps/download-pipeline-artifact.yml
parameters:
patterns: '**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-linux*-${{ parameters.architecture }}.tar.gz'
displayName: Download MSFT SDK

- template: ../steps/download-vmr-artifact.yml
parameters:
buildName: ${{ parameters.buildName }}
Expand Down Expand Up @@ -147,12 +160,6 @@ jobs:
continueOnError: true
condition: succeededOrFailed()
- publish: '$(Build.StagingDirectory)/BuildLogs'
artifact: $(Agent.JobName)_BuildLogs_Attempt$(System.JobAttempt)
displayName: Publish BuildLogs
continueOnError: true
condition: succeededOrFailed()

- task: PublishTestResults@2
displayName: Publish Test Results
condition: succeededOrFailed()
Expand Down
Loading

0 comments on commit 49d6926

Please sign in to comment.