mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
Update azure-pipelines.yml
Remove temp workaround for Microsoft Azure python issues.
This commit is contained in:
parent
660fb1df53
commit
74d9af0214
1 changed files with 25 additions and 25 deletions
|
@ -24,41 +24,41 @@ jobs:
|
||||||
maxParallel: 4
|
maxParallel: 4
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
#- script: |
|
||||||
# Make sure all packages are pulled from latest
|
# Make sure all packages are pulled from latest
|
||||||
sudo apt-get update
|
#sudo apt-get update
|
||||||
|
|
||||||
# Fail out if any setups fail
|
# Fail out if any setups fail
|
||||||
set -e
|
#set -e
|
||||||
|
|
||||||
# Delete old Pythons
|
# Delete old Pythons
|
||||||
rm -rf $AGENT_TOOLSDIRECTORY/Python/2.7.16
|
#rm -rf $AGENT_TOOLSDIRECTORY/Python/2.7.16
|
||||||
rm -rf $AGENT_TOOLSDIRECTORY/Python/3.5.7
|
#rm -rf $AGENT_TOOLSDIRECTORY/Python/3.5.7
|
||||||
rm -rf $AGENT_TOOLSDIRECTORY/Python/3.7.3
|
#rm -rf $AGENT_TOOLSDIRECTORY/Python/3.7.3
|
||||||
|
|
||||||
# Download new Pythons
|
# Download new Pythons
|
||||||
azcopy --recursive \
|
#azcopy --recursive \
|
||||||
--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/2.7.15 \
|
#--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/2.7.15 \
|
||||||
--destination $AGENT_TOOLSDIRECTORY/Python/2.7.15
|
#--destination $AGENT_TOOLSDIRECTORY/Python/2.7.15
|
||||||
|
|
||||||
azcopy --recursive \
|
#azcopy --recursive \
|
||||||
--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/3.5.5 \
|
#--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/3.5.5 \
|
||||||
--destination $AGENT_TOOLSDIRECTORY/Python/3.5.5
|
#--destination $AGENT_TOOLSDIRECTORY/Python/3.5.5
|
||||||
|
|
||||||
azcopy --recursive \
|
#azcopy --recursive \
|
||||||
--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/3.7.2 \
|
#--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/3.7.2 \
|
||||||
--destination $AGENT_TOOLSDIRECTORY/Python/3.7.2
|
#--destination $AGENT_TOOLSDIRECTORY/Python/3.7.2
|
||||||
|
|
||||||
# Install new Pythons
|
# Install new Pythons
|
||||||
original_directory=$PWD
|
#original_directory=$PWD
|
||||||
setups=$(find $AGENT_TOOLSDIRECTORY/Python -name setup.sh)
|
#setups=$(find $AGENT_TOOLSDIRECTORY/Python -name setup.sh)
|
||||||
for setup in $setups; do
|
#for setup in $setups; do
|
||||||
chmod +x $setup;
|
#chmod +x $setup;
|
||||||
cd $(dirname $setup);
|
#cd $(dirname $setup);
|
||||||
./$(basename $setup);
|
#./$(basename $setup);
|
||||||
cd $original_directory;
|
#cd $original_directory;
|
||||||
done;
|
#done;
|
||||||
displayName: 'Workaround: update apt and roll back Python versions'
|
#displayName: 'Workaround: update apt and roll back Python versions'
|
||||||
|
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue