Shadow config for xbuddy.
Add the capability to customize some xBuddy settings via a shadow
configuration file, shadow_xbuddy_config.ini
- Path rewrite aliases
- xBuddy capacity
- Whether or not xBuddy manages src/build/images
Also
- Restructure the existing rewrite lookup table into an ini file
- Have devserver's autoupdate module also use the default board in
src/scripts/.default_board
BUG=chromium:271799
BUG=chromium:260473
TEST=manual
- Checked the lookup table contents with presence/absence of shadow
file, with overrides and additions to the base lookup file.
- Checked that the default board is used by both XBuddy and Updater
modules.
- Pinged server for its xbuddy capacity.
- Pinged server using aliases: '', 'stable_update', and 'release'.
TEST=trybot on mario-paladin
Change-Id: I2cd6f9fda41a878da024deb7936da0c23355c351
Reviewed-on: https://gerrit.chromium.org/gerrit/65780
Reviewed-by: Joy Chen <joychen@chromium.org>
Tested-by: Joy Chen <joychen@chromium.org>
Commit-Queue: Joy Chen <joychen@chromium.org>
diff --git a/devserver_constants.py b/devserver_constants.py
index 5bbf4f4..f8f18c6 100644
--- a/devserver_constants.py
+++ b/devserver_constants.py
@@ -14,7 +14,8 @@
GS_RELEASES_DIR = 'gs://chromeos-releases'
GS_CHANNEL_DIR = GS_RELEASES_DIR + '/%(channel)s-channel/%(board)s/'
-VERSION_RE = 'R?[-0-9\.]+'
+VERSION_RE = 'R[-0-9\.]+'
+VERSION = '[-0-9\.]+'
#### Local storage locations and names. ####
AUTOTEST_DIR = 'autotest'