-
Notifications
You must be signed in to change notification settings - Fork 916
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
[PURIFY][BUILD] Remove isOss flag and defaults to oss build #245
[PURIFY][BUILD] Remove isOss flag and defaults to oss build #245
Conversation
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
✅ DCO Check Passed a1a4bd3 |
@@ -74,7 +74,7 @@ export const BuildPackages: Task = { | |||
await buildProductionProjects({ | |||
opensearchDashboardsRoot: config.resolveFromRepo(), | |||
buildRoot: build.resolvePath(), | |||
onlyOSS: build.isOss(), | |||
onlyOSS: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Remove this from other packages.
@@ -49,12 +49,6 @@ export const CreatePackageJson: Task = { | |||
dependencies: pkg.dependencies, | |||
}; | |||
|
|||
if (build.isOss()) { | |||
newPkg.workspaces.packages = newPkg.workspaces.packages.filter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems applied for oss, why not keep this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no x-pack workspace anymore so irrelevant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix: permissions missed after workspace update Signed-off-by: Lin Wang <wonglam@amazon.com> * remove not used imports Signed-off-by: Lin Wang <wonglam@amazon.com> --------- Signed-off-by: Lin Wang <wonglam@amazon.com>
Description
[Describe what this change achieves] Remove
isOSS
oss
and-no-ss
flag from the build distribution code. This still has some hard coded flag, which needs to be removed from other packages, i'll create follow up PRs for the same.To test this :
Issues Resolved
[List any issues this PR will resolve] #26
Check List
Signed-off-by: Mihir Soni mihirsoni.123@gmail.com