forked from liupeirong/MLOpsManufacturing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
01-pull-request.yml
40 lines (33 loc) · 857 Bytes
/
01-pull-request.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
# Pipeline to run basic code quality tests as part of pull requests to the main branch.
parameters:
- name: workingDirectory
displayName: Working Directory for sample
type: string
default: samples/image-classification-tensorflow
resources:
containers:
- container: mlops
image: mlopsmanufacturing/build-agent/tensorflow:latest
endpoint: mlopsmanufacturingacr
trigger: none
pr:
branches:
include:
- main
paths:
include:
- samples/image-classification-tensorflow
exclude:
- samples/image-classification-tensorflow/.env.example
- README.md
- LICENSE
pool:
vmImage: 'ubuntu-latest'
container: mlops
variables:
- template: variables-template.yml
- group: devopsforai-aml-vg
steps:
- template: code-quality-template.yml
parameters:
workingDirectory: ${{ parameters.workingDirectory }}