mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
test: try using azurite 3.3.0-preview
Azurite was updated [2] to support new SAS tokens, so we no longer need to downgrade azure-storage-blob for our tests. [1] https://github.com/iterative/dvc/issues/2387 [2] https://github.com/Azure/Azurite/issues/250
This commit is contained in:
@@ -10,12 +10,6 @@ scriptdir="$(dirname $0)"
|
||||
# work or not.
|
||||
$scriptdir/retry.sh pip install --upgrade pip setuptools wheel
|
||||
$scriptdir/retry.sh pip install .[all,tests]
|
||||
# Installing specific packages to workaround some bugs. Please see [1] and [2]
|
||||
#
|
||||
# [1] https://github.com/iterative/dvc/issues/2284
|
||||
# [2] https://github.com/iterative/dvc/issues/2387
|
||||
$scriptdir/retry.sh pip uninstall -y azure-storage-blob
|
||||
$scriptdir/retry.sh pip install psutil azure-storage-blob==1.5.0
|
||||
|
||||
git config --global user.email "[email protected]"
|
||||
git config --global user.name "DVC Tester"
|
||||
|
||||
@@ -13,7 +13,7 @@ set -x
|
||||
# run azurite
|
||||
sudo docker run -d --restart always -e executable=blob -p 10000:10000 \
|
||||
--tmpfs /opt/azurite/folder \
|
||||
mcr.microsoft.com/azure-storage/azurite:3.1.2-preview \
|
||||
mcr.microsoft.com/azure-storage/azurite:3.3.0-preview \
|
||||
azurite -l /data --blobHost 0.0.0.0
|
||||
|
||||
# save secrets
|
||||
|
||||
Reference in New Issue
Block a user