Add and use a function "is_signable_build" when determining to codesign.

I accidentally broke this logic when fixing the code that would skip
codesigning when a commit was not the TOT commit on a release branch; it
turns out that TOT commit was doing extra work - it would never be true
on a presubmit (try) bot.

Added tests the best I could I guess.

Change-Id: I5c11e78266bc957e1bcae8a43226a867207c244a
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/67780
Commit-Queue: Matan Lurey <matanl@google.com>
Reviewed-by: John McDole <codefu@google.com>
Reviewed-by: Chris Bracken <cbracken@google.com>
Reviewed-by: Victoria Ashworth <vashworth@google.com>
11 files changed
tree: 74bf8f4770a5773395bcfe34597241cee8c97396
  1. .vscode/
  2. infra/
  3. recipe_modules/
  4. recipes/
  5. .gitignore
  6. .style.yapf
  7. AUTHORS
  8. CONTRIBUTING.md
  9. LICENSE
  10. OWNERS
  11. README.md
  12. recipes.py
README.md

Flutter LUCI Recipes

This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra. Builds can be found in the Flutter Dashboard.

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.

Contributing

Please follow instructions on Contributing docs to set up your development environment.