When someone specifies an archive_url -- use the full prefix for nmo, etc.
We have builders that have interesting patterns that our logic can't account
for. In order to make au suite testing more flexible we have to allow for
any prefix naming to specify where a build can be found.
Specifically, if something like:
--archive_url=\
gs://my_bucket/special_prefix-mario-specific_suffix/R28-1234.0.0 is specified,
full_release_test will look for nmo/specific payloads in
gs://my_bucket/special_prefix-mario-specific_suffix
So if a specific for 1230.0.0 is requested, full_release_test will look in
gs://my_bucket/special_prefix-mario-specific_suffix/R28-1230.0.0
For the full payload.
BUG=chromium:238713
TEST=Ran it with specific,npo,nmo on canary builds and pgo-use builds with/
without archive_url specified.
Change-Id: I55b265513ced2e02f517e6f6bdd9cc195454e89e
Reviewed-on: https://gerrit.chromium.org/gerrit/50547
Tested-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Commit-Queue: Gilad Arnold <garnold@chromium.org>
3 files changed