Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use emojis for stage and job display names #45558

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
50 changes: 37 additions & 13 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,18 @@ extends:
ignoreDirectories: artifacts, .packages

stages:
############### BUILD STAGE ###############
############### πŸ› οΈ BUILD STAGE ###############
- stage: build
displayName: Build
displayName: πŸ› οΈ
jobs:
############### WINDOWS ###############
############### πŸͺŸ WINDOWS ###############
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml@self
parameters:
pool:
name: $(DncEngInternalBuildPool)
image: windows.vs2022.amd64
os: windows
emoji: πŸͺŸ
helixTargetQueue: windows.amd64.vs2022.pre
oneESCompat:
templateFolderName: templates-official
Expand All @@ -104,8 +105,9 @@ extends:
${{ if and(eq(parameters.runTestBuild, false), ne(variables['Build.Reason'], 'PullRequest')) }}:
timeoutInMinutes: 90
windowsJobParameterSets:
### OFFICIAL ###
### ⭐ OFFICIAL ###
- categoryName: Official
categoryEmoji: ⭐
publishArgument: $(_publishArgument)
signArgument: $(_signArgument)
officialBuildProperties: $(_officialBuildProperties)
Expand All @@ -115,6 +117,7 @@ extends:
variables:
_SignType: real
- categoryName: Official
categoryEmoji: ⭐
buildArchitecture: x86
publishArgument: $(_publishArgument)
signArgument: $(_signArgument)
Expand All @@ -123,15 +126,17 @@ extends:
variables:
_SignType: real
- categoryName: Official
categoryEmoji: ⭐
buildArchitecture: arm64
publishArgument: $(_publishArgument)
signArgument: $(_signArgument)
officialBuildProperties: $(_officialBuildProperties)
runTests: false
variables:
_SignType: real
### PGO ###
### 🧭 PGO ###
- categoryName: PGO
categoryEmoji: 🧭
pgoInstrument: true
publishArgument: $(_publishArgument)
signArgument: $(_signArgument)
Expand All @@ -140,6 +145,7 @@ extends:
variables:
_SignType: real
- categoryName: PGO
categoryEmoji: 🧭
pgoInstrument: true
buildArchitecture: x86
publishArgument: $(_publishArgument)
Expand All @@ -149,6 +155,7 @@ extends:
variables:
_SignType: real
- categoryName: PGO
categoryEmoji: 🧭
pgoInstrument: true
buildArchitecture: arm64
publishArgument: $(_publishArgument)
Expand All @@ -158,13 +165,14 @@ extends:
variables:
_SignType: real

############### LINUX ###############
############### 🐧 LINUX ###############
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml@self
parameters:
pool:
name: $(DncEngInternalBuildPool)
image: 1es-ubuntu-2204
os: linux
emoji: 🐧
helixTargetQueue: ubuntu.2204.amd64
oneESCompat:
templateFolderName: templates-official
Expand All @@ -173,42 +181,48 @@ extends:
${{ if and(eq(parameters.runTestBuild, false), ne(variables['Build.Reason'], 'PullRequest')) }}:
timeoutInMinutes: 90
linuxJobParameterSets:
### OFFICIAL ###
### ⭐ OFFICIAL ###
# Note: These builds are also portable like the Portable category, but that category uses containers, and doesn't publish zips and tarballs.
- categoryName: Official
categoryEmoji: ⭐
publishArgument: $(_publishArgument)
officialBuildProperties: $(_officialBuildProperties)
osProperties: $(linuxOsPortableProperties)
runTests: false
- categoryName: Official
categoryEmoji: ⭐
buildArchitecture: arm
runtimeIdentifier: linux-arm
publishArgument: $(_publishArgument)
officialBuildProperties: $(_officialBuildProperties)
osProperties: $(linuxOsPortableProperties)
runTests: false
- categoryName: Official
categoryEmoji: ⭐
buildArchitecture: arm64
runtimeIdentifier: linux-arm64
publishArgument: $(_publishArgument)
officialBuildProperties: $(_officialBuildProperties)
osProperties: $(linuxOsPortableProperties)
runTests: false
### PORTABLE ###
### πŸ’Ό PORTABLE ###
- categoryName: Portable
categoryEmoji: πŸ’Ό
# Do not publish zips and tarballs. The linux-x64 binaries are already published by Official.
publishArgument: $(_publishArgument) /p:PublishBinariesAndBadge=false
officialBuildProperties: $(_officialBuildProperties)
osProperties: $(linuxOsPortableProperties) /p:BuildSdkDeb=true
runTests: false
- categoryName: Portable
categoryEmoji: πŸ’Ό
container: centosStream9
# Do not publish zips and tarballs. The linux-x64 binaries are already published by Official.
publishArgument: $(_publishArgument) /p:PublishBinariesAndBadge=false
officialBuildProperties: $(_officialBuildProperties)
osProperties: $(linuxOsPortableProperties) /p:IsRPMBasedDistro=true
runTests: false
- categoryName: Portable
categoryEmoji: πŸ’Ό
container: centosStream9
buildArchitecture: arm64
runtimeIdentifier: linux-arm64
Expand All @@ -217,8 +231,9 @@ extends:
officialBuildProperties: $(_officialBuildProperties)
osProperties: $(linuxOsPortableProperties) /p:IsRPMBasedDistro=true
runTests: false
### MUSL ###
### πŸ’ͺ MUSL ###
- categoryName: Musl
categoryEmoji: πŸ’ͺ
container: alpine319WithNode
runtimeIdentifier: linux-musl-x64
publishArgument: $(_publishArgument)
Expand All @@ -229,6 +244,7 @@ extends:
enableSbom: false
runTests: false
- categoryName: Musl
categoryEmoji: πŸ’ͺ
container: mariner20CrossArm
buildArchitecture: arm
runtimeIdentifier: linux-musl-arm
Expand All @@ -237,20 +253,23 @@ extends:
osProperties: /p:OSName=linux-musl
runTests: false
- categoryName: Musl
categoryEmoji: πŸ’ͺ
buildArchitecture: arm64
runtimeIdentifier: linux-musl-arm64
publishArgument: $(_publishArgument)
officialBuildProperties: $(_officialBuildProperties)
osProperties: /p:OSName=linux-musl
runTests: false
### PGO ###
### 🧭 PGO ###
- categoryName: PGO
categoryEmoji: 🧭
pgoInstrument: true
publishArgument: $(_publishArgument)
officialBuildProperties: $(_officialBuildProperties)
osProperties: $(linuxOsPortableProperties)
runTests: false
- categoryName: PGO
categoryEmoji: 🧭
pgoInstrument: true
buildArchitecture: arm64
runtimeIdentifier: linux-arm64
Expand All @@ -259,13 +278,14 @@ extends:
osProperties: $(linuxOsPortableProperties)
runTests: false

############### MACOS ###############
############### 🍎 MACOS ###############
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml@self
parameters:
pool:
name: Azure Pipelines
image: macOS-latest
os: macOS
emoji: 🍎
helixTargetQueue: osx.13.amd64
oneESCompat:
templateFolderName: templates-official
Expand All @@ -274,29 +294,33 @@ extends:
${{ if and(eq(parameters.runTestBuild, false), ne(variables['Build.Reason'], 'PullRequest')) }}:
timeoutInMinutes: 90
macOSJobParameterSets:
### OFFICIAL ###
### ⭐ OFFICIAL ###
- categoryName: Official
categoryEmoji: ⭐
runtimeIdentifier: osx-x64
publishArgument: $(_publishArgument)
officialBuildProperties: $(_officialBuildProperties)
runTests: false
- categoryName: Official
categoryEmoji: ⭐
buildArchitecture: arm64
runtimeIdentifier: osx-arm64
publishArgument: $(_publishArgument)
officialBuildProperties: $(_officialBuildProperties)
runTests: false
### ARM64 TESTBUILD ###
### ARM64 πŸ§ͺ TESTBUILD ###
- ${{ if or(eq(parameters.runTestBuild, true), eq(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml@self
parameters:
pool:
name: Azure Pipelines
vmImage: macOS-latest
os: macOS
emoji: 🍎
helixTargetQueue: osx.13.arm64
macOSJobParameterSets:
- categoryName: TestBuild
categoryEmoji: πŸ§ͺ
buildArchitecture: arm64
runtimeIdentifier: osx-arm64

Expand Down
17 changes: 11 additions & 6 deletions .vsts-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,46 +33,51 @@ resources:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg

stages:
############### BUILD STAGE ###############
############### πŸ› οΈ BUILD STAGE ###############
- stage: build
displayName: Build
displayName: πŸ› οΈ
jobs:
############### WINDOWS ###############
############### πŸͺŸ WINDOWS ###############
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml@self
parameters:
pool:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals windows.vs2022.amd64.open
os: windows
emoji: πŸͺŸ
helixTargetQueue: windows.amd64.vs2022.pre.open

############### LINUX ###############
############### 🐧 LINUX ###############
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml
parameters:
pool:
name: $(DncEngPublicBuildPool)
demands: ImageOverride -equals build.ubuntu.2204.amd64.open
os: linux
emoji: 🐧
helixTargetQueue: ubuntu.2204.amd64.open

############### MACOS ###############
############### 🍎 MACOS ###############
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml
parameters:
pool:
name: Azure Pipelines
vmImage: macOS-latest
os: macOS
emoji: 🍎
helixTargetQueue: osx.13.amd64.open
### ARM64 ###
### ARM64 πŸ§ͺ TESTBUILD ###
- template: /eng/pipelines/templates/jobs/sdk-job-matrix.yml
parameters:
pool:
name: Azure Pipelines
vmImage: macOS-latest
os: macOS
emoji: 🍎
helixTargetQueue: osx.13.arm64.open
macOSJobParameterSets:
- categoryName: TestBuild
categoryEmoji: πŸ§ͺ
buildArchitecture: arm64
runtimeIdentifier: osx-arm64

Expand Down
7 changes: 4 additions & 3 deletions eng/dotnet-format/dotnet-format-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ parameters:
type: string
default: ''

### πŸ“° DOTNET-FORMAT ###
jobs:
- job: Formatting_Check
displayName: Run Formatting Check
- job: dotnet_format_formatting_check
displayName: πŸ“° βœ”οΈ
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:

- ${{ each testArgs in parameters.TestArguments }}:
- job: dotnet_format_integration_tests_${{ testArgs.Name }}
displayName: 'Dotnet-Format Integration Tests: ${{ testArgs.Name }}'
displayName: πŸ“° πŸ§ͺ ${{ testArgs.Name }}
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: $(DncEngPublicBuildPool)
Expand Down
13 changes: 7 additions & 6 deletions eng/pipelines/templates/jobs/sdk-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ parameters:
container: ''
helixTargetContainer: ''
categoryName: Build
categoryEmoji: πŸ› οΈ
runTests: true
testProjects: $(Build.SourcesDirectory)/test/UnitTests.proj
publishRetryConfig: false
Expand All @@ -32,11 +33,11 @@ jobs:
- template: /eng/common/${{ parameters.oneESCompat.templateFolderName }}/job/job.yml
parameters:
${{ if eq(parameters.container, '') }}:
name: ${{ parameters.categoryName }}_${{ parameters.pool.os }}_${{ parameters.buildArchitecture }}
displayName: '${{ parameters.categoryName }}: ${{ parameters.pool.os }} (${{ parameters.buildArchitecture }})'
name: ${{ parameters.pool.os }}_${{ parameters.categoryName }}_${{ parameters.buildArchitecture }}
displayName: ${{ parameters.pool.emoji }} ${{ parameters.categoryEmoji }} ${{ parameters.buildArchitecture }}
${{ else }}:
name: ${{ parameters.categoryName }}_${{ parameters.pool.os }}_${{ parameters.buildArchitecture }}_${{ parameters.container }}
displayName: '${{ parameters.categoryName }}: ${{ parameters.pool.os }} (${{ parameters.buildArchitecture }}) [${{ parameters.container }}]'
name: ${{ parameters.pool.os }}_${{ parameters.categoryName }}_${{ parameters.buildArchitecture }}_${{ parameters.container }}
displayName: ${{ parameters.pool.emoji }} ${{ parameters.categoryEmoji }} ${{ parameters.buildArchitecture }} ${{ parameters.container }}
pool: ${{ parameters.pool }}
container: ${{ parameters.container }}
strategy: ${{ parameters.strategy }}
Expand Down Expand Up @@ -125,7 +126,7 @@ jobs:
${{ parameters.runtimeSourceProperties }}
/p:CustomHelixTargetQueue=${{ parameters.helixTargetQueue }}
/bl:$(Build.SourcesDirectory)/artifacts/log/$(buildConfiguration)/${{ parameters.categoryName }}Tests.binlog
displayName: Run ${{ parameters.categoryName }} Tests
displayName: Run ${{ parameters.categoryEmoji }} Tests
condition: succeeded()
env:
# Required by Arcade for running in Helix.
Expand All @@ -147,7 +148,7 @@ jobs:
${{ parameters.runtimeSourceProperties }}
/p:CustomHelixTargetQueue=${{ parameters.helixTargetQueue }}${{ parameters.helixTargetContainer }}
/bl:$(Build.SourcesDirectory)/artifacts/log/$(buildConfiguration)/${{ parameters.categoryName }}Tests.binlog
displayName: Run ${{ parameters.categoryName }} Tests
displayName: Run ${{ parameters.categoryEmoji }} Tests
condition: succeeded()
env:
# Required by Arcade for running in Helix.
Expand Down
Loading
Loading