agola/internal/services
Simone Gotti fafa5188c2 configstore: maintenance/export/import
Implement configstore maintenance mode and export/import.

When configstore is set in maintenance mode it'll start only the maintenance and
export/import handlers.

Setting maintenance mode will set a key in etcd so all the configstore instances
will detect it and enter in maintenance mode. This is done asyncronously so it
could take some time (future improvements will add some api to show all the
configstore states)

Export is always available and will export the datamanager contents.

Import is available only during maintenance, given a datamanager export will
import it and reset etcd to this import state.
2019-07-26 10:55:04 +02:00
..
common *: use vanity url 2019-07-01 11:40:20 +02:00
config config: remove unused gatewayURL from gitserver config 2019-07-04 10:55:12 +02:00
configstore configstore: maintenance/export/import 2019-07-26 10:55:04 +02:00
executor *: use sleep timer in loops 2019-07-25 16:22:54 +02:00
gateway util: use context in backoff 2019-07-26 10:36:11 +02:00
gitserver service/*: log error only if nil 2019-07-04 15:50:37 +02:00
notification *: use sleep timer in loops 2019-07-25 16:22:54 +02:00
runservice readdb: close and open readdb on Run 2019-07-25 17:59:54 +02:00
scheduler *: use sleep timer in loops 2019-07-25 16:22:54 +02:00
types *: add remote source option to disable registration/login 2019-07-05 13:33:29 +02:00