From da7f0dbb3a04b7f1708f95fc632660fac65afe5e Mon Sep 17 00:00:00 2001 From: Tomasz Jaworski Date: Fri, 8 Nov 2024 00:34:04 +0100 Subject: [PATCH 1/3] fix: include missing "local-only" cacheProvider in build-cache.schema.json --- libraries/rush-lib/src/schemas/build-cache.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/rush-lib/src/schemas/build-cache.schema.json b/libraries/rush-lib/src/schemas/build-cache.schema.json index 65962422b19..df6a8e6562a 100644 --- a/libraries/rush-lib/src/schemas/build-cache.schema.json +++ b/libraries/rush-lib/src/schemas/build-cache.schema.json @@ -148,7 +148,7 @@ "properties": { "cacheProvider": { "type": "string", - "pattern": "^(?:(?!azure-blob-storage|amazon-s3|http).)*$" + "pattern": "^(?:(?!local-only|azure-blob-storage|amazon-s3|http).)*$" } } }, From dbf389215424bcc9656afa120dcaf1016c2b4cf3 Mon Sep 17 00:00:00 2001 From: Tomasz Jaworski Date: Fri, 8 Nov 2024 00:36:31 +0100 Subject: [PATCH 2/3] chore: rush change --- ...al-only-in-build-cache-schema_2024-11-07-23-36.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@microsoft/rush/include-local-only-in-build-cache-schema_2024-11-07-23-36.json diff --git a/common/changes/@microsoft/rush/include-local-only-in-build-cache-schema_2024-11-07-23-36.json b/common/changes/@microsoft/rush/include-local-only-in-build-cache-schema_2024-11-07-23-36.json new file mode 100644 index 00000000000..f37ffe328f3 --- /dev/null +++ b/common/changes/@microsoft/rush/include-local-only-in-build-cache-schema_2024-11-07-23-36.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "Fix lack of \"local-only\" option for cacheProvider in build-cache.schema.json", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} \ No newline at end of file From aee3f94cfba3e5ff60fa96026ed8723bb84072b0 Mon Sep 17 00:00:00 2001 From: Tomasz Jaworski Date: Fri, 8 Nov 2024 01:07:32 +0100 Subject: [PATCH 3/3] fix: include missing "local-only" cacheProvider in build-cache.schema.json --- libraries/rush-lib/src/schemas/build-cache.schema.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libraries/rush-lib/src/schemas/build-cache.schema.json b/libraries/rush-lib/src/schemas/build-cache.schema.json index df6a8e6562a..a26e40aeb2a 100644 --- a/libraries/rush-lib/src/schemas/build-cache.schema.json +++ b/libraries/rush-lib/src/schemas/build-cache.schema.json @@ -152,6 +152,16 @@ } } }, + { + "type": "object", + "additionalProperties": true, + "properties": { + "cacheProvider": { + "type": "string", + "enum": ["local-only"] + } + } + }, { "type": "object", "additionalProperties": true,