-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create internal CI & PR builds (#579)
Refactor yaml and create internal CI/PR builds
- Loading branch information
1 parent
2805f64
commit cfceec5
Showing
15 changed files
with
145 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. | ||
|
||
# Build Pipeline: Continuous Integration (Internal) | ||
# Validates: | ||
# - binaries can be built for all platforms and configurations | ||
# - packages can be built for all platforms and configurations | ||
|
||
name: $(date:yyyyMMdd)$(rev:rr) | ||
|
||
variables: | ||
TeamName: ClrInstrumentationEngine | ||
|
||
resources: | ||
repositories: | ||
- repository: MicroBuildTemplate | ||
type: git | ||
name: 1ESPipelineTemplates/MicroBuildTemplate | ||
ref: refs/tags/release | ||
|
||
extends: | ||
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate | ||
parameters: | ||
pool: | ||
name: VSEngSS-Microbuild2022-1ES | ||
os: windows | ||
sdl: | ||
sourceAnalysisPool: | ||
name: VSEngSS-MicroBuild2022-1ES | ||
os: windows | ||
binskim: | ||
enabled: false | ||
justificationForDisabling: 'Currently fails for debug builds. Disabling because we run binSkim in a separate pipeline.' | ||
|
||
stages: | ||
- template: ../stages/build_and_package.yaml@self | ||
parameters: | ||
OneESPT: true | ||
IsMicroBuildInternal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. | ||
|
||
# Build Pipeline: Pull Request (Internal) | ||
# Validates: | ||
# - binaries can be built for all platforms and configurations | ||
# - packages can be built for all platforms and configurations | ||
|
||
name: $(date:yyyyMMdd)$(rev:rr) | ||
|
||
variables: | ||
TeamName: ClrInstrumentationEngine | ||
|
||
resources: | ||
repositories: | ||
- repository: MicroBuildTemplate | ||
type: git | ||
name: 1ESPipelineTemplates/MicroBuildTemplate | ||
ref: refs/tags/release | ||
|
||
extends: | ||
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate | ||
parameters: | ||
pool: | ||
name: VSEngSS-Microbuild2022-1ES | ||
os: windows | ||
sdl: | ||
sourceAnalysisPool: | ||
name: VSEngSS-MicroBuild2022-1ES | ||
os: windows | ||
binskim: | ||
enabled: false | ||
justificationForDisabling: 'Currently fails for debug builds. Disabling because we run binSkim in a separate pipeline.' | ||
|
||
stages: | ||
- template: ../stages/build_and_package.yaml@self | ||
parameters: | ||
OneESPT: true | ||
IsMicroBuildInternal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
parameters: | ||
OneESPT: false | ||
IsMicroBuildInternal: false | ||
IncludeTests: true | ||
Configuration: Both | ||
SignType: None | ||
|
||
stages: | ||
- stage: Build | ||
jobs: | ||
# Binaries (Windows & Linux) | ||
- template: ../jobs/binaries.yaml@self | ||
parameters: | ||
SignType: ${{ parameters.SignType}} | ||
IndexSources: true | ||
Configuration: ${{ parameters.Configuration }} | ||
OneESPT: ${{ parameters.OneESPT }} | ||
IsMicroBuildInternal: ${{ parameters.IsMicroBuildInternal }} | ||
|
||
- ${{ if eq('true', parameters.IncludeTests) }}: | ||
- stage: Test | ||
dependsOn: Build | ||
jobs: | ||
# Tests (Windows) | ||
- template: ../jobs/tests.yaml@self | ||
parameters: | ||
Configuration: ${{ parameters.Configuration }} | ||
IsMicroBuildInternal: ${{ parameters.IsMicroBuildInternal }} | ||
|
||
- stage: Package | ||
dependsOn: Build | ||
jobs: | ||
# Packages (Windows & Linux) | ||
- template: ../jobs/packages.yaml@self | ||
parameters: | ||
SignType: ${{ parameters.SignType}} | ||
Configuration: ${{ parameters.Configuration }} | ||
OneESPT: ${{ parameters.OneESPT }} | ||
IsMicroBuildInternal: ${{ parameters.IsMicroBuildInternal }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters