remote_try: Remove more unused stuff.
Remove the tryjob format version concept, since it's not used (seems
like it hasn't been for a long time). Updated description of the
related cbuildbot argument --remote-version, but didn't remove that
since old tryjob clients will still send it.
Remove a couple of unused URL constants in remote_try.
Remove self.cache_key.
BUG=chromium:762676
TEST=run_tests -q
cros tryjob --yes lumpy-compile-only-pre-cq
cros tryjob --yes -g 666141 lumpy-compile-only-pre-cq
cros tryjob --yes -p chromiumos/chromite:test_branch lumpy-compile-only-pre-cq
Change-Id: I441d04425d012708128f31a958e92a89fdf8db06
Reviewed-on: https://chromium-review.googlesource.com/667794
Commit-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index 874ed83..d67e9d9 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -513,8 +513,7 @@
# Note the default here needs to be hardcoded to 3; that is the last version
# that lacked this functionality.
group.add_option('--remote-version', type='int', default=3,
- help='Used for compatibility checks w/tryjobs running in '
- 'older chromite instances')
+ help='Deprecated and ignored.')
group.add_option('--sourceroot', type='path', default=constants.SOURCE_ROOT)
group.add_option('--ts-mon-task-num', type='int', default=0,
api=constants.REEXEC_API_TSMON_TASK_NUM,