Skip to content

Commit c27da6a

Browse files
authored
add PR pipeline (#106)
* add PR pipeline * add correct default value for additional build secret * update pull request pipeline to use remote pipeline ref * add 4h timeout * call out the remote build platform * rename pipeline, disable making an image index for PR pipeline
1 parent 29c707e commit c27da6a

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/vllm?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
pipelinesascode.tekton.dev/on-comment: "^/build-from-odh"
11+
pipelinesascode.tekton.dev/cancel-in-progress: "true"
12+
pipelinesascode.tekton.dev/on-cel-expression: |
13+
false
14+
creationTimestamp: null
15+
labels:
16+
appstudio.openshift.io/application: external-rhoai-v2-20
17+
appstudio.openshift.io/component: vllm-cuda-v2-20
18+
pipelines.appstudio.openshift.io/type: build
19+
name: vllm-cuda-on-pull-request
20+
namespace: rhoai-tenant
21+
spec:
22+
timeouts:
23+
pipeline: 4h
24+
params:
25+
- name: image-expires-after
26+
value: 5d
27+
- name: git-url
28+
value: '{{source_url}}'
29+
- name: revision
30+
value: '{{revision}}'
31+
- name: output-image
32+
value: quay.io/modh/vllm:on-pr-cuda-{{revision}}
33+
- name: dockerfile
34+
value: Dockerfile.ubi
35+
- name: path-context
36+
value: .
37+
- name: hermetic
38+
value: false
39+
- name: build-source-image
40+
value: false
41+
- name: build-image-index
42+
value: false
43+
- name: build-args
44+
value: [max_jobs=48]
45+
- name: fetch-git-tags
46+
value: true
47+
- name: clone-depth
48+
value: "2147483647"
49+
- name: build-platforms
50+
value:
51+
- linux-extra-fast/amd64
52+
taskRunSpecs:
53+
- pipelineTaskName: ecosystem-cert-preflight-checks
54+
computeResources:
55+
requests:
56+
cpu: '8'
57+
memory: 16Gi
58+
limits:
59+
cpu: '16'
60+
memory: 32Gi
61+
- pipelineTaskName: clair-scan
62+
computeResources:
63+
requests:
64+
cpu: '8'
65+
memory: 16Gi
66+
limits:
67+
cpu: '16'
68+
memory: 32Gi
69+
pipelineRef:
70+
resolver: git
71+
params:
72+
- name: url
73+
value: https://github.com/red-hat-data-services/rhoai-konflux-tasks.git
74+
- name: revision
75+
value: vllm
76+
- name: pathInRepo
77+
value: pipelines/container-build-remote.yaml
78+
taskRunTemplate: {}
79+
workspaces:
80+
- name: git-auth
81+
secret:
82+
secretName: '{{ git_auth_secret }}'
83+
status: {}
84+

0 commit comments

Comments
 (0)