Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bucket to check staging test instead of builder name #88908

Merged
merged 3 commits into from Aug 26, 2021

Conversation

keyonghan
Copy link
Contributor

This is a follow up of #88835. Instead of using builder name to check whether a test is from staging pool, we use bucket to provide more flexibility.

More context about naming builders without staging keyword: https://flutter-review.googlesource.com/c/recipes/+/17001

@flutter-dashboard flutter-dashboard bot added the team Infra upgrades, team productivity, code health, technical debt. See also team: labels. label Aug 25, 2021
@google-cla google-cla bot added the cla: yes label Aug 25, 2021
dev/devicelab/lib/command/upload_results.dart Outdated Show resolved Hide resolved
dev/devicelab/lib/command/upload_results.dart Outdated Show resolved Hide resolved
@@ -112,10 +113,10 @@ class Cocoon {
}

/// Only post-submit tests on `master` are allowed to update in cocoon.
bool _shouldUpdateCocoon(Map<String, dynamic> resultJson) {
bool _shouldUpdateCocoon(Map<String, dynamic> resultJson, String? buildBucket) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When would we allow Cocoon to be updated and have this be null? Could we temporarily set a default value to prod?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting a default value prod SGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team Infra upgrades, team productivity, code health, technical debt. See also team: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants