This repository was archived by the owner on Mar 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717install :
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
2122script :
@@ -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
Original file line number Diff line number Diff line change 3030
3131install :
3232- pip install -r requirements.txt
33+ - pip install --no-deps -r req_nodeps.txt
3334- pip install flake8
3435
3536build : 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 : >-
Original file line number Diff line number Diff line change 5959logger = logging .getLogger (__name__ )
6060util .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-'
Original file line number Diff line number Diff 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
255255else
Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ azure-mgmt-batch==5.0.0
66azure-mgmt-compute == 3.1.0rc3
77azure-mgmt-network == 1.7.1
88azure-mgmt-resource == 1.2.2
9+ azure-storage-common == 1.0.0
910azure-storage-blob == 1.0.0
1011azure-storage-file == 1.0.0
11- blobxfer == 1.1.0
12+ blobxfer == 1.1.1
1213click == 6.7
1314future == 0.16.0
1415msrest == 0.4.25
You can’t perform that action at this time.
0 commit comments