| commit | e7fd4cc4b35feb4b146ada54caea046b150c5b80 | [log] [tgz] |
|---|---|---|
| author | yusufm <mohsinally@google.com> | Tue Dec 15 03:05:14 2020 +0000 |
| committer | CQ Bot Account <flutter-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 15 03:05:14 2020 +0000 |
| tree | 16f6b4d0a5cc293280256cbf16c4c51bc9223677 | |
| parent | f2b7aa94e890f33978eaf1caea99d5f99d0dc6fc [diff] |
Notify on completion This is a resubmit of the previously reverted CL, which was crashing because the prod builder user account was not given necessary permissions for pubsub. This change has added error handling to avoid other failures to bring down the job as well: Now sending a pubsub message on recipe completion which will enable running tests as soon as builds are complete. Added bucket as well to the message to differentiate between prod and try jobs. Added a try catch for StepFailure to ensure that failures in gcloud pubsub do not bring down the overall job. Tested locally: led get-builder 'luci.flutter.try:Mac Host Engine' | led edit-recipe-bundle | led launch led get-builder 'luci.flutter.prod:Linux Fuchsia' | led edit-recipe-bundle | led launch Verified that failing gcloud step does not fail the whole job: http://shortn/_HG8zHwgztC and verified that expected messages appeared in the topic: {"buildername" : "Linux Fuchsia", "bucket" : "prod", "githash" : "4985b584a430ea3fda9433dccafa5047531e0974"} This change will be superceded by user defined pubsub topic (crbug.com/843720). Bug: https://github.com/flutter/flutter/issues/69621 Change-Id: I424cd8963372c8351940763c8813c9439777b3ba Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/9201 Commit-Queue: Yusuf Mohsinally <mohsinally@google.com> Reviewed-by: Keyong Han <keyonghan@google.com>
This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra on GitHub. Actual builds can be seen at ci.chromium.org.
Tricium configurations recipes repo.
The script branch_recipes.py is used to generate new copies of the LUCI recipes for a beta release. See Recipe Branching for Releases for more information. For usage:
$ ./branch_recipes.py --help