Merged PR 683063: Untrack Mellanox directory on Guardian

- Not sure why this started happening recently, speaking with the Guardian team to clarify, but untracking in the meantime.
This commit is contained in:
Pasindu Gunasekara 🍣 2022-10-10 23:12:00 +00:00
Родитель fdf1c20200
Коммит c3d1fde8b2
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -43,6 +43,8 @@ const guardianUntrackedDirectories = addIfLazy(Context.getCurrentHost().os === "
// The temp directory on cloudbuild will always be created under X:\a\b\temp, when the cloudbuild drop is at X:\a\b\c\d (this location is not expected to change between builds)
// TODO: Remove this line once the Guardian team fixes this bug to use the temp directory specified in TEMP/TMP instead.
...addIf(cloudBuildTempDirectory !== undefined, cloudBuildTempDirectory),
// Accessed by Microsoft.Guardian.Cli, not clear on why this occurs yet
d`${Context.getMount("ProgramFiles").path}/Mellanox/MLNX_VPI`,
]);
/**

Просмотреть файл

@ -67,6 +67,7 @@ Transformer.execute({
p`./UserProfile/.nuget/plugins/netfx/CredentialProvider.Microsoft`,
p`./UserProfile/.nuget/plugins/netcore/CredentialProvider.Microsoft`,
p`./UserProfile/.nuget/packages`,
p`./path/to/ProgramFiles/Mellanox/MLNX_VPI`,
p`./path/to/guardian/temp`,
p`./path/to/guardian/tmp`,
p`\${Context.getMount('Windows').path}`,
@ -221,6 +222,7 @@ Transformer.execute({
p`./UserProfile/.nuget/plugins/netfx/CredentialProvider.Microsoft`,
p`./UserProfile/.nuget/plugins/netcore/CredentialProvider.Microsoft`,
p`./UserProfile/.nuget/packages`,
p`./path/to/ProgramFiles/Mellanox/MLNX_VPI`,
p`./path/to/guardian/temp`,
p`./path/to/guardian/tmp`,
p`\${Context.getMount('Windows').path}`,