msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Split Weekly Generation Pipeline

Open ramsessanchez opened this issue 2 months ago • 3 comments

Split Weekly generation pipeline into two separate pipelines, one to retrieve openApi updates and individually build the modules, and a second pipeline to generate the comandMetadata which requires all modules build on a single image.

The following yml files handle the following: 1.) downloading the most recent openApi docs 2.) determine which modules have been updated 3.) build the updated modules independently to validate openApi document correctness 4.) if all updated modules build successfully then a PR is created with the updated openApi documents. Weekly-Generation.yml Individualized-Workload-Modules.yml

The second will be triggered on merges to Dev and can also be triggered manually. 1.) All modules are built on a single image 2.) the commandMetadata is generated after all modules are built. 3.) successful completion of both results in a pull request into the Dev branch with an updated commandMetadata file. Module-Metadata-generation.yml

Note: The second pipeline is still in testing as we can't test the pipeline fully until we have it registered as one of our pipelines in devops and add the appropriate token.

ramsessanchez avatar Oct 22 '25 08:10 ramsessanchez

The following demonstrates ability to build modules individually: https://microsoftgraph.visualstudio.com/Graph%20Developer%20Experiences/_build/results?buildId=200425&view=results The following demonstrates ability to specify which modules to build and create pr: https://microsoftgraph.visualstudio.com/Graph%20Developer%20Experiences/_build/results?buildId=200930&view=results The following pr was made by the previous pipeline run, no chages to the openApi docs as updating the openApi doc step was intentionally skipped. https://github.com/microsoftgraph/msgraph-sdk-powershell/pull/3429

ramsessanchez avatar Oct 22 '25 08:10 ramsessanchez

@ramsessanchez do we have any preliminary pipeline runs that use these updated scripts?

MIchaelMainer avatar Oct 22 '25 16:10 MIchaelMainer

@ramsessanchez do we have any preliminary pipeline runs that use these updated scripts?

Assuming you're talking about the script in download-openApi .yml? No other pipelines use this outside of the weekly generation pipeline. The update focuses on making sure that the list of modules in the diff are listed with v1.0 or beta label, for the purpose of the module build matrix.

ramsessanchez avatar Oct 22 '25 16:10 ramsessanchez