You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: Add setup script for running in Flutter "customer testing"
Earlier I'd tried adding this "apt install" command directly in the
test registry, as a "setup" line in the "zulip.test" file:
flutter/tests#441
But the Flutter "customer testing" suite gets run in two different
environments; and it turns out that not only does the LUCI environment
not need this step (the Zulip tests there were working fine right up
until they were disabled last week due to the failures in GitHub
Actions), but it also doesn't permit it: there's no access to `sudo`:
https://discord.com/channels/608014603317936148/1290464157765865552/1331449169830871122https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20customer_testing/22301/overview
Error output (reformatted):
Processing ./../../bin/cache/pkg/tests/registry/zulip.test...
>> sudo apt install -y libsqlite3-dev
| sudo: a terminal is required to read the password;
either use the -S option to read from standard input
or configure an askpass helper
ERROR: Setup command failed: sudo apt install -y libsqlite3-dev
So we need this bit of conditional logic too. That makes this a
little more complex than fits in a "setup" line in the test registry.
So instead let's make this script which we can invoke from there.
0 commit comments