-
Notifications
You must be signed in to change notification settings - Fork 134
Onboard the official build to 1ES pipeline templates #1223
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
Merged
RikkiGibson
merged 15 commits into
dotnet:main
from
maryamariyan:dev/maryamariyan/onboard-1es-pt
Mar 22, 2024
Merged
Changes from 10 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c27571c
Onboard the official build to 1ES pipeline templates
maryamariyan 936cec0
templates to templates-official
maryamariyan e358e2c
indentation
maryamariyan 6efd43c
change templates to to templates-official
maryamariyan f4f4357
remove comments
maryamariyan e33b891
using buildArtifacts
maryamariyan 658d6df
removed
maryamariyan b990e67
try microbuild
maryamariyan ba43de9
delete publishbuildartifacts
maryamariyan 0568bf5
try again - manual update
maryamariyan 817e3a7
include TeamName
maryamariyan fae4484
Upgrade Microsoft.Build Version
maryamariyan 5e16b4a
upgrade System.Text.Json
maryamariyan 2bde529
downgrade back SystemTextJsonVersion and MicrosoftBuildTasksCoreVersion
maryamariyan 55b2d81
Remove comment
maryamariyan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| # Branches that trigger builds on PR | ||
| # This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool. | ||
| # Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected. | ||
| # This pipeline will be extended to the MicroBuild template | ||
| pr: | ||
| branches: | ||
| include: | ||
|
|
@@ -8,32 +10,32 @@ pr: | |
| exclude: | ||
| - README.md | ||
| - docs/* | ||
|
|
||
| # Run official build every day at midnight, if code has changed since the last run. | ||
| schedules: | ||
| - cron: "0 0 * * *" | ||
| displayName: Daily Official Build | ||
| branches: | ||
| include: | ||
| - main | ||
|
|
||
| variables: | ||
| - template: /eng/common/templates-official/variables/pool-providers.yml@self | ||
| - name: _TeamName | ||
| value: Roslyn | ||
| - name: TeamName | ||
| value: Roslyn | ||
| resources: | ||
| repositories: | ||
| - repository: 1ESPipelineTemplates | ||
| - repository: MicroBuildTemplate | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where is this repository?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a sibling project in dnceng which contains the repo. |
||
| type: git | ||
| name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
| name: 1ESPipelineTemplates/MicroBuildTemplate | ||
| ref: refs/tags/release | ||
| extends: | ||
| template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates | ||
| template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate | ||
| parameters: | ||
| pool: | ||
| name: Azure-Pipelines-1ESPT-ExDShared | ||
| image: windows-2022 | ||
| os: windows | ||
| sdl: | ||
| sourceAnalysisPool: | ||
| name: $(DncEngInternalBuildPool) | ||
| image: 1es-windows-2022-pt | ||
| os: windows | ||
| customBuildTags: | ||
| - ES365AIMigrationTooling | ||
| stages: | ||
|
|
@@ -81,7 +83,6 @@ extends: | |
| _BuildArgs: '' | ||
| Release: | ||
| _BuildConfig: Release | ||
| # PRs or external builds are not signed. | ||
| ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}: | ||
| _SignType: test | ||
| _BuildArgs: '' | ||
|
|
@@ -93,13 +94,6 @@ extends: | |
| clean: true | ||
| - script: eng\cibuild.cmd -configuration $(_BuildConfig) -prepareMachine $(_BuildArgs) | ||
| displayName: Build and Test | ||
| # Archive NuGet packages to DevOps (workaround for https://github.com/dotnet/arcade/issues/4444) | ||
| - task: PublishBuildArtifacts@1 | ||
| displayName: Publish Artifact Packages | ||
| inputs: | ||
| PathtoPublish: 'artifacts\packages\$(_BuildConfig)' | ||
| ArtifactName: 'Packages' | ||
| condition: succeeded() | ||
| - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}: | ||
| - job: MacOS | ||
| displayName: 'MacOS' | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.