Descriptionswarming: read configs from luci-config
- add proto/config.proto with SettingsCfg message that has same field as
GlobalConfig.
- add a cron job that updates settings.cfg in the background.
- add ConfigApi so we can specify hostname of config service in a
particular swarming instance.
- update config.py to read settings using components.config instead of
GlobalConfig entity. Remove GlobalConfig.
- update handlers.py and restricted_config.html accordingly
Remove code related to config mutation.
R=maruel@chromium.org, vadimsh@chromium.org
BUG=601018
Committed: https://github.com/luci/luci-py/commit/fd161432f88fcfa251372ca3e1a3e45c49d24216
Patch Set 1 #Patch Set 2 : swarming: read configs from luci-config #Patch Set 3 : unlint #
Total comments: 9
Patch Set 4 : do not specify target in cron.yaml #
Total comments: 6
Patch Set 5 : disable inputs #Patch Set 6 : unhardcode config service hostname, validate config #Patch Set 7 : remove type=text #Patch Set 8 : timeout=1min #Patch Set 9 : changed logging levels #Messages
Total messages: 24 (10 generated)
|