-
Notifications
You must be signed in to change notification settings - Fork 5
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
Infra to run waku-simulator on latest nwaku master #79
Comments
Edited: Instead of running waku-simulator on every merge to nwaku master, just run it once a day (see nightly release) |
I have confirmed that an AX41-NVMe host from Hetzner will suffice for this. Possibly with extra memory in the future. |
Looks like Alexis already generalized my script and role for handling GitHub webhooks to update a local repo: So I can reuse that. |
I'm refactoring |
@alrevuelta was setting |
yep, 0. by now we will be focusing only on the nwaku<->nwaku integration. |
Here's a PR to allow auto-updates of Docker images: |
I'm the one working on this. |
Here's the initial setup:
What's remaining:
|
For more details see: status-im/infra-nim-waku#79 Signed-off-by: Jakub Sokołowski <jakub@status.im>
For more details see: status-im/infra-nim-waku#79 Signed-off-by: Jakub Sokołowski <jakub@status.im>
We're going to use a |
I have configured Grafana dashboard at https://simulator.waku.org/ using OAuth proxy:
We're not using Grafana built-in OAuth because that would require changes in the |
Also added extra healthchecks:
And fixed location of |
I have a PR going to migrate from old That is part of a proper setup of automatic builds of |
For more details see: status-im/infra-nim-waku#79 Signed-off-by: Jakub Sokołowski <jakub@status.im>
I've exposed the
Also added missing webhook secret. |
Here are all the
I had to modify the
|
Some more fixes for
And adjustments to Waku simulator role to allow restarting the compose service:
And it works:
|
I consider this done. If there's anything I missed pleas reopen. |
Forgot to update docs: |
Also had to fix project name which was
I was hoping I could use the
But it appears to be too fresh for Docker Compose version we have:
|
In order to detect potential issues as soon as possible in
nwaku
we would need an instance of waku-simulator deployed with the latest nwaku master commit, so that every time we merge a new PR to nwaku, waku-simulator tool is redeployed with that image, so we can monitor if we are introducing any issues (specially related to networking or performance in general).waku-simulator
allows to easily:What would we need?
waku-simulator
nwaku
master. Unsure if this requires changes in nwaku CI, or perhaps it can be auto detected?:3000
open so that we can visualize the metrics.Important notes:
waku-simulator
generates is quite high, this is why we provide our custom grafana/prometheus instance. I would suggest to not "index" these metrics in status infra. To avoid using too much diskspace, prometheus retention time is set to 7 days.TLDR:
We would need some infra to run waku-simulator so that
every time we merge a PR toonce a day, it deploys the latest nightly nwaku release seenwaku
master, the following is executed.This is the repo
And only
LATEST_MASTER_PLACEHOLDER
should be updated.And then have the already provisioned dashboard available at
ip:3000
.cc @jakubgs
The text was updated successfully, but these errors were encountered: