Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
108 stars 166 forks source link

[SDK Automation - Java] Adjust the steps to run in the automation script #8040

Closed raych1 closed 4 weeks ago

raych1 commented 2 months ago

The current goal for the SDK automation in the spec PR phase is to generate the SDK code and generate the API View.

We would like to define required steps and optional steps in the SDK automation script. If any required steps fail, it should fail the SDK generation CI check and stop the execution. If any optional steps fail, it could be reported as warnings and shouldn't impact the followed API View generation step.

@weidongxu-microsoft

weidongxu-microsoft commented 2 months ago

Current the automation likely already only running the required steps (Java need to compile the code to generate JAR for apiview -- that require compile pass).

If we add breaking changes check etc., it should be on the optional part.

weidongxu-microsoft commented 4 weeks ago

Last PR https://github.com/Azure/azure-sdk-for-java/pull/40282 (package instead of verify, for DPG)