Commit Graph

103 Commits

Author SHA1 Message Date
Jakub Sokołowski 53e6686b17
rename infra-role-bootstrap-linux, upgrade consul
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-28 11:36:40 +02:00
Jakub Sokołowski d62aa48d60
upgrade Geth to 1.10.6
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.6

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-22 19:43:39 +02:00
Jakub Sokołowski 25876f89ec
update inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-22 17:42:03 +02:00
Jakub Sokołowski f57040d2ca
upgrade Terraform to 1.0, upgrade all providers
https://www.terraform.io/upgrade-guides/0-15.html
https://www.terraform.io/upgrade-guides/1-0.html

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-23 12:26:04 +02:00
Jakub Sokołowski 806ac58608
add BitWarden lookup plugin, port secrets to BW
https://github.com/status-im/infra-docs/issues/9

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-16 17:04:55 +02:00
Jakub Sokołowski 8e147e6ef3
replace Tinc VPN with WireGuard
https://github.com/status-im/infra-hq/issues/58

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-19 23:08:21 +02:00
Jakub Sokołowski 6d7f144364
ansible/requirements: bump origin-certs role
https://github.com/status-im/infra-role-origin-certs/commit/586d81d6

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-13 10:54:49 +02:00
Jakub Sokołowski b79993c331
ansible: add versioncheck.py script to verify role versions
This was originally introduced to `infra-nimbus` and proved robust.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-11 09:22:02 +02:00
Jakub Sokołowski 5977ea7c5d
use new Docker Compose setup for geth-exporter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 19:40:03 +01:00
Jakub Sokołowski 62c560f150
faucet-api: rafactor to use Docker Compose
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 14:02:56 +01:00
Jakub Sokołowski 89833b514c
use open-ports to open the Nginx proxy ports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 12:43:50 +01:00
Jakub Sokołowski 88d2afa61c
drop geth-peer-fix which appears to be unnecesary
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 12:29:15 +01:00
Jakub Sokołowski a6849196f9
add more revived ropsten bootstrap nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 11:47:45 +01:00
Jakub Sokołowski 052c7b474a
increase memory limit for Ropsten and lower for Goerli
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 11:47:22 +01:00
Jakub Sokołowski da8ccc236e
define geth_metrics_port for all nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 11:46:36 +01:00
Jakub Sokołowski 19f4d07a52
bootstrap: provide Consul encryption key from infra-pass
Related: https://github.com/status-im/infra-role-bootstrap/commit/0d40f81d

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-22 11:11:01 +01:00
Jakub Sokołowski e5aad0839a
always restart geth containers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-21 08:48:14 +01:00
Jakub Sokołowski d04457e319
make Goerli use snap sync too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-19 14:10:03 +01:00
Jakub Sokołowski 08d2f1fd87
ropsten: switch to new snap sync mode added in 1.10.1
Ropsten light is notorious for lack of peers.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-19 12:43:55 +01:00
Jakub Sokołowski eebeadd4fa
restart Ropsten Geth instance using new revival bootnodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-06 20:34:16 +01:00
Jakub Sokołowski e09c233d99
Re-arrange memory usage, give half to Goerli
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:55:26 +01:00
Jakub Sokołowski 65c2e04fb1
ansible/terraform.py: drop deprecated encoding argument
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:29:46 +01:00
Jakub Sokołowski 4a35e9a79f
add websocket port, adjust other ports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-25 21:39:42 +01:00
Jakub Sokołowski 05c1b21639
disable websocket api, not necessary
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 17:14:56 +01:00
Jakub Sokołowski bfd2c506d8
use our own fork of Nginx role to fix permissions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-07 19:49:46 +02:00
Jakub Sokołowski 15a66f2dd3
faucet-master: lower SWAP size to 1GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-24 21:02:52 +02:00
Jakub Sokołowski 44d46a30e1
use new memory variables for geth role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 18:09:16 +01:00
Jakub Sokołowski 41aa7e315b
reduce swap size to 2GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 09:34:04 +01:00
Jakub Sokołowski 56d6ba18a6
add tags to playbook
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 13:58:20 +01:00
Jakub Sokołowski ab71feac05
adjust memory limits, add 4GB swap file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-19 21:18:29 +01:00
Jakub Sokołowski 0f7af9e2d4
update origin-certs role arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-12 23:43:52 +01:00
Jakub Sokołowski 57b5dd293e
update consul faucet check name to be different
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 02:15:21 -04:00
Jakub Sokołowski 49e6a9d33c
lower cache ratio to 0.15
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 01:39:13 -04:00
Jakub Sokołowski 54feca95f3
fix memory relations, cache lower than cont mem limit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:55:47 -04:00
Jakub Sokołowski a6d0b26a08
explicit conversion to string
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:55:03 -04:00
Jakub Sokołowski 37c19cc51a
restart only on geth failure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 14:56:31 -04:00
Jakub Sokołowski 0804df48b4
fix order in emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-02 18:48:19 -04:00
Jakub Sokołowski 10219307b6
upgrade ansible inventory script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-02 18:48:10 -04:00
Jakub Sokołowski bdb2b1b636
change consul id, not name, it has to be geth-exporter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:47:16 -04:00
Jakub Sokołowski 325f4b8761
keep only one env: prod
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:39:39 -04:00
Jakub Sokołowski a3e837297d
run all faucets on just one host
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:39:34 -04:00
Jakub Sokołowski b39720f7b1
remove finkeby miners from emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 11:21:17 -04:00
Jakub Sokołowski e7675e742f
use ratios that set cache lower than container mem limit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-19 10:45:38 -04:00
Jakub Sokołowski e658ba648c
remove ropsten miners for now
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-11 14:48:09 -04:00
Jakub Sokołowski c6dc49f7ed
adjust geth cache based on host memory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-28 15:56:39 -04:00
Jakub Sokołowski 4b70c11e88
use full sync for goerli network
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-28 15:21:31 -04:00
Jakub Sokołowski 56f3d3b435
use the default latest tag for geth_exporter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-31 14:42:57 -04:00
Jakub Sokołowski aa57e277d7
update goerli emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-30 07:22:49 -04:00
Jakub Sokołowski d5d8456dce
update master in emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-28 08:20:53 -04:00
Jakub Sokołowski e79a602d12
rename faucet to faucet-api role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-28 08:20:37 -04:00