status-im / infra-eth-cluster

Infrastructure for Status-go fleets
https://github.com/status-im/status-go
0 stars 0 forks source link

Update whisper and mailserver nodes with configuration files instead of flags #9

Closed adambabik closed 6 years ago

adambabik commented 6 years ago

After https://github.com/status-im/status-go/pull/1183 is merged, it does not longer support flags. Instead, configuration should be provided with a config file.

cc @PombeirP and @jakubgs

@jakubgs due to the fact that we use deploy-* tags for docker images, I don't see how we can make this change without breaking the fleets for a few seconds. We shouldn't decouple image updates from Ansible roles. Do you have any ideas how it can be done without downtime?

jakubgs commented 6 years ago

I guess the proper solution would be to:

  1. update the deploy-test image
  2. this breaks the eth.test fleet but we don't care
  3. fix the eth.test fleet configuration in ansible
  4. deploy ansible changes and fix eth.test fleet
  5. disable auto image updates on eth.staging
  6. push new image using now changes ansible config
  7. verify it worked correctly
  8. if it did do the same for eth.beta by hand
jakubgs commented 6 years ago

I believe this is already being addressed here: https://github.com/status-im/infra-eth-cluster/pull/14

adambabik commented 6 years ago

Continued in #17.

jakubgs commented 6 years ago

I believe this has already been resolved.