-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Update AOT pipeline to no longer require ci parameters #53752
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
Draft
m-redding
wants to merge
17
commits into
Azure:main
Choose a base branch
from
m-redding:aot-revamp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+98
−230
Draft
Changes from 8 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
151ff61
first pass on updating AOT CI
m-redding 78017be
clean up repo refs in ci files
m-redding caa1dcf
more yml updates
m-redding daf1963
script updates
m-redding 32d9e29
fix script
m-redding 0e0efe6
more updates
m-redding dcb0dde
try fixing yaml
m-redding 374e8ca
debugging
m-redding 81b5474
Merge branch 'main' into aot-revamp
m-redding 729dbe0
initial feedback
m-redding 86cf99f
update parameter
m-redding 2dcfbc0
Merge branch 'main' into aot-revamp
m-redding 60977ae
attempt to delete PR script
m-redding 4c66b19
another clean up
m-redding d54c3e1
fix attempt
m-redding 1d8a3f3
another attempt
m-redding e7ab6bc
another attempt
m-redding 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
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
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
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
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
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
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
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
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
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 |
|---|---|---|
|
|
@@ -35,23 +35,17 @@ $filteredPackages = Get-ChildItem -Path $PackageInfoFolder -Filter "*.json" -Fil | |
|
|
||
| $failedAotChecks = $false | ||
| foreach ($package in $filteredPackages) { | ||
| if ($package.CIParameters.CheckAOTCompat) { | ||
| Write-Host "Running Check-AOT-Compatibility.ps1 for Package: $($package.ArtifactName) Service $($package.ServiceDirectory)" | ||
|
|
||
| # Check if AOTTestInputs exists and has ExpectedWarningsFilePath, otherwise use "None" | ||
| $expectedWarningsFilePath = "None" | ||
| if ($package.CIParameters.AOTTestInputs -and $package.CIParameters.AOTTestInputs.ExpectedWarningsFilePath) { | ||
| $expectedWarningsFilePath = $package.CIParameters.AOTTestInputs.ExpectedWarningsFilePath | ||
| } | ||
|
|
||
| & $PSScriptRoot/Check-AOT-Compatibility.ps1 ` | ||
| -PackageName $package.ArtifactName ` | ||
| -ServiceDirectory $package.ServiceDirectory ` | ||
| -ExpectedWarningsFilePath $expectedWarningsFilePath | ||
|
|
||
| if ($LASTEXITCODE -ne 0) { | ||
| $failedAotChecks = $true | ||
| } | ||
| Write-Host "Running Check-AOT-Compatibility.ps1 for Package: $($package.ArtifactName) Service $($package.ServiceDirectory)" | ||
|
|
||
| $scriptPath = Join-Path $PSScriptRoot "Check-AOT-Compatibility.ps1" | ||
|
||
| Write-Host "Calling: $scriptPath -ServiceDirectory $($package.ServiceDirectory) -PackageName $($package.ArtifactName)" | ||
|
|
||
| & $scriptPath ` | ||
| -ServiceDirectory $package.ServiceDirectory ` | ||
| -PackageName $package.ArtifactName | ||
|
|
||
| if ($LASTEXITCODE -ne 0) { | ||
| $failedAotChecks = $true | ||
| } | ||
| } | ||
|
|
||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
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.