Remove last two references to Cirrus CI. (#161530)

Towards https://github.com/flutter/flutter/issues/161387.
This commit is contained in:
Matan Lurey 2025-01-13 15:44:40 -08:00 committed by GitHub
parent 0009cc358f
commit 1d79946ecb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 7 deletions

View File

@ -145,11 +145,6 @@ Future<Set<RunningProcessInfo>> posixRunningProcesses(
String? processName,
ProcessManager processManager,
) async {
// Cirrus is missing this in Linux for some reason.
if (!processManager.canRun('ps')) {
print('Cannot list processes on this system: "ps" not available.');
return <RunningProcessInfo>{};
}
final ProcessResult result = await processManager.run(<String>[
'ps',
'-eo',

View File

@ -15,8 +15,6 @@ Future<ProcessResult> runGit(List<String> args, {String? processWorkingDir}) asy
Future<List<String>> getGitLog() async {
final String gitRoot = p.absolute('../..');
// Somehow gitDir.currentBranch() doesn't work in Cirrus with "fatal: 'HEAD' -
// not a valid ref". Therefore, we use "git log" to get the revision manually.
final ProcessResult logResult = await runGit(<String>[
'log',
'--pretty=format:%H %ct',