-
Notifications
You must be signed in to change notification settings - Fork 275
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
[Bug]: Reporting build missing chromium dependency #934
Comments
See example usage |
will [ -z "$ARCHITECTURE" ] && ARCHITECTURE=`uname -m` this can also be |
This is a better source of truth, here are the values that will be allowed by the build system class BuildArgs:
SUPPORTED_PLATFORMS = ["linux", "darwin", "windows"]
SUPPORTED_ARCHITECTURES = [
"x64",
"arm64",
]
```
https://github.com/opensearch-project/opensearch-build/blob/main/src/build_workflow/build_args.py#L12-L17 |
I see, thanks. What should I do if some combinations are not supported by reporting yet? We currently do not have chromium builds for darwin-arm64 and windows-arm64. btw this also doesn't seem right [ -z "$PLATFORM" ] && PLATFORM=`uname -s` | awk '{print tolower($0)}' i think it's trying to do |
Manifests support excluding platforms by limiting the platforms supported as in here. There's no support for restricting architectures, we probably want to extend that code to be able to write:
Feel free to open an issue/PR :)
Please fix! |
Describe the bug
dashboards-reports plugin uses chromium to generate reports, the binary should be included in the artifact like this:
https://github.com/opensearch-project/dashboards-reports/blob/main/.github/workflows/dashboards-reports-test-and-build-workflow.yml#L67-L91
But this part is missing in build.sh.
To reproduce
Run opensearch and dashboards, reporting does not work because chromium binary
reportsDashboards/.chromium/headless_shell
does not existThe text was updated successfully, but these errors were encountered: