re-enable "Linux packages_autoroller" (#130088)
Fixes https://github.com/flutter/flutter/issues/129744
This change:
1. re-enables the Linux packages_autoroller
2. ensures we redact the token from appearing in any logs (in local testing I realized some failure logs might still expose the token)
What actually fixed authentication however was creating and uploading a new GitHub personal access token, not this change.
It's currently failing post-submit because being marked `bringup` it is running in the try pool, which does not have permissions to access the cloud KMS. However, I ran a LED build in the prod pool that succeeded:
3a8f128c35/+/build.proto
This commit is contained in:
committed by
GitHub
parent
613bc89006
commit
b89bfd8e37
@@ -80,7 +80,7 @@ ${parser.usage}
|
||||
}
|
||||
|
||||
final FrameworkRepository framework = FrameworkRepository(
|
||||
_localCheckouts,
|
||||
_localCheckouts(token),
|
||||
mirrorRemote: Remote.mirror(mirrorUrl),
|
||||
upstreamRemote: Remote.upstream(upstreamUrl),
|
||||
);
|
||||
@@ -106,7 +106,7 @@ String _parseOrgName(String remoteUrl) {
|
||||
return match.group(1)!;
|
||||
}
|
||||
|
||||
Checkouts get _localCheckouts {
|
||||
Checkouts _localCheckouts(String token) {
|
||||
const FileSystem fileSystem = LocalFileSystem();
|
||||
const ProcessManager processManager = LocalProcessManager();
|
||||
const Platform platform = LocalPlatform();
|
||||
@@ -114,6 +114,7 @@ Checkouts get _localCheckouts {
|
||||
stdout: io.stdout,
|
||||
stderr: io.stderr,
|
||||
stdin: io.stdin,
|
||||
filter: (String message) => message.replaceAll(token, '[GitHub TOKEN]'),
|
||||
);
|
||||
return Checkouts(
|
||||
fileSystem: fileSystem,
|
||||
|
||||
Reference in New Issue
Block a user