-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Build by service directory (part 2) #3647
Conversation
/azp run js - core - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - core - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - core - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
1267027
to
f2d04bd
Compare
/azp run js - core - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
|
I might suggest an alternative, which is that Rush has the concept of "review categories". We can make a category that lets us distinguish between the two types of libraries. Then it's easy enough to just parse the rush.json file (or you can use @microsoft/rush-lib if you need anything more complex). |
So is the suggestion to cross reference the name of the package loaded with what is in |
You could basically do the following: const dataPlanePackages = rushConfig.projects.filter(p => p.reviewCategory == 'client');
for (const p of dataPlanePackages) {
console.log(p.packageName);
} My point was that I think the Rush config is the right place to define category metadata about our packages, rather than in the package.json, since it's only relevant to our build system and dev tooling. P.S. : Right now only data plane projects are in the Rush workspace at all... P.P.S. : I have an issue open in the Rush repo to allow grouping of packages for Rush actions, which basically does exactly what is described above - we would just promote the concept of "reviewCategories" to the more general "categories" which could then be targets for actions in addition to being used for reviewing dependencies. |
Right - that makes sense, I'd still need to filter by path but that makes sense. I wonder whether we are abusing this feature though - that would be my only concern - unintended side-effects today, or down the road. |
/azp run js - storage-queue - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - storage-file - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - storage-blob - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - service-bus - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js event-processor-host - ci |
No pipelines are associated with this pull request. |
/azp run js - event-processor-host - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
@weshaggard could I get you to approve this - its ready to merge - the failing build is because of a flaky test case in |
This PR changes the JavaScript build to build all of the data-plane packages under the service directory associated with the pipeline rather than having a pipeline per package.