Revert "Selectively clobber git cache when revision can not be found."

This reverts commit 67d5986d7ec383c879569a1abd7bfd5d6ccf4ccc.

Reason for revert: Failing for windows when files in cache/builder can not be deleted and for linux when cache/builder does not exist.

Original change's description:
> Selectively clobber git cache when revision can not be found.
>
> Sometimes the checkout process fails and got_revision is not populated.
> This change will make those cases fail, clobber and retry the checkout.
>
> Bug: https://github.com/flutter/flutter/issues/105476
> Change-Id: I332d0ab2efef80adc85d1fe6ca247f1ada55b502
> Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/31071
> Reviewed-by: Keyong Han <keyonghan@google.com>
> Commit-Queue: Godofredo Contreras <godofredoc@google.com>

TBR=zra@google.com,godofredoc@google.com,keyonghan@google.com,flutter-scoped@luci-project-accounts.iam.gserviceaccount.com,dnfield@google.com

Change-Id: I0d37d6f99bdff546d3ae1b5c84ed19f1ee06d099
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: https://github.com/flutter/flutter/issues/105476
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/31122
Reviewed-by: Godofredo Contreras <godofredoc@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
5 files changed
tree: 6af14047f7fb94e012b9830dba312a98487b8ff6
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. AUTHORS
  7. LICENSE
  8. OWNERS
  9. README.md
  10. recipes.py
README.md

Flutter LUCI Recipes

This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra. Actual builds can be seen at ci.chromium.org.

Supported repositories roll their .ci.yaml into flutter/infra, which updates what properties builds have. For example, flutter config specifies various dependencies the different tests require, which are then used by the flutter_deps recipe_module No modifications to flutter/infra are required to work on the recipes.

Configuration

Tricium configurations recipes repo.

Testing locally

Running python recipes.py test train will execute all of the tests in this repository

Troubleshooting

Required binary is not found on PATH: cipd when testing locally

You need to ensure depot_tools is installed. See Depot Tools Installation Tutorial