forked from sophwats/tkn-tsk-tst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.yaml
30 lines (30 loc) · 774 Bytes
/
run.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
apiVersion: tekton.dev/v1alpha1
kind: TaskRun
metadata:
name: s2i-nb-taskrun
spec:
# Use service account with git and image repo credentials
serviceAccountName: pipeline
taskRef:
name: simple-model-s2i
inputs:
params:
- name: BUILDER_IMAGE
value: quay.io/willbenton/simple-model-s2i:cached-pipeline-s2i
resources:
- name: source
resourceSpec:
type: git
params:
- name: url
value: https://github.com/willb/ml-workflows-notebook
- name: revision
value: develop
outputs:
resources:
- name: image
resourceSpec:
type: image
params:
- name: url
value: image-registry.openshift-image-registry.svc:5000/opendatahub-user1/simple-model-s2i