-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[DO NOT REVIEW] Test pipeline for new TSP flow #28987
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
Changes from all commits
598f2c4
b62eb3c
d563459
d214897
31dc9b1
7bc1936
8483e3b
0bb2931
511db29
69b896a
eda8d96
01c0f89
eeb0ba6
472a27b
4f37b14
d67ab9c
115af9b
58a939b
20bff40
ad85937
2b81f60
90f10d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| "generate_Id": "038320b6-a9d6-450d-9754-dcbd5b2e0ecb" | ||
| "generate_Id": "038320b6-a9d6-450d-9754-dcbd5b2e0ecc" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| directory: specification/azuredependencymap/DependencyMap.Management | ||
| commit: 5979db8af035491b86afc1713134ea1c806f7742 | ||
| repo: Azure/azure-rest-api-specs | ||
| commit: e952eed8b787d99d10ba9a5ea3789ed0a9877214 | ||
| repo: VeryEarly/azure-rest-api-specs | ||
| additionalDirectories: |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| options: | ||
| "@azure-tools/typespec-powershell": | ||
| service-dir: "src" | ||
| emitter-output-dir: "{output-dir}/{service-dir}/DependencyMap/DependencyMap.Autorest" | ||
| clear-output-folder: true | ||
| debug: true | ||
| azure: true | ||
| module-version: 0.1.0 | ||
| prefix: "Az" | ||
| subject-prefix: "DependencyMap" | ||
| service-name: DependencyMap | ||
| module-name: "{prefix}.{service-name}" | ||
| output-folder: "{output-dir}" | ||
| exclude-tableview-properties: | ||
| - Id | ||
| - Type | ||
| directive: | ||
| - where: | ||
| subject: Operation | ||
| hide: true | ||
| - where: | ||
| parameter-name: SubscriptionId | ||
| set: | ||
| default: | ||
| script: "(Get-AzContext).Subscription.Id" | ||
| - where: | ||
| variant: ^(Create|Update|Export)(?!.*?Expanded|ViaJsonString|ViaJsonFilePath) | ||
| remove: true | ||
| - where: | ||
| subject: MapConnection | ||
| variant: ^(Get)(?!.*?Expanded|ViaJsonString|ViaJsonFilePath) | ||
| remove: true | ||
| - where: | ||
| variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ | ||
| remove: true | ||
| - where: | ||
| verb: Set | ||
| remove: true | ||
| # Remove four post operations since there are issues in tsp and response schema are not defined. | ||
| - where: | ||
| subject: MapConnection|MapDependencyView | ||
| verb: Get | ||
| remove: true | ||
| - where: | ||
| verb: Export | ||
| remove: true | ||
| - no-inline: | ||
| - DiscoverySourceResourceProperties | ||
| - model-cmdlet: | ||
| - model-name: OffAzureDiscoverySourceResourceProperties |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,7 @@ | ||||||
| $module = 'AzDev' | ||||||
| $artifacts = "$PSScriptRoot/../../artifacts" | ||||||
| $artifacts = Join-Path $PSScriptRoot ".." ".." "artifacts" | ||||||
| $moduleOut = Join-Path $artifacts $module | ||||||
|
|
||||||
| dotnet publish $PSScriptRoot/src --sc -o "$artifacts/$module/bin" | ||||||
| Copy-Item "$PSScriptRoot/$module/*" "$artifacts/$module" -Recurse -Force | ||||||
| if (Test-Path $moduleOut) { Remove-Item $moduleOut -Recurse -Force } | ||||||
|
||||||
| dotnet publish (Join-Path $PSScriptRoot "src") --sc -o (Join-Path $moduleOut "bin") | ||||||
| Copy-Item (Join-Path $PSScriptRoot $module "*") $moduleOut -Recurse -Force | ||||||
|
||||||
| Copy-Item (Join-Path $PSScriptRoot $module "*") $moduleOut -Recurse -Force | |
| Get-ChildItem -Path (Join-Path $PSScriptRoot $module) | Copy-Item -Destination $moduleOut -Recurse -Force |
Copilot
AI
Dec 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable naming is inconsistent with PowerShell conventions. PowerShell variables typically use PascalCase for clarity, but some variables here use lowercase (like $module, $artifacts, $moduleOut). While not incorrect, using consistent PascalCase (like $Module, $Artifacts, $ModuleOut) would be more conventional and improve readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ChangeLog entry "Pipeline test" is not user-facing and doesn't follow the required format. According to the ChangeLog.md guidelines, entries should describe changes from the user's perspective and explain what changed and how it affects their usage. This appears to be a test entry that should be removed or replaced with a proper description of the changes being introduced.