agola/internal
Simone Gotti f812597410 runservice: maintenance/export/import
Implement runservice maintenance mode and export/import.

When runservice 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 runservice 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
runservice states)

Export is always available and will export the datamanager contents. Currently
only datamanager contents are exported (no logs and workspace archives).

Import is available only during maintenance, given a datamanager export will
import it and reset etcd to this import state.
2019-07-29 11:52:30 +02:00
..
common *: use vanity url 2019-07-01 11:40:20 +02:00
config internal: fix linter errors 2019-07-02 16:20:53 +02:00
datamanager *: use sleep timer in loops 2019-07-25 16:22:54 +02:00
db db: use context functions 2019-07-25 14:49:53 +02:00
etcd etcd: add DeletePrefix method 2019-07-18 16:40:28 +02:00
git-handler internal: fix linter errors 2019-07-02 16:20:53 +02:00
git-save *: use vanity url 2019-07-01 11:40:20 +02:00
gitsources github: fix retrieving commit sha for signed tags 2019-07-08 17:21:24 +02:00
log Add common logging helper 2019-02-21 16:05:35 +01:00
objectstorage internal: fix linter errors 2019-07-02 16:20:53 +02:00
runconfig *: use vanity url 2019-07-01 11:40:20 +02:00
sequence *: use vanity url 2019-07-01 11:40:20 +02:00
services runservice: maintenance/export/import 2019-07-29 11:52:30 +02:00
testutil internal: fix linter errors 2019-07-02 16:20:53 +02:00
toolbox internal: fix linter errors 2019-07-02 16:20:53 +02:00
util util: add GoWait function 2019-07-26 10:55:04 +02:00
tools.go Add makefile 2019-02-21 15:59:16 +01:00