forked from opendatahub-io/ai-edge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaiedge-e2e.tensorflow-housing.pipelinerun.yaml
63 lines (63 loc) · 2.04 KB
/
aiedge-e2e.tensorflow-housing.pipelinerun.yaml
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
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
labels:
tekton.dev/pipeline: aiedge-e2e
model-name: tensorflow-housing
generateName: aiedge-e2e-tensorflow-housing-
spec:
params:
- name: model-name
value: tensorflow-housing
- name: model-version
value: "1"
- name: s3-bucket-name
value: rhoai-edge-models
- name: git-containerfile-repo
value: https://github.com/opendatahub-io/ai-edge.git
- name: git-containerfile-revision
value: "main"
- name: containerfileRelativePath
value: pipelines/containerfiles/Containerfile.openvino.mlserver.mlflow
- name: fetch-model
value: "git"
- name: git-model-repo
value: https://github.com/opendatahub-io/ai-edge.git
- name: modelRelativePath
value: pipelines/models
- name: model-dir
value: "tf2model"
- name: git-model-revision
value: "main"
- name: test-endpoint
value: "v1/models/tensorflow-housing/versions/1:predict"
- name: candidate-image-tag-reference
value: image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/$(params.model-name):$(params.model-version)-candidate
- name: target-image-tag-references
value:
- quay.io/rhoai-edge/$(params.model-name):$(params.model-version)-$(context.pipelineRun.uid)
- quay.io/rhoai-edge/$(params.model-name):$(params.model-version)
- quay.io/rhoai-edge/$(params.model-name):latest
- name: upon-end
value: "delete"
pipelineRef:
name: aiedge-e2e
serviceAccountName: pipeline
timeout: 1h0m0s
workspaces:
- name: build-workspace-pv
# Have the tekton controller allocate a PVC for each pipeline run that persists for the life of each PipelineRun object.
# NOTE: This PVC will be deleted by the Tekton controller when the PipelineRun is deleted
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
- name: s3-secret
secret:
secretName: credentials-s3
- configMap:
name: tensorflow-housing-test-data
name: test-data