-
Notifications
You must be signed in to change notification settings - Fork 73
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
clp-package: Add the log-viewer and serve it using the log-viewer-webui. #490
Conversation
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.
Thanks for the changes. Did we validate whether the YScope Log Viewer is accessible in the clp-package? i.e.,
cd <clp-root>/build/clp-package/sbin
./start-clp.sh
Then access localhost:3000/log-viewer/index.html and observe the Log Viewer is loaded.
(Let's also update the validation steps. )
Co-authored-by: Junhao Liao <[email protected]>
…odule reference to VCS.
components/clp-package-utils/clp_package_utils/scripts/start_clp.py
Outdated
Show resolved
Hide resolved
Co-authored-by: kirkrodrigues <[email protected]>
Co-authored-by: kirkrodrigues <[email protected]>
LOG_VIEWER_WEBUI_INNER_CLIENT_CHECKSUM_FILE -> LOG_VIEWER_CHECKSUM_FILE YSCOPE_LOG_VIEWER_OUTPUT_DIR -> LOG_VIEWER_OUTPUT_DIR inner-client -> log-viewer
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.
For the PR title, how about:
clp-package: Add the log-viewer and serve it using the log-viewer-webui.
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.
Description
Integrate yscope-log-viewer to clp:
.gitmodules
, putting it withinlog-viewer-webui
.Taskfile.yml
, create checksum and build tasks.Validation performed
Run
task package
, the build should give no errors.In
clp/build/clp-package/sbin
, runstart-clp.sh
, access localhost:3000/log-viewer/index.html, observe log viewer is loaded.