Skip to content
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

[1.0-healthcheck] De-Couple Dashboards linux building process (#795) (#2345) #2347

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Conversation

Flyingliuhub
Copy link
Member

  • De-Couple Dashboards linux building process

When running yarn build --skip-os-packages it will build 4 tarballs for Dashboards (2x linux, 1x macOS, 1x windows) and takes 10+min to do so.

In this PR, we break the building process to allow single linux to build. If run yarn build-platform --linux-x64 only linux x64 tarball is created. Same for linux arm64 and darwin x64. You could run yarn build-platform --linux-arm64 and yarn build-platform darwin-x64.

partially solved:
#473

Signed-off-by: Anan Zhuang ananzh@amazon.com

  • support multiple CLI options and fix comments

Signed-off-by: AnanZ ananzh@amazon.com

  • fix wording to artifacts

Signed-off-by: AnanZ ananzh@amazon.com

Co-authored-by: Ubuntu ubuntu@ip-172-31-50-84.us-west-2.compute.internal

Co-authored-by: Anan 79961084+ananzh@users.noreply.github.com
Co-authored-by: Ubuntu ubuntu@ip-172-31-50-84.us-west-2.compute.internal

Description

[Describe what this change achieves]

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
      • yarn test:jest
      • yarn test:jest_integration
      • yarn test:ftr
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

* De-Couple Dashboards linux building process

When running yarn build --skip-os-packages it will build 4 tarballs
for Dashboards (2x linux, 1x macOS, 1x windows) and takes 10+min to
do so.

In this PR, we break the building process to allow single linux to
build. If run `yarn build-platform --linux-x64` only linux x64 tarball
is created. Same for linux arm64 and darwin x64. You could run `yarn
build-platform --linux-arm64` and `yarn build-platform darwin-x64`.

partially solved:
#473

Signed-off-by: Anan Zhuang <ananzh@amazon.com>

* support multiple CLI options and fix comments

Signed-off-by: AnanZ <ananzh@amazon.com>

* fix wording to artifacts

Signed-off-by: AnanZ <ananzh@amazon.com>

Co-authored-by: Ubuntu <ubuntu@ip-172-31-50-84.us-west-2.compute.internal>

Co-authored-by: Anan <79961084+ananzh@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-50-84.us-west-2.compute.internal>
@Flyingliuhub Flyingliuhub merged commit 319f741 into opensearch-project:1.0-healthcheck Sep 13, 2022
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.

4 participants