Skip to content

[Tools] Update tools to compatible CI pipeline for generation branch #15276

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 2 commits into from
Jun 21, 2021

Conversation

wyunchi-ms
Copy link
Contributor

@wyunchi-ms wyunchi-ms commented Jun 16, 2021

Description

Problem want to solve

  • We want to keep the CI pipeline of generation branch same with main branch.

Solution

  • Add PrepareAutorestModule.ps1 to handle the generated module in generation branch. This script will make the code structure same with main branch.
  • Edit the CI filter rule to make CI run when readme.md is modified in generated modules.

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • the markdown help files have been regenerated using the commands listed here

@wyunchi-ms wyunchi-ms changed the title [Tools] Add Support for hybrid module [Tools] Update tools to compatible CI pipeline for generation branch Jun 16, 2021
@wyunchi-ms
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@wyunchi-ms wyunchi-ms force-pushed the wyunchi/tools/pipeline branch from f199b63 to a891c6b Compare June 17, 2021 05:39
@dingmeng-xue
Copy link
Member

Shall the file Az.autorest.hybrid.props be commit? Or is it generated on the fly?

@dingmeng-xue dingmeng-xue merged commit 87067f8 into main Jun 21, 2021
@wyunchi-ms wyunchi-ms deleted the wyunchi/tools/pipeline branch July 5, 2021 03:24
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.

2 participants