forked from jamesyonan/brenda
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up CI with Azure Pipelines (jamesyonan#5)
* Set up CI with Azure Pipelines [skip ci] * Update pipeline to install brenda. Update README
- Loading branch information
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Python package | ||
# Create and test a Python package on multiple Python versions. | ||
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: | ||
# https://docs.microsoft.com/azure/devops/pipelines/languages/python | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- "*" | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
strategy: | ||
matrix: | ||
Python27: | ||
python.version: '2.7' | ||
Python35: | ||
python.version: '3.5' | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
displayName: 'Use Python $(python.version)' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install . | ||
displayName: 'Install dependencies' | ||
|
||
- script: | | ||
pip install pytest pytest-azurepipelines | ||
echo "Running pytest" | ||
displayName: 'pytest' |
038a863
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolute life saver! new to the command line life. been struggling with the 2014 docs. WHat a find this is! thank you so much man
038a863
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, i dont know if you still check here from time to time, but wanted to ask
on the brenda.conf file
S3_REGION=us-east-1
BLENDER_PROJECT=s3://mksmithbrenda/cube_rotate.tar.gz
WORK_QUEUE=sqs://mksmithtestworkqueue
RENDER_OUTPUT=s3://troubleinparadise
WORK_DIR=$HOME/blender_projects/brenda/test/work
RUNNING_ON_EC2=0
#DONE=shutdown
DONE=poll
Which directory is this referring to?
"WORK_DIR=$HOME/blender_projects/brenda/test/work"
Home/my project (blend file) name / brenda / test or work on my client side computer? or on the Ec2 instance AMI running blender? Also do i also have to upload project files to the ami, or i can just use this:
INSTANCE_TYPE=m3.xlarge
BLENDER_PROJECT=s3://eastmainprojct/deswalk.tar.gz
WORK_QUEUE=sqs://FRAME_BUCKET
RENDER_OUTPUT=s3://projectdloadmain
DONE=shutdown
because i tried the first one and no luck :( but i assume its the current one and it possible its because i cant quite figure out what the WORK_DIR refers to.
Any help will be appreciated.
Thanks