Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ resources:
- refs/heads/release/*.0.1xx-preview*
- 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-2204

parameters:
- name: dotnetDotnetRunId
displayName: 'Specific dotnet-dotnet run ID number (e.g `2108850`)'
Expand All @@ -39,46 +41,60 @@ variables:
# GH access token for SB bot - BotAccount-dotnet-sb-bot-pat
- group: Dotnet-SourceBuild-Secrets

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
image: 1es-ubuntu-2204
os: linux
sdl:
sourceAnalysisPool:
name: NetCore1ESPool-Svc-Internal
image: 1es-windows-2022
os: windows
stages:
- stage: stage
jobs:
- template: /eng/pipelines/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: /eng/pipelines/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}_Offline_MsftSdk', variables.alpineName) }}
targetRid: ${{ variables.alpineX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
- template: /eng/pipelines/templates/jobs/sdk-diff-tests.yml@self
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.alpineName) }}
targetRid: ${{ variables.alpineX64Rid }}
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: /eng/pipelines/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: /eng/pipelines/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: /eng/pipelines/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,15 @@ parameters:
jobs:
- job: ${{ parameters.buildName }}_${{ parameters.architecture }}
timeoutInMinutes: 150
pool:
name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals 1es-ubuntu-2204
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)
steps:
- script: |
dotnet_dotnet_build='${{ replace(parameters.dotnetDotnetRunId, ' ', '') }}'
Expand Down Expand Up @@ -151,12 +155,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
Loading