Commit Graph

12 Commits

Author SHA1 Message Date
Jakub Sokołowski bb41fcf6ee
build: create repo folder before cloning
Otherwise it fails with:
```
fatal: could not create leading directories of '/data/nimbus-fluffy/repo': Permission denied
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-26 22:50:04 +02:00
Jakub Sokołowski f4c304dcca
consul: add more variables for healcheck parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-12 19:26:39 +02:00
Jakub Sokołowski fc0493b57a
consul: fix extracting ENR record from RPC response
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-12 16:23:41 +02:00
Jakub Sokołowski d8f04d0a37
sudo: allow disabling and masking services too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-27 22:39:31 +02:00
Kim De Mey 0e75161807
Set radii for nodes explicitly as a static radius (#1)
The radius option in Fluffy was expanded to allow for a static or
a dynamic radius. The old option where just the number was
provided was kept as working to keep backwards compatiblity. Lets
use static:253 however to be clear about current usage.
2022-06-14 19:09:39 +02:00
Jakub Sokołowski 0f54a4df9f
config: fix creating bootstrap file
Using `join("\n")` desn't work. It just inserts litaral `\n`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 11:21:20 +01:00
Jakub Sokołowski e448cb369a
consul: add ENR address to service metadata
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 00:57:42 +01:00
Jakub Sokołowski a97db210ce
consul: use rpc.sh and discv5_nodeInfo for check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 00:57:13 +01:00
Jakub Sokołowski f74b0199c7
parametrize name of service to restart after build
This will allow us to run just one build for all nodes and also restart
all nodes on the host once the build is finished using a wildcard.

Also drop useless `SERVICE_PATH` variable and `pushd`/`popd` calls.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-08 15:48:47 +01:00
Jakub Sokołowski 7945026dc7
add first working version
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-04 13:27:09 +01:00
Jakub Sokołowski c4a9150d3e
add Ansible metadata
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-04 11:56:24 +01:00
Jakub Sokołowski b3f2feb68d
initial empty commit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-04 11:05:23 +01:00