Skip to content

Commit

Permalink
Implement temporary, stable cuttlefish build (#3951)
Browse files Browse the repository at this point in the history
Working on the more table fix immediately in:
#3950
  • Loading branch information
marktefftech committed Apr 19, 2024
1 parent d3854a4 commit 1c5b1cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/clusterfuzz/_internal/platforms/android/fetch_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
# Maximum number of retries for artifact access.
MAX_RETRIES = 5

STABLE_CUTTLEFISH_BUILD = {
'bid': '11655237',
'branch': 'git_main',
'target': 'cf_x86_64_phone-next-userdebug'
}


def execute_request_with_retries(request):
"""Executes request and retries on failure."""
Expand Down Expand Up @@ -164,6 +170,12 @@ def get_latest_artifact_info(branch, target, signed=False):
if not client:
return None

# TODO(https://github.com/google/clusterfuzz/issues/3950)
# After stabilizing the Cuttlefish image, revert this
stable_build = STABLE_CUTTLEFISH_BUILD
if stable_build:
return stable_build

request = client.build().list( # pylint: disable=no-member
buildType='submitted',
branch=branch,
Expand Down

0 comments on commit 1c5b1cf

Please sign in to comment.