-
Notifications
You must be signed in to change notification settings - Fork 53
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
refactor: adapt sonda setup for deployment #3151
Conversation
You can find the image built from this PR at
Built from e486b5e |
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! Thanks for it! 💯
I just added a couple of comments that I hope you find useful
@@ -179,21 +181,20 @@ def main(): | |||
log_with_utc(f'Store nodes to query: {store_nodes}') | |||
|
|||
# Start Prometheus HTTP server at port 8004 | |||
start_http_server(8004) | |||
start_http_server(args.metrics_port) |
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.
Maybe adapt the previous comment too?
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.
I am not sure what you mean by 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.
Oh you mean to adapt the comment in the script, sure
@@ -25,6 +26,7 @@ x-sonda-env: &sonda_env | |||
services: | |||
nwaku: | |||
image: ${NWAKU_IMAGE:-harbor.status.im/wakuorg/nwaku:v0.30.1} | |||
container_name: nwaku |
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.
( comment related to the previous line )
I think we can use a generic tag in the previous line so that the nwaku node version is updated automatically. For example, we could use: harbor.status.im/wakuorg/nwaku:deploy-status-prod
5b03da1
to
96731d6
Compare
Referenced issue: status-im/infra-hq#135 Signed-off-by: markoburcul <[email protected]>
96731d6
to
1f6c8b2
Compare
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, thanks so much!
Referenced issue: https://github.com/status-im/infra-hq/issues/135
Description
Adapted Sonda script and docker setup to work both for local use and for deployment.
Changes
How to test
Issue
https://github.com/status-im/infra-hq/issues/135