-
Notifications
You must be signed in to change notification settings - Fork 923
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
De-Couple Dashboards linux building process #795
Conversation
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: opensearch-project#473 Signed-off-by: Anan Zhuang <[email protected]>
✅ DCO Check Passed 86f4c71 |
Signed-off-by: AnanZ <[email protected]>
✅ DCO Check Passed 8236123 |
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.
+1 on changing archives wording to artifacts. Otherwise, LGTM
Looks awesome! Wording fix. Then I'm wondering what documentation can be updated / created. |
I add some wording to DEVELOPER_GUIDE.md. Should we add more to some places? like open some issues in document repo? |
Thanks bishoy. I will fix the word to 'artifacts' |
Signed-off-by: AnanZ <[email protected]>
✅ DCO Check Passed 0255f27 |
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: opensearch-project#473 Backport PR: opensearch-project#795 Signed-off-by: Anan Zhuang <[email protected]> support multiple CLI options and fix comments Signed-off-by: AnanZ <[email protected]> fix wording to artifacts Signed-off-by: AnanZ <[email protected]>
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 Backport PR: #795 Signed-off-by: Anan Zhuang <[email protected]> support multiple CLI options and fix comments Signed-off-by: AnanZ <[email protected]> fix wording to artifacts Signed-off-by: AnanZ <[email protected]> Co-authored-by: Ubuntu <[email protected]>
This will let us fix opensearch-project/opensearch-build#592. Is it too late to backport to 1.1? (Not strictly necessary but would avoid having to duplicate the custom build script for now). @kavilla |
yarn build flags in /src/dev/build/cli.ts are not updated to match the renamed flags in de-couple PR (opensearch-project#795). This PR fixes the issue and update the tests. Also modify words in DEVELOPER_GUIDE.md. PR resolved: opensearch-project#836 Signed-off-by: Anan Zhuang <[email protected]>
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: opensearch-project#473 backport PR: opensearch-project#795 Signed-off-by: Anan Zhuang <[email protected]>
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: opensearch-project#473 backport PR: opensearch-project#795 Signed-off-by: Anan Zhuang <[email protected]>
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 backport PR: #795 Signed-off-by: Anan Zhuang <[email protected]> Co-authored-by: Ubuntu <[email protected]>
yarn build flags in /src/dev/build/cli.ts are not updated to match the renamed flags in de-couple PR (#795). This PR fixes the issue and update the tests. Also modify words in DEVELOPER_GUIDE.md. PR resolved: #836 Signed-off-by: Anan Zhuang <[email protected]>
yarn build flags in /src/dev/build/cli.ts are not updated to match the renamed flags in de-couple PR (opensearch-project#795). This PR fixes the issue and update the tests. Also modify words in DEVELOPER_GUIDE.md. PR resolved: opensearch-project#836 Backport PR: opensearch-project#840 Signed-off-by: Anan Zhuang <[email protected]>
yarn build flags in /src/dev/build/cli.ts are not updated to match the renamed flags in de-couple PR (opensearch-project#795). This PR fixes the issue and update the tests. Also modify words in DEVELOPER_GUIDE.md. PR resolved: opensearch-project#836 Backport PR: opensearch-project#840 Signed-off-by: Anan Zhuang <[email protected]>
yarn build flags in /src/dev/build/cli.ts are not updated to match the renamed flags in de-couple PR (#795). This PR fixes the issue and update the tests. Also modify words in DEVELOPER_GUIDE.md. PR resolved: #836 Backport PR: #840 Signed-off-by: Anan Zhuang <[email protected]>
yarn build flags in /src/dev/build/cli.ts are not updated to match the renamed flags in de-couple PR (#795). This PR fixes the issue and update the tests. Also modify words in DEVELOPER_GUIDE.md. PR resolved: #836 Backport PR: #840 Signed-off-by: Anan Zhuang <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.0 1.0
# Navigate to the new working tree
cd .worktrees/backport-1.0
# Create a new branch
git switch --create backport/backport-795-to-1.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 799cab44b68d5e841530296268e43a93a7fc1fdc
# Push it to GitHub
git push --set-upstream origin backport/backport-795-to-1.0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.0 Then, create a pull request where the |
* 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: opensearch-project#473 Signed-off-by: Anan Zhuang <[email protected]> * support multiple CLI options and fix comments Signed-off-by: AnanZ <[email protected]> * fix wording to artifacts Signed-off-by: AnanZ <[email protected]> Co-authored-by: Ubuntu <[email protected]>
* 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 <[email protected]> * support multiple CLI options and fix comments Signed-off-by: AnanZ <[email protected]> * fix wording to artifacts Signed-off-by: AnanZ <[email protected]> Co-authored-by: Ubuntu <[email protected]> Co-authored-by: Anan <[email protected]> Co-authored-by: Ubuntu <[email protected]>
* 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 <[email protected]> * support multiple CLI options and fix comments Signed-off-by: AnanZ <[email protected]> * fix wording to artifacts Signed-off-by: AnanZ <[email protected]> Co-authored-by: Ubuntu <[email protected]> Co-authored-by: Anan <[email protected]> Co-authored-by: Ubuntu <[email protected]> Co-authored-by: Kawika Avilla <[email protected]> Co-authored-by: Anan <[email protected]> Co-authored-by: Ubuntu <[email protected]>
Description
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 tarballis created. Same for linux arm64 and darwin x64. You could run
yarn build-platform --linux-arm64
andyarn build-platform darwin-x64
.Partially Resolved:
#473
Signed-off-by: Anan Zhuang [email protected]
Check List