-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[ci.yaml] Auto-generate LUCI configs #4223
[ci.yaml] Auto-generate LUCI configs #4223
Conversation
d43d96f
to
84090da
Compare
targets: | ||
- name: Windows Plugins | ||
builder: Windows Plugins | ||
postsubmit: false | ||
recipe: plugins/plugins |
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.
I consolidated this with the postsubmit "Windows Plugins master channel" which was equivalent
.ci.yaml
Outdated
] | ||
device_type: none | ||
os: Windows | ||
|
||
targets: | ||
- name: Windows Plugins |
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.
If this is master, can we name it "Windows Plugins master channel" for clarity?
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.
Of course, I sent https://flutter-review.googlesource.com/c/infra/+/16745 as we need to add a try builder before we can rename it here
targets: | ||
- name: Windows Plugins | ||
builder: Windows Plugins | ||
postsubmit: false |
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.
For my own understanding: what is controlling presubmit vs postsubmit in these configs? Or is "both" the default?
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.
True is the default, so both run by default. The config links to https://cs.opensource.google/flutter/cocoon/+/master:CI_YAML.md which is the config documentation.
0584528
to
772c987
Compare
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.
One more comment. Beyond that, @godofredoc should definitely review since I have no experience with these files so far, and several important-looking properties aren't documented, so my ability to provide a meaningful review is limited.
.ci.yaml
Outdated
scheduler: luci | ||
|
||
- name: Windows Plugins stable channel | ||
recipe: plugins/plugins | ||
presubmit: false |
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.
Why is this false? We should be running the windows tests on both presubmit and postsubmit.
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.
This was to match the LUCI config (thanks for validating this makes sense!). I sent https://flutter-review.googlesource.com/c/infra/+/16782 to add a presubmit builder.
Add the information necessary to no longer require the starlark code in flutter/infra
flutter/flutter#85803
See https://flutter-review.googlesource.com/c/infra/+/16742 for the auto-generated diff
Pre-launch Checklist
dart format
.)[shared_preferences]
///
).