New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 697469 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Task



Sign in to add a comment

Reconsider how the VR test APKs are obtained on the bots

Project Member Reported by jbudorick@chromium.org, Mar 1 2017

Issue description

Context: https://codereview.chromium.org/2712733002/ added a hook to download the VR test APKs in all target_os=android chromium checkouts. This was selected over a couple of other options:
 1) Adding the hook to the gclient spec for the specific bots. This would have required a modification to bot_update to pass the hooks given to it down to the gclient spec it writes.
 2) Modifying the chromium recipe to download the APKs as a separate step on the specific bots.

In post-review comments, thakis@ suggested an alternative:
 3) have the hook only run if a given environment variable is set, and have the specific bots set that environment variable.

cc: folks who have been involved in this discussion at one point or another.
 
From the review: I feel pretty strongly downloading these by default is the wrong decision: 100MB/month is quite a lot, especially given that about 0 devs use this, and doing this just for bots sets a really bad precedent.
Running a hook conditionally based on an environment variable sounds like a fairly good compromise, but is that currently supported?
Yes, that's currently supported and is a good suggestion. I should've thought of it the first time, sorry :(. 

(To be clear, the hook would run always, but it'd early-exit if the env var isn't set.)
Owner: bsheedy@chromium.org
Status: Assigned (was: Available)
Is there an existing example of this in use? I'm not seeing anything in src/DEPS, and don't see any relevant options in download_from_google_storage or gclient.
Look for need_gold_plugin in tools/clang/scripts/update.py for example (it's a pretty big script that does many things, but among other things it downloads a plugin if LLVM_DOWNLOAD_GOLD_PLUGIN is set in the env)
Project Member

Comment 9 by bugdroid1@chromium.org, Mar 3 2017

Status: Fixed (was: Assigned)

Sign in to add a comment