[EngSys] enable azure blob storage build cache provider (#27964)

and add `types` and `temp` to output directories.

There's an auth warning at the first build if credential is not provided
but that doesn't impact build results.
This commit is contained in:
Jeremy Meng 2023-12-08 11:56:49 -08:00 коммит произвёл GitHub
Родитель 724958fe94
Коммит db752f1886
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 14 добавлений и 12 удалений

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

@ -42,7 +42,11 @@
// * These folders should not be tracked by Git. They must not contain symlinks.
// */
"outputFolderNames": [
"dist", "dist-esm", "types"
"dist",
"dist-esm",
"dist-test",
"types",
"temp"
],
//
// /**
@ -54,9 +58,10 @@
{
"operationName": "build:test",
"outputFolderNames": [
"dist",
"dist-esm",
"dist-test"
],
}
]
}

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

@ -1,15 +1,12 @@
{
"buildCacheEnabled": true,
"cacheProvider": "local-only",
// to enable Azure Blob Storage cache, use the following instead.
// Use the real storage account name then follow instructions at
// Follow instructions at
// https://rushjs.io/pages/maintainer/build_cache/#user-authentication
// to authenticate.
// "cacheProvider": "azure-blob-storage",
// "azureBlobStorageConfiguration": {
// "storageAccountName": "replace with account name",
// "storageContainerName": "rush-build-cache",
// "isCacheWriteAllowed": false
// }
"cacheProvider": "azure-blob-storage",
"azureBlobStorageConfiguration": {
"storageAccountName": "azsdkjsrush",
"storageContainerName": "rush-build-cache",
"isCacheWriteAllowed": false
}
}