UNPKG

@rushstack/rush-azure-storage-build-cache-plugin

Version:

Rush plugin for Azure storage cloud build cache

50 lines (39 loc) 1.56 kB
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Configuration for build cache with Azure storage configuration", "type": "object", "additionalProperties": false, "required": ["storageAccountName", "storageContainerName"], "properties": { "storageAccountName": { "type": "string", "description": "(Required) The name of the the Azure storage account to use for build cache." }, "storageContainerName": { "type": "string", "description": "(Required) The name of the container in the Azure storage account to use for build cache." }, "azureEnvironment": { "type": "string", "description": "The Azure environment the storage account exists in. Defaults to AzurePublicCloud.", "enum": ["AzurePublicCloud", "AzureChina", "AzureGermany", "AzureGovernment"] }, "loginFlow": { "type": "string", "description": "The Entra ID login flow to use. Defaults to 'AdoCodespacesAuth' on GitHub Codespaces, 'InteractiveBrowser' otherwise.", "enum": ["AdoCodespacesAuth", "InteractiveBrowser", "DeviceCode"] }, "blobPrefix": { "type": "string", "description": "An optional prefix for cache item blob names." }, "isCacheWriteAllowed": { "type": "boolean", "description": "If set to true, allow writing to the cache. Defaults to false." }, "readRequiresAuthentication": { "type": "boolean", "description": "If set to true, reading the cache requires authentication. Defaults to false." } } }