This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
forked from postrational/backend-scoreboard
-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
65 lines (51 loc) · 1.81 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
schedules:
- cron: "0 0 * * *"
displayName: Midnight update
branches:
include:
- master
# Disable CI trigger (don't run on commits)
trigger: none
# and don't run on Pull Requests
pr: none
pool:
vmImage: 'ubuntu-latest'
jobs:
- job: openvino_cpu_dev
timeoutInMinutes: 0
steps:
- checkout: self
persistCredentials: true
clean: true
- task: InstallSSHKey@0
inputs:
knownHostsEntry: ~/.ssh/known_hosts
sshPublicKey: $(public_deploy_key)
sshKeySecureFile: deploy_key
- script: docker build -t scoreboard/openvino_cpu_dev -f runtimes/openvino/cpu_dev/Dockerfile .
displayName: 'Build docker image'
- script: . setup/git-setup.sh
displayName: 'Git setup'
- script: docker run --name openvino_cpu_dev --env-file setup/env.list -v `pwd`/results/openvino/cpu_dev:/root/results scoreboard/openvino_cpu_dev || true
displayName: 'Run docker container'
- script: . setup/git-deploy-results.sh
displayName: 'Deploy results'
- job: openvino_template_dev
timeoutInMinutes: 0
steps:
- checkout: self
persistCredentials: true
clean: true
- task: InstallSSHKey@0
inputs:
knownHostsEntry: ~/.ssh/known_hosts
sshPublicKey: $(public_deploy_key)
sshKeySecureFile: deploy_key
- script: docker build -t scoreboard/openvino_template_dev -f runtimes/openvino/template_dev/Dockerfile .
displayName: 'Build docker image'
- script: . setup/git-setup.sh
displayName: 'Git setup'
- script: docker run --name openvino_template_dev --env-file setup/env.list -v `pwd`/results/openvino/template_dev:/root/results scoreboard/openvino_template_dev || true
displayName: 'Run docker container'
- script: . setup/git-deploy-results.sh
displayName: 'Deploy results'