mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
ffmpeg must be installed to each pool
This commit is contained in:
parent
7e4352f618
commit
213f963061
1 changed files with 3 additions and 46 deletions
|
@ -8,53 +8,7 @@ trigger:
|
|||
|
||||
jobs:
|
||||
|
||||
- job: 'Configure'
|
||||
pool:
|
||||
vmImage: 'Ubuntu-16.04'
|
||||
|
||||
steps:
|
||||
#Install ffmpeg (and any common tools) outside of Python version tasks
|
||||
- script: sudo apt-get install ffmpeg
|
||||
displayName: 'Install ffmpeg'
|
||||
|
||||
#- script: |
|
||||
# Make sure all packages are pulled from latest
|
||||
#sudo apt-get update
|
||||
|
||||
# Fail out if any setups fail
|
||||
#set -e
|
||||
|
||||
# Delete old Pythons
|
||||
#rm -rf $AGENT_TOOLSDIRECTORY/Python/2.7.16
|
||||
#rm -rf $AGENT_TOOLSDIRECTORY/Python/3.5.7
|
||||
#rm -rf $AGENT_TOOLSDIRECTORY/Python/3.7.3
|
||||
|
||||
# Download new Pythons
|
||||
#azcopy --recursive \
|
||||
#--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/2.7.15 \
|
||||
#--destination $AGENT_TOOLSDIRECTORY/Python/2.7.15
|
||||
|
||||
#azcopy --recursive \
|
||||
#--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/3.5.5 \
|
||||
#--destination $AGENT_TOOLSDIRECTORY/Python/3.5.5
|
||||
|
||||
#azcopy --recursive \
|
||||
#--source https://vstsagenttools.blob.core.windows.net/tools/hostedtoolcache/linux/Python/3.7.2 \
|
||||
#--destination $AGENT_TOOLSDIRECTORY/Python/3.7.2
|
||||
|
||||
# Install new Pythons
|
||||
#original_directory=$PWD
|
||||
#setups=$(find $AGENT_TOOLSDIRECTORY/Python -name setup.sh)
|
||||
#for setup in $setups; do
|
||||
#chmod +x $setup;
|
||||
#cd $(dirname $setup);
|
||||
#./$(basename $setup);
|
||||
#cd $original_directory;
|
||||
#done;
|
||||
#displayName: 'Workaround: update apt and install Python versions'
|
||||
|
||||
- job: 'Test'
|
||||
dependsOn: 'Configure'
|
||||
pool:
|
||||
vmImage: 'Ubuntu-16.04'
|
||||
strategy:
|
||||
|
@ -72,6 +26,9 @@ jobs:
|
|||
maxParallel: 5
|
||||
|
||||
steps:
|
||||
- script: sudo apt-get install ffmpeg
|
||||
displayName: 'Install ffmpeg'
|
||||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '$(python.version)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue