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
3 changes: 3 additions & 0 deletions eng/pipelines/common/build-coreclr-and-libraries-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ parameters:
pool: ''
platform: ''
testBuildPlatforms: []
disableComponentGovernance: false

jobs:
- template: /eng/pipelines/coreclr/templates/build-job.yml
Expand All @@ -29,6 +30,7 @@ jobs:
signBinaries: ${{ parameters.signBinaries }}
variables: ${{ parameters.variables }}
pool: ${{ parameters.pool }}
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}

- template: /eng/pipelines/libraries/build-job.yml
parameters:
Expand All @@ -48,3 +50,4 @@ jobs:
liveRuntimeBuildConfig: ${{ parameters.buildConfig }}
platform: ${{ parameters.platform }}
testBuildPlatforms: ${{ parameters.testBuildPlatforms }}
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
5 changes: 3 additions & 2 deletions eng/pipelines/common/templates/runtimes/xplat-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ parameters:
timeoutInMinutes: ''
enableMicrobuild: ''
gatherAssetManifests: false
disableComponentGovernance: false

variables: {} ## any extra variables to add to the defaults defined below

Expand Down Expand Up @@ -63,8 +64,8 @@ jobs:
${{ if eq(parameters.osGroup, 'windows') }}:
agentOs: windows

# Component governance does not work on musl machines
${{ if eq(parameters.osSubGroup, '_musl') }}:
# Disable component governance if requested or on musl machines where it does not work well
${{ if or(eq(parameters.disableComponentGovernance, true), eq(parameters.osSubGroup, '_musl')) }}:
disableComponentGovernance: true

# Setting this results in the arcade job template including a step
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/coreclr/jitrollingbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ extends:
- windows_x64
- windows_x86
- windows_arm64
disableComponentGovernance: true # Not a shipping artifact

- template: /eng/pipelines/common/platform-matrix.yml
parameters:
Expand All @@ -47,3 +48,4 @@ extends:
- windows_x64
- windows_x86
- windows_arm64
disableComponentGovernance: true # Not a shipping artifact
2 changes: 2 additions & 0 deletions eng/pipelines/coreclr/superpmi-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ extends:
testBuildPlatforms:
- linux_x64
- windows_x64
disableComponentGovernance: true # No shipping artifacts produced by this pipeline

# superpmi-collect-job that targets macOS/arm64 depends on coreclr binaries produced by the macOS/x64 job
# We don't collect osx-x64 (it's essentially the same as linux-x64). If we did, we'd add osx_x64 in the
Expand All @@ -61,6 +62,7 @@ extends:
- osx_x64
jobParameters:
testGroup: outerloop
disableComponentGovernance: true # No shipping artifacts produced by this pipeline

- template: /eng/pipelines/common/platform-matrix.yml
parameters:
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/coreclr/templates/build-jit-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ parameters:
timeoutInMinutes: ''
variables: {}
dependOnEvaluatePaths: false
disableComponentGovernance: false
uploadAs: 'azureBlob'

### Product build
Expand All @@ -25,6 +26,7 @@ jobs:
enableMicrobuild: true
pool: ${{ parameters.pool }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}

# Compute job name from template parameters
name: ${{ format('coreclr_jit_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/coreclr/templates/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parameters:
container: ''
crossBuild: false
dependOnEvaluatePaths: false
disableComponentGovernance: false
disableClrTest: false
isOfficialBuild: false
osGroup: ''
Expand Down Expand Up @@ -36,6 +37,7 @@ jobs:
pool: ${{ parameters.pool }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
disableClrTest: ${{ parameters.disableClrTest }}
pgoType: ${{ parameters.pgoType }}

Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/coreclr/templates/xplat-pipeline-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ parameters:
timeoutInMinutes: ''
enableMicrobuild: ''
gatherAssetManifests: false
disableComponentGovernance: false

variables: {} ## any extra variables to add to the defaults defined below

Expand Down Expand Up @@ -48,6 +49,7 @@ jobs:
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
enableMicrobuild: ${{ parameters.enableMicrobuild }}
gatherAssetManifests: ${{ parameters.gatherAssetManifests }}
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}

variables:
- ${{ if ne(parameters.testGroup, '') }}:
Expand Down
5 changes: 3 additions & 2 deletions eng/pipelines/libraries/base-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ parameters:
steps: []
dependsOn: []
dependOnEvaluatePaths: false
disableComponentGovernance: false
variables: {}
name: ''
displayName: ''
Expand All @@ -40,8 +41,8 @@ jobs:
helixRepo: dotnet/runtime
pool: ${{ parameters.pool }}

# Component governance does not work on musl machines
${{ if eq(parameters.osSubGroup, '_musl') }}:
# Disable component governance if requested or on musl machines where it does not work well
${{ if or(eq(parameters.disableComponentGovernance, true), eq(parameters.osSubGroup, '_musl')) }}:
disableComponentGovernance: true

variables:
Expand Down
2 changes: 2 additions & 0 deletions eng/pipelines/libraries/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ parameters:
container: ''
condition: true
dependOnEvaluatePaths: false
disableComponentGovernance: false
shouldContinueOnError: false
variables: {}
pool: ''
Expand Down Expand Up @@ -52,6 +53,7 @@ jobs:
container: ${{ parameters.container }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
pool: ${{ parameters.pool }}
runtimeVariant: ${{ parameters.runtimeVariant }}
testScope: ${{ parameters.testScope }}
Expand Down