-
Notifications
You must be signed in to change notification settings - Fork 6k
add supported luci builders #20099
add supported luci builders #20099
Conversation
Can we update the description with more information why we are moving these file to the engine repo? |
Can you also please add a README file describing the expected format of the json file and a test? |
README.md added. As for test, please find comment: flutter/cocoon#875 (comment) |
Updated. |
de4bf84
to
9b257bd
Compare
@dnfield @liyuqian could you help with the following questions?
Thank you! |
Somewhere in
Not that I'm aware of. But it should be simple to add as a Cirrus or LUCI test by checking the json from a Dart script.
For license errors, we often just copy the diffs from the presubmit test to the corresponding local files to make it pass. Reproducing and checking license errors locally was difficult according to my last experience so I just let presubmit tests check if the change is good.
See "Engine repo" section in https://github.com/flutter/flutter/wiki |
ebec4a4
to
6949335
Compare
Thank you @liyuqian ! |
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
@@ -0,0 +1,76 @@ | |||
// Copyright 2020 The Flutter Authors. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for this PR but given this validation will be used across repos I'm wondering if it could be moved to the recipes to avoid duplication.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point! moving the validation to a module should help. Will take a look.
Description
Existing Luci builder configurations are stored in cocoon project. This is not efficient because we need to re-deploy the flutter-dashboard after changing the builder configuration. Additionally, with different channels/branches, a single place becomes challenging to support various requests.
Moving build configuration files to engine repo by itself will make things easier. Repos/branches will maintain their own copy of builder config file. From cocoon side, it can directly obtain the build config file for different repos/branches without redeploying the app engine.
JSON file will be validated via luci presubmit test, to be defined in engine.py recipe.
Related Issues
Related issue: flutter/flutter#62429, flutter/flutter#53371