Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit f68e19e

Browse files
committed
Update build
- Update to blobxfer 1.1.1
1 parent b59d420 commit f68e19e

5 files changed

Lines changed: 14 additions & 9 deletions

File tree

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616

1717
install:
1818
- travis_retry pip install -r requirements.txt
19+
- travis_retry pip install --no-deps -r req_nodeps.txt
1920
- travis_retry pip install flake8
2021

2122
script:
@@ -43,15 +44,16 @@ after_success:
4344
fi
4445
echo "BATCH_SHIPYARD_CLI_ARTIFACT=$BATCH_SHIPYARD_CLI_ARTIFACT UPLOAD_PATH=$UPLOAD_PATH"
4546
if [[ ! -e "bin/$BATCH_SHIPYARD_CLI_ARTIFACT" ]]; then
46-
travis_retry pip install --upgrade --pre blobxfer
4747
virtualenv -p python3 pyi
4848
$SHELL -c "set -e; source pyi/bin/activate; \
4949
pip install pyinstaller; \
50-
pip install --no-cache-dir -r requirements.txt; \
50+
pip install --upgrade -r requirements.txt; \
51+
pip install --upgrade --no-deps -r req_nodeps.txt; \
5152
pyinstaller -F -n $BATCH_SHIPYARD_CLI_ARTIFACT -p batch-shipyard --add-data schemas:schemas --add-data scripts:scripts --exclude-module future.tests --exclude-module future.backports.test --exclude-module future.moves.test --distpath bin shipyard.py; \
5253
deactivate"
5354
chmod +x bin/$BATCH_SHIPYARD_CLI_ARTIFACT
5455
gzip bin/$BATCH_SHIPYARD_CLI_ARTIFACT
56+
travis_retry pip install --upgrade blobxfer
5557
blobxfer upload --remote-path $UPLOAD_PATH --local-path bin/${BATCH_SHIPYARD_CLI_ARTIFACT}.gz --strip-components 1 --file-md5 --overwrite
5658
fi
5759

appveyor.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ init:
3030

3131
install:
3232
- pip install -r requirements.txt
33+
- pip install --no-deps -r req_nodeps.txt
3334
- pip install flake8
3435

3536
build: off
@@ -75,14 +76,15 @@ after_test:
7576
echo "Batch Shipyard CLI artifact not defined"
7677
) ELSE (
7778
echo "Batch Shipyard CLI is %BATCH_SHIPYARD_CLI_ARITFACT% upload path %UPLOAD_PATH%" &&
78-
pip install --upgrade blobxfer &&
7979
virtualenv -p "%PYTHON%\\python.exe" pyi &&
8080
pyi\\Scripts\\activate.bat &&
81-
pip install --upgrade pyinstaller &&
82-
pip install -r requirements.txt &&
81+
pip install pyinstaller &&
82+
pip install --upgrade -r requirements.txt &&
83+
pip install --upgrade --no-deps -r req_nodeps.txt &&
8384
pyinstaller -F -n "%BATCH_SHIPYARD_CLI_ARITFACT%" -p batch-shipyard --add-data schemas;schemas --add-data scripts;scripts --exclude-module future.tests --exclude-module future.backports.test --exclude-module future.moves.test --distpath bin shipyard.py &&
8485
pyi\\Scripts\\deactivate.bat &&
8586
appveyor PushArtifact "bin\\%BATCH_SHIPYARD_CLI_ARITFACT%" &&
87+
pip install --upgrade blobxfer &&
8688
blobxfer upload --remote-path %UPLOAD_PATH% --local-path bin\\%BATCH_SHIPYARD_CLI_ARITFACT% --strip-components 1 --file-md5 --overwrite
8789
)
8890
- ps: >-

convoy/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
logger = logging.getLogger(__name__)
6060
util.setup_logger(logger)
6161
# global defines
62-
_BLOBXFER_VERSION = '1.1.0'
62+
_BLOBXFER_VERSION = '1.1.1'
6363
_MEGABYTE = 1048576
6464
_MAX_READ_BLOCKSIZE_BYTES = 4194304
6565
_FILE_SPLIT_PREFIX = '_shipyard-'

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ if [ ! -z $VENV_NAME ]; then
233233
$PIP uninstall -y azure-storage
234234
set -e
235235
$PIP install --upgrade -r requirements.txt
236-
$PIP install --no-deps -r req_nodeps.txt
236+
$PIP install --upgrade --no-deps -r req_nodeps.txt
237237
deactivate
238238
else
239239
# create conda env
@@ -249,7 +249,7 @@ if [ ! -z $VENV_NAME ]; then
249249
$PIP uninstall -y azure-storage
250250
set -e
251251
$PIP install --upgrade -r requirements.txt
252-
$PIP install --no-deps -r req_nodeps.txt
252+
$PIP install --upgrade --no-deps -r req_nodeps.txt
253253
source deactivate $VENV_NAME
254254
fi
255255
else

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ azure-mgmt-batch==5.0.0
66
azure-mgmt-compute==3.1.0rc3
77
azure-mgmt-network==1.7.1
88
azure-mgmt-resource==1.2.2
9+
azure-storage-common==1.0.0
910
azure-storage-blob==1.0.0
1011
azure-storage-file==1.0.0
11-
blobxfer==1.1.0
12+
blobxfer==1.1.1
1213
click==6.7
1314
future==0.16.0
1415
msrest==0.4.25

0 commit comments

Comments
 (0)