Skip to content
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

modify policy in readme.md #19673

Merged
merged 1 commit into from
Jul 6, 2022
Merged

modify policy in readme.md #19673

merged 1 commit into from
Jul 6, 2022

Conversation

kazrael2119
Copy link
Contributor

@qiaozha
Copy link
Member

qiaozha commented Jul 6, 2022

/azp run

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 6, 2022

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
compared tags (via openapi-validator v1.13.0) new version base version
default default(e048bfa) default(main)
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 6, 2022

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
️❌SDK Breaking Change Tracking failed [Detail]

Breaking Changes Tracking

️✔️azure-sdk-for-go - armresources - 1.0.1
azure-sdk-for-go - armdeploymentscripts - 2.0.0
+	Field `DeploymentScript` of struct `ClientUpdateOptions` has been removed
+	Function `*Client.Update` parameter(s) have been changed from `(context.Context, string, string, *ClientUpdateOptions)` to `(context.Context, string, string, DeploymentScriptUpdateParameter, *ClientUpdateOptions)`
azure-sdk-for-go - armfeatures - 2.0.0
+	Field `SubscriptionFeatureRegistrationType` of struct `SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions` has been removed
+	Function `*SubscriptionFeatureRegistrationsClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, *SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions)` to `(context.Context, string, string, SubscriptionFeatureRegistration, *SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions)`
️✔️azure-sdk-for-go - armlinks - 1.0.1
️✔️azure-sdk-for-go - armlocks - 1.0.1
azure-sdk-for-go - armmanagedapplications - 2.0.0
+	Field `Parameters` of struct `ApplicationsClientUpdateByIDOptions` has been removed
+	Field `Parameters` of struct `ApplicationsClientUpdateOptions` has been removed
+	Function `*ApplicationsClient.UpdateByID` parameter(s) have been changed from `(context.Context, string, *ApplicationsClientUpdateByIDOptions)` to `(context.Context, string, Application, *ApplicationsClientUpdateByIDOptions)`
+	Function `*ApplicationsClient.Update` parameter(s) have been changed from `(context.Context, string, string, *ApplicationsClientUpdateOptions)` to `(context.Context, string, string, ApplicationPatchable, *ApplicationsClientUpdateOptions)`
️✔️azure-sdk-for-go - armpolicy - 0.6.1
️✔️azure-sdk-for-go - armsubscriptions - 1.0.1
azure-sdk-for-go - armtemplatespecs - 2.0.0
+	Field `TemplateSpecVersionUpdateModel` of struct `TemplateSpecVersionsClientUpdateOptions` has been removed
+	Field `TemplateSpec` of struct `ClientUpdateOptions` has been removed
+	Function `*Client.Update` parameter(s) have been changed from `(context.Context, string, string, *ClientUpdateOptions)` to `(context.Context, string, string, TemplateSpecUpdateModel, *ClientUpdateOptions)`
+	Function `*TemplateSpecVersionsClient.Update` parameter(s) have been changed from `(context.Context, string, string, string, *TemplateSpecVersionsClientUpdateOptions)` to `(context.Context, string, string, string, TemplateSpecVersionUpdateModel, *TemplateSpecVersionsClientUpdateOptions)`
️✔️azure-sdk-for-go - armchanges - 1.0.1
️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-resource - 21.1.0
️⚠️ azure-sdk-for-net-track2 warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 9d85adf. SDK Automation 14.0.0
    command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
    warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
    command	pwsh ./eng/scripts/Automation-Sdk-Generate.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    warn	No file changes detected after generation
    warn	Skip detect changed packages
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 9d85adf. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmderr	[automation_generate.sh]  config global `--global`, `--local` are deprecated. Use `--location=global` instead.
    cmderr	[automation_generate.sh]
    cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.11.0 -> 8.13.2
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.2>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-resource [View full logs]  [Release SDK Changes]
    info	[Changelog]
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 9d85adf. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️armresources [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️armdeploymentscripts [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Function `*Client.Update` parameter(s) have been changed from `(context.Context, string, string, *ClientUpdateOptions)` to `(context.Context, string, string, DeploymentScriptUpdateParameter, *ClientUpdateOptions)`
    info	[Changelog] - Field `DeploymentScript` of struct `ClientUpdateOptions` has been removed
    info	[Changelog]
    info	[Changelog] Total 2 breaking change(s), 0 additive change(s).
  • ️✔️armfeatures [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Function `*SubscriptionFeatureRegistrationsClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, *SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions)` to `(context.Context, string, string, SubscriptionFeatureRegistration, *SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions)`
    info	[Changelog] - Field `SubscriptionFeatureRegistrationType` of struct `SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions` has been removed
    info	[Changelog]
    info	[Changelog] Total 2 breaking change(s), 0 additive change(s).
  • ️✔️armlinks [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️armlocks [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️armmanagedapplications [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Function `*ApplicationsClient.UpdateByID` parameter(s) have been changed from `(context.Context, string, *ApplicationsClientUpdateByIDOptions)` to `(context.Context, string, Application, *ApplicationsClientUpdateByIDOptions)`
    info	[Changelog] - Function `*ApplicationsClient.Update` parameter(s) have been changed from `(context.Context, string, string, *ApplicationsClientUpdateOptions)` to `(context.Context, string, string, ApplicationPatchable, *ApplicationsClientUpdateOptions)`
    info	[Changelog] - Field `Parameters` of struct `ApplicationsClientUpdateByIDOptions` has been removed
    info	[Changelog] - Field `Parameters` of struct `ApplicationsClientUpdateOptions` has been removed
    info	[Changelog]
    info	[Changelog] Total 4 breaking change(s), 0 additive change(s).
  • ️✔️armpolicy [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️armsubscriptions [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️armtemplatespecs [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Function `*Client.Update` parameter(s) have been changed from `(context.Context, string, string, *ClientUpdateOptions)` to `(context.Context, string, string, TemplateSpecUpdateModel, *ClientUpdateOptions)`
    info	[Changelog] - Function `*TemplateSpecVersionsClient.Update` parameter(s) have been changed from `(context.Context, string, string, string, *TemplateSpecVersionsClientUpdateOptions)` to `(context.Context, string, string, string, TemplateSpecVersionUpdateModel, *TemplateSpecVersionsClientUpdateOptions)`
    info	[Changelog] - Field `TemplateSpec` of struct `ClientUpdateOptions` has been removed
    info	[Changelog] - Field `TemplateSpecVersionUpdateModel` of struct `TemplateSpecVersionsClientUpdateOptions` has been removed
    info	[Changelog]
    info	[Changelog] Total 4 breaking change(s), 0 additive change(s).
  • ️✔️armchanges [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
️⚠️ azure-sdk-for-js warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 9d85adf. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    cmderr	[automation_init.sh] WARN deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist
    cmderr	[automation_init.sh]  deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
    cmderr	[automation_init.sh] npm WARN deprecated @opentelemetry/[email protected]: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
    cmderr	[automation_init.sh] WARN deprecated @azure/[email protected]: This version has been deprecated, please upgrade to the version tagged as latest
    cmderr	[automation_init.sh] npm WARN @octokit/[email protected] requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
    warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
  • ️✔️@azure/arm-changes [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-features [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-links [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-locks [View full logs]  [Release SDK Changes]
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added Interface ErrorAdditionalInfo
    info	[Changelog]   - Added Interface ErrorDetail
    info	[Changelog]   - Added Interface ErrorResponse
    info	[Changelog]   - Added Interface SystemData
    info	[Changelog]   - Added Type Alias CreatedByType
    info	[Changelog]   - Interface ManagementLockObject has a new optional parameter systemData
    info	[Changelog]   - Added Enum KnownCreatedByType
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-managedapplications [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-policy [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-resources-subscriptions [View full logs]  [Release SDK Changes]
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added operation Subscriptions.checkZonePeers
    info	[Changelog]   - Added Interface AvailabilityZonePeers
    info	[Changelog]   - Added Interface CheckZonePeersRequest
    info	[Changelog]   - Added Interface CheckZonePeersResult
    info	[Changelog]   - Added Interface ErrorDetail
    info	[Changelog]   - Added Interface ErrorResponseAutoGenerated
    info	[Changelog]   - Added Interface Peers
    info	[Changelog]   - Added Interface SubscriptionsCheckZonePeersOptionalParams
    info	[Changelog]   - Added Type Alias SubscriptionsCheckZonePeersResponse
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-resources [View full logs]  [Release SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-templatespecs [View full logs]  [Release SDK Changes]
    Only show 14 items here, please refer to log for details.
    info	[Changelog]   - Added operation TemplateSpecVersions.listBuiltIns
    info	[Changelog]   - Added Interface TemplateSpecsGetBuiltInOptionalParams
    info	[Changelog]   - Added Interface TemplateSpecsListBuiltInsNextOptionalParams
    info	[Changelog]   - Added Interface TemplateSpecsListBuiltInsOptionalParams
    info	[Changelog]   - Added Interface TemplateSpecVersionsGetBuiltInOptionalParams
    info	[Changelog]   - Added Interface TemplateSpecVersionsListBuiltInsNextOptionalParams
    info	[Changelog]   - Added Interface TemplateSpecVersionsListBuiltInsOptionalParams
    info	[Changelog]   - Added Type Alias TemplateSpecsGetBuiltInResponse
    info	[Changelog]   - Added Type Alias TemplateSpecsListBuiltInsNextResponse
    info	[Changelog]   - Added Type Alias TemplateSpecsListBuiltInsResponse
    info	[Changelog]   - Added Type Alias TemplateSpecVersionsGetBuiltInResponse
    info	[Changelog]   - Added Type Alias TemplateSpecVersionsListBuiltInsNextResponse
    info	[Changelog]   - Added Type Alias TemplateSpecVersionsListBuiltInsResponse
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
️❌ azure-resource-manager-schemas failed [Detail]
  • Failed [Logs]Release - Generate from 9d85adf. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh]  old lockfile
    cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
    cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
    cmderr	[initScript.sh] npm WARN old lockfile
    cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
    cmderr	[initScript.sh] npm WARN old lockfile
    warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    warn	No file changes detected after generation
    cannot force update branch 'sdkAuto/resources' as it is the current HEAD of the repository.
    Error: cannot force update branch 'sdkAuto/resources' as it is the current HEAD of the repository.
  • ️✔️resources [View full logs
  • ️✔️resources [View full logs
    error	Fatal error: cannot force update branch 'sdkAuto/resources' as it is the current HEAD of the repository.
    error	The following packages are still pending:
    error		resources
    error		resources
    error		resources
    error		resources
  • ️✔️resources
  • ️✔️resources
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 9d85adf. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
  • ️✔️Az.Changes [View full logs]  [Release SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@leni-msft leni-msft merged commit 9d85adf into Azure:main Jul 6, 2022
This was referenced Jul 6, 2022
@kazrael2119 kazrael2119 deleted the modify-policy branch August 2, 2022 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants