2019-10-21 23:55:18 +03:00
|
|
|
trigger:
|
2019-11-14 11:00:47 +03:00
|
|
|
- master
|
2019-10-21 23:55:18 +03:00
|
|
|
|
2019-11-14 11:00:47 +03:00
|
|
|
jobs:
|
|
|
|
- job: Sawyer
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
pool:
|
|
|
|
name: 'nvidia-docker-pool'
|
2019-10-21 23:55:18 +03:00
|
|
|
|
2019-11-14 11:00:47 +03:00
|
|
|
steps:
|
|
|
|
- task: Bash@3
|
|
|
|
inputs:
|
|
|
|
workingDirectory: 'docker/ubuntu-xenial-kinetic'
|
|
|
|
targetType: 'inline'
|
|
|
|
script: './build.sh'
|
|
|
|
- task: Bash@3
|
|
|
|
timeoutInMinutes: 10
|
|
|
|
inputs:
|
|
|
|
workingDirectory: 'docker/ubuntu-xenial-kinetic'
|
|
|
|
targetType: 'inline'
|
|
|
|
script: './run_docker_container.sh'
|
|
|
|
env:
|
|
|
|
DISPLAY: :0.0
|
2019-11-14 12:14:53 +03:00
|
|
|
- task: Bash@3
|
|
|
|
inputs:
|
2019-11-14 13:34:07 +03:00
|
|
|
targetType: 'inline'
|
2019-11-14 12:14:53 +03:00
|
|
|
script: docker rmi ubuntu1604_sawyer
|