Skip to content

Weekly release update #507

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

Merged
merged 14 commits into from
Jan 22, 2021
Merged

Weekly release update #507

merged 14 commits into from
Jan 22, 2021

Conversation

peombwa
Copy link
Member

@peombwa peombwa commented Jan 21, 2021

This PR updates the current weekly OpenAPI download ADO pipeline by making the following changes:

  • Adds a step to get a diff of modules with OpenAPI docs changes.
  • Adds a step to calculate and bump minor version number of modules with changes based on the current version in PS Gallery. Modules without OpenAPI changes won't have a version bump.
  • Adds an option to just build and run unit tests without signing or publishing artifacts. This reduces the overall build and validation time of OpenAPI changes.
  • Simplifies ADO pipeline scripts by removing duplicate/unnecessary steps.
  • Updates tools/GenerateProfiles.ps1 to always generate sorted profile definitions. This will reduce the size of future weekly PRs. Profile definitions are used to map resource segments to API versions.
  • Updates tools/GenerateModules.ps1 to optionally accept a list of modules to generate via -ModulesToGenerate. This is used to only build modules with changes.
  • Adds retry logic to tools/DownloadOpenApiDoc.ps1 with an exponential backoff for HTTP status code 429, 503 and 504.

A complete run with the changes above can be found here : https://microsoftgraph.visualstudio.com/Graph%20Developer%20Experiences/_build/results?buildId=37435&view=results

Closes #490

@peombwa peombwa marked this pull request as ready for review January 21, 2021 19:12
@peombwa peombwa self-assigned this Jan 21, 2021
@peombwa peombwa merged commit 61ec9b0 into dev Jan 22, 2021
@peombwa peombwa deleted the features/WeeklyReleaseUpdate branch January 22, 2021 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Release Cadence
2 participants