[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:
Родитель
724958fe94
Коммит
db752f1886
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче