Skip to content

Commit 2fe4de2

Browse files
Fix Azure Azurite API version compatibility error
Add --skipApiVersionCheck flag to the Azure storage container creation command to prevent API version mismatch errors with Azurite in CI. Resolves the 'API version 2026-02-06 is not supported by Azurite' error present in nightly release
1 parent 014fa72 commit 2fe4de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ echo ::endgroup::
152152

153153
if [[ "$TEST" = "azure" ]]; then
154154
AZURE_STORAGE_CONNECTION_STRING='DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://ci-azurite:10000/devstoreaccount1;'
155-
az storage container create --name pulp-test --connection-string $AZURE_STORAGE_CONNECTION_STRING
155+
az storage container create --name pulp-test --connection-string $AZURE_STORAGE_CONNECTION_STRING --skipApiVersionCheck
156156
fi
157157

158158
echo ::group::PIP_LIST

0 commit comments

Comments
 (0)